Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,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.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,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.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002327/0.002326, allocations: 186.2 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.117/2.117, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.00112/0.00112, allocations: 86.16 kB / 270.9 MB, free: 8.387 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.5014/0.5014, allocations: 43.55 MB / 362.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005126/0.0005125, allocations: 23.94 kB / 431.4 MB, free: 5.941 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1304, allocations: 58.85 MB / 490.2 MB, free: 11.01 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4918/0.6223, allocations: 87.7 MB / 0.5644 GB, free: 14.86 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002887/0.6226, allocations: 74.12 kB / 0.5645 GB, free: 14.79 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02589/0.6486, allocations: 5.597 MB / 0.5699 GB, free: 9.238 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.6486, allocations: 0 / 0.5699 GB, free: 9.238 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.221e-05/0.6486, allocations: 4 kB / 0.5699 GB, free: 9.234 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.0006825/0.6493, allocations: 438.4 kB / 0.5703 GB, free: 8.762 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.6494, allocations: 12.02 kB / 0.5704 GB, free: 8.75 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.608e-05/0.6495, allocations: 11.34 kB / 0.5704 GB, free: 8.742 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003777/0.6498, allocations: 214.8 kB / 0.5706 GB, free: 8.492 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.6499, allocations: 0 / 0.5706 GB, free: 8.492 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.003e-05/0.6499, allocations: 11.94 kB / 0.5706 GB, free: 8.48 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.6501, allocations: 57.66 kB / 0.5706 GB, free: 8.418 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.6501, allocations: 0 / 0.5706 GB, free: 8.418 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.6502, allocations: 0 / 0.5706 GB, free: 8.418 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.6502, allocations: 3.938 kB / 0.5706 GB, free: 8.418 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.6503, allocations: 23.92 kB / 0.5707 GB, free: 8.395 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005048/0.6508, allocations: 309.7 kB / 0.571 GB, free: 8.043 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002536/0.6511, allocations: 62.62 kB / 0.571 GB, free: 7.973 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.6511, allocations: 0 / 0.571 GB, free: 7.973 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002015/0.6513, allocations: 67.5 kB / 0.5711 GB, free: 7.895 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.823e-06/0.6514, allocations: 0 / 0.5711 GB, free: 7.895 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007887/0.6522, allocations: 181.1 kB / 0.5713 GB, free: 7.711 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.6522, allocations: 67.36 kB / 0.5713 GB, free: 7.633 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003364/0.6526, allocations: 197.8 kB / 0.5715 GB, free: 7.43 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.6526, allocations: 25.7 kB / 0.5715 GB, free: 7.398 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.504e-05/0.6527, allocations: 166.6 kB / 0.5717 GB, free: 7.234 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.157e-05/0.6527, allocations: 23.66 kB / 0.5717 GB, free: 7.211 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.011e-05/0.6528, allocations: 4 kB / 0.5717 GB, free: 7.207 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.6529, allocations: 314.8 kB / 0.572 GB, free: 6.891 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.672e-05/0.653, allocations: 20 kB / 0.572 GB, free: 6.871 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.6531, allocations: 45.64 kB / 0.5721 GB, free: 6.82 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/0.6532, allocations: 23.98 kB / 0.5721 GB, free: 6.797 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.6533, allocations: 0 / 0.5721 GB, free: 6.797 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002885/0.6536, allocations: 97.61 kB / 0.5722 GB, free: 6.695 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.6536, allocations: 7.984 kB / 0.5722 GB, free: 6.688 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.6536, allocations: 0.7812 kB / 0.5722 GB, free: 6.688 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.6536, allocations: 0 / 0.5722 GB, free: 6.688 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.6538, allocations: 20.03 kB / 0.5722 GB, free: 6.668 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.6538, allocations: 0 / 0.5722 GB, free: 6.668 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.908e-05/0.6539, allocations: 8.984 kB / 0.5722 GB, free: 6.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.62e-05/0.6539, allocations: 3.984 kB / 0.5722 GB, free: 6.656 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.0001336/0.6541, allocations: 126.9 kB / 0.5724 GB, free: 6.523 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.978e-05/0.6541, allocations: 19.8 kB / 0.5724 GB, free: 6.504 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003806/0.6545, allocations: 123.1 kB / 0.5725 GB, free: 6.383 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.6545, allocations: 4.266 kB / 0.5725 GB, free: 6.379 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.6545, allocations: 8 kB / 0.5725 GB, free: 6.371 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.6546, allocations: 0 / 0.5725 GB, free: 6.371 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007032/0.6553, allocations: 431.1 kB / 0.5729 GB, free: 5.891 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.6553, allocations: 0 / 0.5729 GB, free: 5.891 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.645e-05/0.6554, allocations: 15.94 kB / 0.5729 GB, free: 5.875 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.143e-06/0.6554, allocations: 0 / 0.5729 GB, free: 5.875 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.6554, allocations: 7.922 kB / 0.5729 GB, free: 5.867 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.602e-06/0.6554, allocations: 7.953 kB / 0.5729 GB, free: 5.859 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.6555, allocations: 4.031 kB / 0.573 GB, free: 5.855 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003627/0.6558, allocations: 218 kB / 0.5732 GB, free: 5.617 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.488e-05/0.6559, allocations: 96.91 kB / 0.5733 GB, free: 5.504 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.09e-05/0.656, allocations: 7.953 kB / 0.5733 GB, free: 5.496 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.6561, allocations: 4 kB / 0.5733 GB, free: 5.492 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.632e-05/0.6562, allocations: 11.98 kB / 0.5733 GB, free: 5.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.6562, allocations: 4 kB / 0.5733 GB, free: 5.477 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002923/0.6565, allocations: 173.3 kB / 0.5734 GB, free: 5.309 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6565, allocations: 0 / 0.5734 GB, free: 5.309 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000376/0.6569, allocations: 35.94 kB / 0.5735 GB, free: 5.273 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.00137/0.6583, allocations: 478.5 kB / 0.5739 GB, free: 4.906 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000296/0.6586, allocations: 63.91 kB / 0.574 GB, free: 4.844 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.6586, allocations: 0 / 0.574 GB, free: 4.844 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001255/0.6587, allocations: 39.86 kB / 0.574 GB, free: 4.805 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/0.6591, allocations: 20.17 kB / 0.5741 GB, free: 4.781 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007191/0.6599, allocations: 310.7 kB / 0.5744 GB, free: 4.445 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/0.6602, allocations: 0.7199 MB / 0.5751 GB, free: 3.699 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.253e-05/0.6603, allocations: 15.44 kB / 0.5751 GB, free: 3.688 MB / 394.7 MB Notification: Performance of SimCode: time 1.052e-06/0.6603, allocations: 0 / 0.5751 GB, free: 3.688 MB / 394.7 MB Notification: Performance of Templates: time 0.005601/0.6659, allocations: 2.029 MB / 0.577 GB, free: 1.668 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches