Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008682/0.0008684, allocations: 177.3 kB / 17.41 MB, free: 4.414 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.515/1.515, allocations: 205.4 MB / 223.6 MB, free: 9.031 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.0007959/0.000796, allocations: 89.36 kB / 271.9 MB, free: 8.266 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.3861/0.3861, allocations: 43.55 MB / 363.7 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003817/0.0003817, allocations: 12 kB / 432.6 MB, free: 5.664 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1286, allocations: 58.85 MB / 491.5 MB, free: 10.72 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3552/0.4838, allocations: 87.75 MB / 0.5656 GB, free: 14.52 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002706/0.4841, allocations: 75.95 kB / 0.5657 GB, free: 14.45 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01549/0.4996, allocations: 5.686 MB / 0.5713 GB, free: 8.812 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4997, allocations: 0 / 0.5713 GB, free: 8.812 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.588e-05/0.4997, allocations: 4 kB / 0.5713 GB, free: 8.809 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.0006909/0.5004, allocations: 437.8 kB / 0.5717 GB, free: 8.332 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.555e-05/0.5005, allocations: 8.031 kB / 0.5717 GB, free: 8.324 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.997e-05/0.5005, allocations: 16.75 kB / 0.5717 GB, free: 8.309 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004075/0.501, allocations: 245.8 kB / 0.5719 GB, free: 8.031 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.501, allocations: 384 / 0.5719 GB, free: 8.031 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.152e-05/0.501, allocations: 12.38 kB / 0.5719 GB, free: 8.02 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.5012, allocations: 54.23 kB / 0.572 GB, free: 7.961 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.5012, allocations: 4.094 kB / 0.572 GB, free: 7.957 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.067e-05/0.5013, allocations: 7.25 kB / 0.572 GB, free: 7.953 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.5013, allocations: 3.938 kB / 0.572 GB, free: 7.949 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.675e-05/0.5014, allocations: 19.98 kB / 0.572 GB, free: 7.93 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005016/0.5019, allocations: 308.8 kB / 0.5723 GB, free: 7.578 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.5021, allocations: 70.61 kB / 0.5724 GB, free: 7.5 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.823e-05/0.5021, allocations: 20.84 kB / 0.5724 GB, free: 7.477 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.5022, allocations: 0 / 0.5724 GB, free: 7.477 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001512/0.5023, allocations: 67.39 kB / 0.5725 GB, free: 7.398 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 3.547e-06/0.5023, allocations: 0 / 0.5725 GB, free: 7.398 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006552/0.503, allocations: 185.1 kB / 0.5727 GB, free: 7.211 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.5031, allocations: 51.41 kB / 0.5727 GB, free: 7.148 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003034/0.5034, allocations: 259.7 kB / 0.573 GB, free: 6.883 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.5034, allocations: 29.7 kB / 0.573 GB, free: 6.848 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.817e-05/0.5035, allocations: 112 kB / 0.5731 GB, free: 6.734 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.91e-05/0.5035, allocations: 27.72 kB / 0.5731 GB, free: 6.707 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.444e-06/0.5036, allocations: 4 kB / 0.5731 GB, free: 6.703 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.5037, allocations: 330.8 kB / 0.5734 GB, free: 6.371 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.208e-05/0.5038, allocations: 23.98 kB / 0.5735 GB, free: 6.348 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.809e-05/0.5039, allocations: 33.7 kB / 0.5735 GB, free: 6.309 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.504, allocations: 62.48 kB / 0.5735 GB, free: 6.242 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.504, allocations: 0 / 0.5735 GB, free: 6.242 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001986/0.5042, allocations: 106.1 kB / 0.5736 GB, free: 6.133 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.5042, allocations: 4 kB / 0.5737 GB, free: 6.129 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.5043, allocations: 4.031 kB / 0.5737 GB, free: 6.125 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.5043, allocations: 0.9375 kB / 0.5737 GB, free: 6.125 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.904e-05/0.5044, allocations: 23.92 kB / 0.5737 GB, free: 6.102 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.5044, allocations: 0 / 0.5737 GB, free: 6.102 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.806e-05/0.5045, allocations: 4 kB / 0.5737 GB, free: 6.098 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.5045, allocations: 0 / 0.5737 GB, free: 6.098 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.0001365/0.5046, allocations: 138.3 kB / 0.5738 GB, free: 5.953 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.835e-05/0.5046, allocations: 15.81 kB / 0.5738 GB, free: 5.938 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002801/0.5049, allocations: 143.2 kB / 0.574 GB, free: 5.793 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.5049, allocations: 0 / 0.574 GB, free: 5.793 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.505, allocations: 0 / 0.574 GB, free: 5.793 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.505, allocations: 0 / 0.574 GB, free: 5.793 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005051/0.5055, allocations: 439.1 kB / 0.5744 GB, free: 5.305 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.5055, allocations: 4 kB / 0.5744 GB, free: 5.301 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.595e-05/0.5055, allocations: 11.94 kB / 0.5744 GB, free: 5.289 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.5055, allocations: 4.031 kB / 0.5744 GB, free: 5.285 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.5056, allocations: 4 kB / 0.5744 GB, free: 5.281 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.5056, allocations: 0 / 0.5744 GB, free: 5.281 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.5056, allocations: 7.922 kB / 0.5744 GB, free: 5.273 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002347/0.5058, allocations: 208.1 kB / 0.5746 GB, free: 5.051 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.113e-05/0.5059, allocations: 101.4 kB / 0.5747 GB, free: 4.934 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.5059, allocations: 0 / 0.5747 GB, free: 4.934 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.647e-05/0.506, allocations: 16 kB / 0.5747 GB, free: 4.918 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.138e-05/0.5061, allocations: 15.86 kB / 0.5747 GB, free: 4.902 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.5061, allocations: 4 kB / 0.5747 GB, free: 4.898 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001823/0.5063, allocations: 199.3 kB / 0.5749 GB, free: 4.703 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5063, allocations: 0 / 0.5749 GB, free: 4.703 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002667/0.5065, allocations: 43.84 kB / 0.575 GB, free: 4.66 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.001023/0.5076, allocations: 475.2 kB / 0.5754 GB, free: 4.293 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001754/0.5078, allocations: 67.84 kB / 0.5755 GB, free: 4.227 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5078, allocations: 0 / 0.5755 GB, free: 4.227 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.561e-05/0.5079, allocations: 31.98 kB / 0.5755 GB, free: 4.195 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.5082, allocations: 36.75 kB / 0.5756 GB, free: 4.164 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000562/0.5088, allocations: 350.9 kB / 0.5759 GB, free: 3.793 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/0.5091, allocations: 0.7199 MB / 0.5766 GB, free: 3.047 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.281e-05/0.5091, allocations: 15.44 kB / 0.5766 GB, free: 3.035 MB / 394.7 MB Notification: Performance of SimCode: time 2.91e-07/0.5091, allocations: 0 / 0.5766 GB, free: 3.035 MB / 394.7 MB Notification: Performance of Templates: time 0.003623/0.5128, allocations: 2.138 MB / 0.5787 GB, free: 0.9023 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches