Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 180.1 kB / 18.09 MB, free: 3.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 223.3 MB / 242.1 MB, free: 11.67 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008115/0.0008116, allocations: 93.67 kB / 293.3 MB, free: 10.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3375/0.3375, allocations: 44.14 MB / 388.5 MB, free: 38.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003399/0.0003399, allocations: 12 kB / 461.1 MB, free: 1.324 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3013, allocations: 61.88 MB / 0.5107 GB, free: 38.19 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1055/0.4067, allocations: 89.14 MB / 0.5978 GB, free: 5.945 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003201/0.4071, allocations: 79.94 kB / 0.5979 GB, free: 5.871 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01564/0.4228, allocations: 5.745 MB / 0.6035 GB, free: 124 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.063e-06/0.4228, allocations: 0 / 0.6035 GB, free: 124 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.438e-05/0.4229, allocations: 4 kB / 0.6035 GB, free: 120 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005542/0.4234, allocations: 434.8 kB / 0.6039 GB, free: 15.64 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.4235, allocations: 8.031 kB / 0.6039 GB, free: 15.63 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.442e-05/0.4235, allocations: 12.75 kB / 0.6039 GB, free: 15.62 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000351/0.4239, allocations: 228 kB / 0.6041 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.4239, allocations: 4.375 kB / 0.6041 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.424, allocations: 4.375 kB / 0.6041 GB, free: 15.35 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.4241, allocations: 46.23 kB / 0.6042 GB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.4241, allocations: 192 / 0.6042 GB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.4241, allocations: 11.92 kB / 0.6042 GB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.4242, allocations: 3.938 kB / 0.6042 GB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.686e-05/0.4242, allocations: 16 kB / 0.6042 GB, free: 15.27 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002263/0.4245, allocations: 185.7 kB / 0.6044 GB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.4246, allocations: 66.55 kB / 0.6045 GB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.477e-05/0.4247, allocations: 20.84 kB / 0.6045 GB, free: 14.94 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.4247, allocations: 0 / 0.6045 GB, free: 14.94 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001609/0.4249, allocations: 67.33 kB / 0.6045 GB, free: 14.86 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.733e-06/0.4249, allocations: 3.938 kB / 0.6045 GB, free: 14.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002822/0.4252, allocations: 109.4 kB / 0.6046 GB, free: 14.75 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.4252, allocations: 51.41 kB / 0.6047 GB, free: 14.68 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002795/0.4255, allocations: 256.7 kB / 0.6049 GB, free: 14.42 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.4256, allocations: 29.7 kB / 0.605 GB, free: 14.39 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.403e-05/0.4256, allocations: 112.1 kB / 0.6051 GB, free: 14.27 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.599e-05/0.4257, allocations: 11.81 kB / 0.6051 GB, free: 14.26 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-06/0.4257, allocations: 0 / 0.6051 GB, free: 14.26 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.4258, allocations: 330.8 kB / 0.6054 GB, free: 13.93 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.601e-05/0.4259, allocations: 16 kB / 0.6054 GB, free: 13.91 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.044e-05/0.4259, allocations: 29.64 kB / 0.6054 GB, free: 13.88 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.107e-05/0.426, allocations: 49.95 kB / 0.6055 GB, free: 13.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.426, allocations: 0 / 0.6055 GB, free: 13.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000151/0.4262, allocations: 89.44 kB / 0.6056 GB, free: 13.73 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.4262, allocations: 11.92 kB / 0.6056 GB, free: 13.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.4262, allocations: 8.031 kB / 0.6056 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.4263, allocations: 0 / 0.6056 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.918e-05/0.4263, allocations: 8 kB / 0.6056 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.4263, allocations: 0 / 0.6056 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.66e-05/0.4264, allocations: 4 kB / 0.6056 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.4264, allocations: 4 kB / 0.6056 GB, free: 13.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.094e-05/0.4265, allocations: 133.8 kB / 0.6057 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.707e-05/0.4265, allocations: 27.72 kB / 0.6058 GB, free: 13.53 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002011/0.4268, allocations: 102.6 kB / 0.6059 GB, free: 13.42 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.4268, allocations: 4 kB / 0.6059 GB, free: 13.42 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.4268, allocations: 0 / 0.6059 GB, free: 13.42 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.4268, allocations: 0 / 0.6059 GB, free: 13.42 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001573/0.4269, allocations: 205.6 kB / 0.6061 GB, free: 13.17 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.427, allocations: 4 kB / 0.6061 GB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.684e-05/0.427, allocations: 4 kB / 0.6061 GB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.427, allocations: 3.938 kB / 0.6061 GB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.998e-06/0.427, allocations: 0 / 0.6061 GB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.427, allocations: 3.938 kB / 0.6061 GB, free: 13.15 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.427, allocations: 4 kB / 0.6061 GB, free: 13.15 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00019/0.4272, allocations: 120.9 kB / 0.6062 GB, free: 13.01 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.213e-05/0.4273, allocations: 97 kB / 0.6063 GB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.734e-05/0.4273, allocations: 7.938 kB / 0.6063 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.939e-05/0.4274, allocations: 192 / 0.6063 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.676e-05/0.4274, allocations: 11.98 kB / 0.6063 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.4274, allocations: 0 / 0.6063 GB, free: 12.88 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001853/0.4276, allocations: 204.2 kB / 0.6065 GB, free: 12.68 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4276, allocations: 0 / 0.6065 GB, free: 12.68 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002205/0.4279, allocations: 35.84 kB / 0.6065 GB, free: 12.64 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008359/0.4287, allocations: 409.8 kB / 0.6069 GB, free: 12.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001399/0.4289, allocations: 47.91 kB / 0.607 GB, free: 12.35 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4289, allocations: 0 / 0.607 GB, free: 12.35 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.923e-05/0.4289, allocations: 20 kB / 0.607 GB, free: 12.33 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002561/0.4292, allocations: 35.2 kB / 0.607 GB, free: 12.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004605/0.4297, allocations: 293.7 kB / 0.6073 GB, free: 11.99 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.43, allocations: 0.7159 MB / 0.608 GB, free: 11.25 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.905e-05/0.43, allocations: 24.41 kB / 0.608 GB, free: 11.23 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.608e-05/0.4301, allocations: 19.44 kB / 0.608 GB, free: 11.21 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4301, allocations: 0 / 0.608 GB, free: 11.21 MB / 426.7 MB Notification: Performance of Templates: time 0.003928/0.434, allocations: 1.62 MB / 0.6096 GB, free: 9.598 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches