Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 117.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 185 kB / 18.71 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 222.9 MB / 242.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2108/0.2108, allocations: 44.18 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 63.84 kB / 470.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3785, allocations: 60.82 MB / 0.519 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.002935/0.3815, allocations: 1.711 MB / 0.5207 GB, free: 2.434 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001396/0.3829, allocations: 0.8789 MB / 0.5215 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.768e-05/0.383, allocations: 3.938 kB / 0.5215 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003835/0.3834, allocations: 33.2 kB / 0.5215 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002335/0.3837, allocations: 55.48 kB / 0.5216 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003228/0.384, allocations: 122.2 kB / 0.5217 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001935/0.3842, allocations: 96.19 kB / 0.5218 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.3843, allocations: 7.672 kB / 0.5218 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.393e-05/0.3844, allocations: 46.39 kB / 0.5219 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.825e-05/0.3845, allocations: 26 kB / 0.5219 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.3845, allocations: 3.781 kB / 0.5219 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.3846, allocations: 42.45 kB / 0.5219 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.768e-05/0.3847, allocations: 22.98 kB / 0.522 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.156e-05/0.3848, allocations: 36.27 kB / 0.522 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.385, allocations: 115.4 kB / 0.5221 GB, free: 1.531 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.385, allocations: 5 kB / 0.5221 GB, free: 1.527 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3851, allocations: 0 / 0.5221 GB, free: 1.527 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.3851, allocations: 0 / 0.5221 GB, free: 1.527 MB / 382.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.0004828/0.3856, allocations: 405.4 kB / 0.5225 GB, free: 1.129 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.3856, allocations: 9.438 kB / 0.5225 GB, free: 1.129 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.668e-05/0.3857, allocations: 9.516 kB / 0.5225 GB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.3859, allocations: 202.3 kB / 0.5227 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.3859, allocations: 7.094 kB / 0.5227 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/0.3859, allocations: 6.297 kB / 0.5227 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.3861, allocations: 54.09 kB / 0.5228 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.3861, allocations: 7.844 kB / 0.5228 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.3861, allocations: 1.375 kB / 0.5228 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.3861, allocations: 3.938 kB / 0.5228 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.138e-05/0.3862, allocations: 26.81 kB / 0.5228 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003342/0.3866, allocations: 286.5 kB / 0.5231 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.3868, allocations: 55.83 kB / 0.5231 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.119e-05/0.3868, allocations: 24.25 kB / 0.5231 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.285e-05/0.3869, allocations: 5.188 kB / 0.5232 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001396/0.387, allocations: 66.38 kB / 0.5232 GB, free: 456 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.387, allocations: 4 kB / 0.5232 GB, free: 452 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005515/0.3876, allocations: 176 kB / 0.5234 GB, free: 360 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.3876, allocations: 57.19 kB / 0.5234 GB, free: 292 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/0.3878, allocations: 186.6 kB / 0.5236 GB, free: 160 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.3878, allocations: 27.86 kB / 0.5236 GB, free: 128 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.472e-05/0.3879, allocations: 98.84 kB / 0.5237 GB, free: 32 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.3879, allocations: 25.62 kB / 0.5238 GB, free: 12 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.444e-05/0.388, allocations: 23.72 kB / 0.5238 GB, free: 15.99 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.3881, allocations: 334.9 kB / 0.5241 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.132e-05/0.3882, allocations: 15.59 kB / 0.5241 GB, free: 15.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.152e-05/0.3883, allocations: 34.38 kB / 0.5242 GB, free: 15.64 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/0.3884, allocations: 65.98 kB / 0.5242 GB, free: 15.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.3884, allocations: 1.094 kB / 0.5242 GB, free: 15.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002064/0.3886, allocations: 106.1 kB / 0.5243 GB, free: 15.53 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.3887, allocations: 4.406 kB / 0.5243 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3887, allocations: 1.312 kB / 0.5243 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.3887, allocations: 2.234 kB / 0.5243 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.48e-05/0.3888, allocations: 17.84 kB / 0.5243 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.3888, allocations: 1.438 kB / 0.5243 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.013e-05/0.3889, allocations: 7.672 kB / 0.5244 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.3889, allocations: 3.641 kB / 0.5244 GB, free: 15.52 MB / 398.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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001099/0.389, allocations: 124.5 kB / 0.5245 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.644e-05/0.389, allocations: 16.86 kB / 0.5245 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.067e-05/0.3891, allocations: 20.23 kB / 0.5245 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.3891, allocations: 1.5 kB / 0.5245 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3891, allocations: 0.5625 kB / 0.5245 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.3891, allocations: 4.641 kB / 0.5245 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004548/0.3896, allocations: 385.4 kB / 0.5249 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.3896, allocations: 5.438 kB / 0.5249 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.536e-05/0.3896, allocations: 11.95 kB / 0.5249 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.3896, allocations: 5.25 kB / 0.5249 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.3896, allocations: 10.89 kB / 0.5249 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.3896, allocations: 1.781 kB / 0.5249 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.3897, allocations: 0 / 0.5249 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000234/0.3899, allocations: 200.6 kB / 0.5251 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.843e-05/0.39, allocations: 85.72 kB / 0.5252 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.759e-05/0.39, allocations: 9.547 kB / 0.5252 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.276e-05/0.3901, allocations: 7.203 kB / 0.5252 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.444e-05/0.3901, allocations: 9.422 kB / 0.5252 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.243e-05/0.3901, allocations: 8.766 kB / 0.5252 GB, free: 14.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001422/0.3903, allocations: 144.6 kB / 0.5254 GB, free: 14.64 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3903, allocations: 0 / 0.5254 GB, free: 14.64 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002837/0.3906, allocations: 26.03 kB / 0.5254 GB, free: 14.63 MB / 398.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001078/0.3917, allocations: 463.5 kB / 0.5258 GB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002106/0.3919, allocations: 59.47 kB / 0.5259 GB, free: 14.4 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3919, allocations: 1.219 kB / 0.5259 GB, free: 14.4 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.744e-05/0.392, allocations: 27.41 kB / 0.5259 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/0.3924, allocations: 35.39 kB / 0.5259 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004992/0.3929, allocations: 219.4 kB / 0.5262 GB, free: 14.21 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.3932, allocations: 0.7034 MB / 0.5268 GB, free: 13.51 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.798e-05/0.3933, allocations: 17.27 kB / 0.5269 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.976e-05/0.3933, allocations: 20.61 kB / 0.5269 GB, free: 13.49 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3933, allocations: 0 / 0.5269 GB, free: 13.49 MB / 398.1 MB Notification: Performance of Templates: time 0.005007/0.3984, allocations: 1.712 MB / 0.5286 GB, free: 12.94 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches