Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,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.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,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.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002111/0.002111, allocations: 177.5 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.348/2.348, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001123/0.001123, allocations: 88.69 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2974/0.2974, allocations: 43.49 MB / 353.6 MB, free: 2.285 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.046e-05/2.042e-05, allocations: 8 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4055/0.4056, allocations: 58.85 MB / 477.1 MB, free: 5.273 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1601/0.5657, allocations: 86.96 MB / 0.5508 GB, free: 12.36 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002879/0.5661, allocations: 79.23 kB / 0.5509 GB, free: 12.29 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0249/0.591, allocations: 5.393 MB / 0.5562 GB, free: 6.898 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.786e-06/0.591, allocations: 3.938 kB / 0.5562 GB, free: 6.895 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.638e-05/0.5911, allocations: 4 kB / 0.5562 GB, free: 6.891 MB / 395.1 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.00082/0.5919, allocations: 410.2 kB / 0.5566 GB, free: 6.445 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.011e-05/0.592, allocations: 8.031 kB / 0.5566 GB, free: 6.438 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.3e-05/0.5921, allocations: 11.81 kB / 0.5566 GB, free: 6.426 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005921/0.5927, allocations: 215.5 kB / 0.5568 GB, free: 6.172 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.5928, allocations: 0 / 0.5568 GB, free: 6.172 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.808e-05/0.5928, allocations: 4 kB / 0.5568 GB, free: 6.168 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001381/0.593, allocations: 12 kB / 0.5568 GB, free: 6.156 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.5932, allocations: 61.59 kB / 0.5569 GB, free: 6.09 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.5932, allocations: 3.938 kB / 0.5569 GB, free: 6.086 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.5933, allocations: 0 / 0.5569 GB, free: 6.086 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.5933, allocations: 8 kB / 0.5569 GB, free: 6.078 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006646/0.594, allocations: 269.5 kB / 0.5571 GB, free: 5.777 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002404/0.5943, allocations: 46.69 kB / 0.5572 GB, free: 5.723 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.563e-05/0.5944, allocations: 16.98 kB / 0.5572 GB, free: 5.703 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.5944, allocations: 3.984 kB / 0.5572 GB, free: 5.699 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002291/0.5947, allocations: 71.34 kB / 0.5573 GB, free: 5.617 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 8.035e-06/0.5947, allocations: 0 / 0.5573 GB, free: 5.617 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008739/0.5956, allocations: 157.1 kB / 0.5574 GB, free: 5.457 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.191e-05/0.5957, allocations: 55.41 kB / 0.5575 GB, free: 5.391 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004116/0.5961, allocations: 182.4 kB / 0.5577 GB, free: 5.199 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 3.464e-05/0.5962, allocations: 29.7 kB / 0.5577 GB, free: 5.164 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.5963, allocations: 158.6 kB / 0.5578 GB, free: 5.008 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.641e-05/0.5964, allocations: 27.64 kB / 0.5579 GB, free: 4.98 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.278e-06/0.5964, allocations: 4 kB / 0.5579 GB, free: 4.977 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.5966, allocations: 318.8 kB / 0.5582 GB, free: 4.656 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.742e-05/0.5967, allocations: 12 kB / 0.5582 GB, free: 4.645 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.5969, allocations: 33.7 kB / 0.5582 GB, free: 4.605 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.597, allocations: 23.98 kB / 0.5582 GB, free: 4.582 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.597, allocations: 0 / 0.5582 GB, free: 4.582 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003502/0.5974, allocations: 85.61 kB / 0.5583 GB, free: 4.492 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.936e-05/0.5975, allocations: 8.031 kB / 0.5583 GB, free: 4.484 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.5975, allocations: 0 / 0.5583 GB, free: 4.484 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.5975, allocations: 0 / 0.5583 GB, free: 4.484 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002367/0.5978, allocations: 23.98 kB / 0.5583 GB, free: 4.461 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.5978, allocations: 0 / 0.5583 GB, free: 4.461 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001477/0.598, allocations: 4 kB / 0.5583 GB, free: 4.457 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.069e-05/0.598, allocations: 3.953 kB / 0.5584 GB, free: 4.453 MB / 395.1 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 () * 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.0001638/0.5982, allocations: 105 kB / 0.5585 GB, free: 4.344 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.934e-05/0.5983, allocations: 11.81 kB / 0.5585 GB, free: 4.332 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005081/0.5988, allocations: 119.6 kB / 0.5586 GB, free: 4.211 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.902e-06/0.5988, allocations: 0 / 0.5586 GB, free: 4.211 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.5989, allocations: 96 / 0.5586 GB, free: 4.211 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.5989, allocations: 3.938 kB / 0.5586 GB, free: 4.207 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009558/0.5999, allocations: 379.8 kB / 0.5589 GB, free: 3.789 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.5999, allocations: 0 / 0.5589 GB, free: 3.789 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001214/0.6, allocations: 15.98 kB / 0.559 GB, free: 3.773 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.157e-05/0.6001, allocations: 4.031 kB / 0.559 GB, free: 3.77 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.876e-05/0.6001, allocations: 3.938 kB / 0.559 GB, free: 3.766 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-06/0.6001, allocations: 0 / 0.559 GB, free: 3.766 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.6002, allocations: 4 kB / 0.559 GB, free: 3.762 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004675/0.6007, allocations: 217.8 kB / 0.5592 GB, free: 3.523 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.6008, allocations: 89 kB / 0.5593 GB, free: 3.418 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.767e-05/0.6009, allocations: 8 kB / 0.5593 GB, free: 3.41 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/0.6011, allocations: 3.938 kB / 0.5593 GB, free: 3.406 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.847e-05/0.6012, allocations: 15.94 kB / 0.5593 GB, free: 3.391 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.413e-05/0.6012, allocations: 4 kB / 0.5593 GB, free: 3.387 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002834/0.6015, allocations: 144.9 kB / 0.5594 GB, free: 3.246 MB / 395.1 MB Notification: Performance of sort global known variables: time 9.32e-07/0.6016, allocations: 0 / 0.5594 GB, free: 3.246 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0006645/0.6022, allocations: 31.94 kB / 0.5595 GB, free: 3.215 MB / 395.1 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) * 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.001837/0.6041, allocations: 391.4 kB / 0.5598 GB, free: 2.871 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0003356/0.6045, allocations: 59.91 kB / 0.5599 GB, free: 2.812 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.6045, allocations: 4.062 kB / 0.5599 GB, free: 2.809 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001362/0.6047, allocations: 27.94 kB / 0.5599 GB, free: 2.781 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006145/0.6053, allocations: 27.84 kB / 0.5599 GB, free: 2.754 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008046/0.6061, allocations: 191.4 kB / 0.5601 GB, free: 2.539 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005146/0.6067, allocations: 0.7119 MB / 0.5608 GB, free: 1.801 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.6068, allocations: 23.42 kB / 0.5608 GB, free: 1.777 MB / 395.1 MB Notification: Performance of SimCode: time 1.694e-06/0.6069, allocations: 0 / 0.5608 GB, free: 1.777 MB / 395.1 MB Notification: Performance of Templates: time 0.009002/0.6159, allocations: 1.949 MB / 0.5628 GB, free: 15.84 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches