Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00142/0.00142, allocations: 186.2 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.94/1.94, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001066/0.001066, allocations: 91.41 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5114/0.5114, allocations: 43.55 MB / 362.7 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004767/0.0004768, allocations: 15.98 kB / 431.4 MB, free: 5.949 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.13, allocations: 58.85 MB / 490.2 MB, free: 11.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4825/0.6125, allocations: 87.72 MB / 0.5644 GB, free: 14.85 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000352/0.6129, allocations: 71.97 kB / 0.5645 GB, free: 14.78 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03204/0.645, allocations: 5.706 MB / 0.57 GB, free: 9.125 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.6451, allocations: 0.6562 kB / 0.57 GB, free: 9.125 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.397e-05/0.6451, allocations: 4 kB / 0.57 GB, free: 9.121 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008816/0.646, allocations: 446.2 kB / 0.5705 GB, free: 8.641 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.7e-05/0.6461, allocations: 16.02 kB / 0.5705 GB, free: 8.625 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.034e-05/0.6462, allocations: 15.25 kB / 0.5705 GB, free: 8.613 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005334/0.6467, allocations: 225 kB / 0.5707 GB, free: 8.355 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.6468, allocations: 3.984 kB / 0.5707 GB, free: 8.352 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.101e-05/0.6468, allocations: 4 kB / 0.5707 GB, free: 8.348 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002378/0.6471, allocations: 53.67 kB / 0.5708 GB, free: 8.289 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.6471, allocations: 7.984 kB / 0.5708 GB, free: 8.281 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.6471, allocations: 0 / 0.5708 GB, free: 8.281 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.6471, allocations: 1.031 kB / 0.5708 GB, free: 8.281 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001518/0.6473, allocations: 24.55 kB / 0.5708 GB, free: 8.258 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006811/0.648, allocations: 312.8 kB / 0.5711 GB, free: 7.902 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003094/0.6483, allocations: 58.67 kB / 0.5712 GB, free: 7.836 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.6484, allocations: 7.938 kB / 0.5712 GB, free: 7.828 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002475/0.6486, allocations: 71.45 kB / 0.5712 GB, free: 7.746 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 3.046e-06/0.6487, allocations: 0 / 0.5712 GB, free: 7.746 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009858/0.6497, allocations: 193 kB / 0.5714 GB, free: 7.551 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.6497, allocations: 55.36 kB / 0.5715 GB, free: 7.484 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005325/0.6503, allocations: 237.7 kB / 0.5717 GB, free: 7.242 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.912e-05/0.6503, allocations: 33.7 kB / 0.5717 GB, free: 7.203 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.6505, allocations: 166.6 kB / 0.5719 GB, free: 7.039 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.351e-05/0.6505, allocations: 23.64 kB / 0.5719 GB, free: 7.016 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.185e-05/0.6506, allocations: 4 kB / 0.5719 GB, free: 7.012 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.6507, allocations: 314.8 kB / 0.5722 GB, free: 6.695 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.6509, allocations: 23.98 kB / 0.5722 GB, free: 6.672 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/0.651, allocations: 33.7 kB / 0.5723 GB, free: 6.633 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.6512, allocations: 24 kB / 0.5723 GB, free: 6.609 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.6512, allocations: 0.75 kB / 0.5723 GB, free: 6.609 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004118/0.6516, allocations: 101.6 kB / 0.5724 GB, free: 6.504 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.6517, allocations: 6.969 kB / 0.5724 GB, free: 6.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.6517, allocations: 0 / 0.5724 GB, free: 6.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.6517, allocations: 4 kB / 0.5724 GB, free: 6.496 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001893/0.6519, allocations: 15.98 kB / 0.5724 GB, free: 6.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.6519, allocations: 3.938 kB / 0.5724 GB, free: 6.477 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001608/0.6521, allocations: 7.953 kB / 0.5724 GB, free: 6.469 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/0.6522, allocations: 12.22 kB / 0.5724 GB, free: 6.457 MB / 394.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 (10): * Single equations (assignments): 10 * 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 0.0002228/0.6524, allocations: 133.8 kB / 0.5726 GB, free: 6.316 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.236e-05/0.6525, allocations: 15.75 kB / 0.5726 GB, free: 6.301 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004532/0.6529, allocations: 127 kB / 0.5727 GB, free: 6.176 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.653, allocations: 0 / 0.5727 GB, free: 6.176 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.653, allocations: 0 / 0.5727 GB, free: 6.176 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.653, allocations: 0 / 0.5727 GB, free: 6.176 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008306/0.6538, allocations: 447.1 kB / 0.5731 GB, free: 5.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.6539, allocations: 0 / 0.5731 GB, free: 5.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.158e-05/0.654, allocations: 8 kB / 0.5731 GB, free: 5.672 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.842e-06/0.654, allocations: 0 / 0.5731 GB, free: 5.672 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.654, allocations: 4 kB / 0.5731 GB, free: 5.668 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/0.654, allocations: 3.953 kB / 0.5731 GB, free: 5.664 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.654, allocations: 0 / 0.5731 GB, free: 5.664 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004014/0.6544, allocations: 237.8 kB / 0.5734 GB, free: 5.406 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.6546, allocations: 100.9 kB / 0.5735 GB, free: 5.289 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.541e-05/0.6546, allocations: 7.953 kB / 0.5735 GB, free: 5.281 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.6547, allocations: 0 / 0.5735 GB, free: 5.281 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.057e-05/0.6548, allocations: 8.359 kB / 0.5735 GB, free: 5.273 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/0.6548, allocations: 8 kB / 0.5735 GB, free: 5.266 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003215/0.6552, allocations: 204.1 kB / 0.5737 GB, free: 5.066 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6552, allocations: 0 / 0.5737 GB, free: 5.066 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004337/0.6556, allocations: 39.94 kB / 0.5737 GB, free: 5.027 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.001465/0.6571, allocations: 481.8 kB / 0.5742 GB, free: 4.652 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004088/0.6576, allocations: 63.84 kB / 0.5742 GB, free: 4.59 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.6576, allocations: 0 / 0.5742 GB, free: 4.59 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.6577, allocations: 31.98 kB / 0.5743 GB, free: 4.559 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004374/0.6582, allocations: 25.41 kB / 0.5743 GB, free: 4.535 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009324/0.6591, allocations: 350.9 kB / 0.5746 GB, free: 4.16 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000364/0.6596, allocations: 0.7199 MB / 0.5753 GB, free: 3.414 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.6597, allocations: 27.42 kB / 0.5754 GB, free: 3.391 MB / 394.7 MB Notification: Performance of SimCode: time 1.563e-06/0.6597, allocations: 0 / 0.5754 GB, free: 3.391 MB / 394.7 MB Notification: Performance of Templates: time 0.006046/0.6658, allocations: 2.146 MB / 0.5775 GB, free: 1.254 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches