Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.001053/0.001053, allocations: 187.8 kB / 18.71 MB, free: 4.344 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.313/1.313, allocations: 222.9 MB / 242.4 MB, free: 15.16 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.2014/0.2014, allocations: 44.18 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 67.89 kB / 470.6 MB, free: 13.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/0.3719, allocations: 60.81 MB / 0.519 GB, free: 3.645 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.00278/0.3747, allocations: 1.901 MB / 0.5208 GB, free: 2.312 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001296/0.376, allocations: 0.9833 MB / 0.5218 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.035e-05/0.3761, allocations: 10.09 kB / 0.5218 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004391/0.3765, allocations: 216.8 kB / 0.522 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003161/0.3769, allocations: 169.5 kB / 0.5222 GB, free: 1.535 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003718/0.3772, allocations: 175.4 kB / 0.5224 GB, free: 1.449 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002626/0.3775, allocations: 244.9 kB / 0.5226 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.3776, allocations: 34.73 kB / 0.5226 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001468/0.3778, allocations: 115.7 kB / 0.5227 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001766/0.378, allocations: 149 kB / 0.5229 GB, free: 1.254 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.826e-05/0.378, allocations: 12.59 kB / 0.5229 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.3781, allocations: 66.03 kB / 0.5229 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.926e-05/0.3782, allocations: 52.61 kB / 0.523 GB, free: 1.211 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.765e-05/0.3783, allocations: 94.02 kB / 0.5231 GB, free: 1.141 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000288/0.3786, allocations: 233.3 kB / 0.5233 GB, free: 1.043 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3786, allocations: 4 kB / 0.5233 GB, free: 1.039 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3786, allocations: 0.6094 kB / 0.5233 GB, free: 1.039 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.3786, allocations: 0 / 0.5233 GB, free: 1.039 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005812/0.3792, allocations: 0.5455 MB / 0.5238 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.043e-05/0.3793, allocations: 14.92 kB / 0.5239 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.607e-05/0.3793, allocations: 28.66 kB / 0.5239 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002685/0.3796, allocations: 275.5 kB / 0.5241 GB, free: 284 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.3796, allocations: 8.297 kB / 0.5242 GB, free: 280 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.637e-05/0.3797, allocations: 10.22 kB / 0.5242 GB, free: 276 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002144/0.3799, allocations: 114.1 kB / 0.5243 GB, free: 204 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.3799, allocations: 6.594 kB / 0.5243 GB, free: 200 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.3799, allocations: 4.844 kB / 0.5243 GB, free: 196 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.3799, allocations: 6.531 kB / 0.5243 GB, free: 192 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.38, allocations: 41.12 kB / 0.5243 GB, free: 184 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005346/0.3806, allocations: 474.3 kB / 0.5248 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003594/0.381, allocations: 123.8 kB / 0.5249 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.3811, allocations: 42.77 kB / 0.5249 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.545e-05/0.3811, allocations: 7.656 kB / 0.525 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002358/0.3814, allocations: 118.5 kB / 0.5251 GB, free: 15.58 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.713e-06/0.3814, allocations: 1.125 kB / 0.5251 GB, free: 15.58 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001303/0.3827, allocations: 0.4964 MB / 0.5255 GB, free: 15.35 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/0.3827, allocations: 80.81 kB / 0.5256 GB, free: 15.26 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004422/0.3832, allocations: 425.7 kB / 0.526 GB, free: 15.07 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.3832, allocations: 33.11 kB / 0.5261 GB, free: 15.04 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.3833, allocations: 159.6 kB / 0.5262 GB, free: 14.89 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.645e-05/0.3834, allocations: 67.64 kB / 0.5263 GB, free: 14.84 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.276e-05/0.3835, allocations: 41.22 kB / 0.5263 GB, free: 14.82 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.3836, allocations: 342.6 kB / 0.5266 GB, free: 14.49 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.3837, allocations: 56.14 kB / 0.5267 GB, free: 14.47 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000155/0.3839, allocations: 97.58 kB / 0.5268 GB, free: 14.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002643/0.3842, allocations: 170.3 kB / 0.527 GB, free: 14.3 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-06/0.3842, allocations: 0 / 0.527 GB, free: 14.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.00038/0.3846, allocations: 232.9 kB / 0.5272 GB, free: 14.19 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.3846, allocations: 16.23 kB / 0.5272 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3846, allocations: 3.938 kB / 0.5272 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.3846, allocations: 6.812 kB / 0.5272 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.3848, allocations: 46.11 kB / 0.5272 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.3848, allocations: 1.531 kB / 0.5272 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.014e-05/0.3849, allocations: 9.734 kB / 0.5273 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.721e-05/0.3849, allocations: 14.02 kB / 0.5273 GB, free: 14.15 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001444/0.3851, allocations: 164.5 kB / 0.5274 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.658e-05/0.3851, allocations: 37.5 kB / 0.5275 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.438e-05/0.3852, allocations: 40.66 kB / 0.5275 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.3852, allocations: 6.594 kB / 0.5275 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.3852, allocations: 0 / 0.5275 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.3852, allocations: 1.281 kB / 0.5275 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008786/0.3861, allocations: 0.7251 MB / 0.5282 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.3861, allocations: 1.656 kB / 0.5282 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.963e-05/0.3862, allocations: 31.25 kB / 0.5282 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.3862, allocations: 2.312 kB / 0.5283 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.3863, allocations: 13.73 kB / 0.5283 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.3863, allocations: 1.25 kB / 0.5283 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3863, allocations: 2.719 kB / 0.5283 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004571/0.3867, allocations: 425.1 kB / 0.5287 GB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.869e-05/0.3868, allocations: 100.6 kB / 0.5288 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.132e-05/0.3869, allocations: 8.25 kB / 0.5288 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.387, allocations: 11.52 kB / 0.5288 GB, free: 12.87 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.98e-05/0.3871, allocations: 17.05 kB / 0.5288 GB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.547e-05/0.3871, allocations: 21.78 kB / 0.5288 GB, free: 12.85 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003021/0.3874, allocations: 320.4 kB / 0.5291 GB, free: 12.67 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3874, allocations: 192 / 0.5291 GB, free: 12.67 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003423/0.3877, allocations: 52.02 kB / 0.5292 GB, free: 12.66 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001136/0.3889, allocations: 0.5084 MB / 0.5297 GB, free: 12.42 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000346/0.3893, allocations: 159.3 kB / 0.5298 GB, free: 12.35 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3893, allocations: 4.125 kB / 0.5298 GB, free: 12.35 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.3894, allocations: 83.03 kB / 0.5299 GB, free: 12.31 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005349/0.39, allocations: 60.27 kB / 0.53 GB, free: 12.29 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009507/0.3909, allocations: 0.5424 MB / 0.5305 GB, free: 11.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004226/0.3914, allocations: 0.7758 MB / 0.5313 GB, free: 11.19 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001324/0.3915, allocations: 43.33 kB / 0.5313 GB, free: 11.16 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.159e-05/0.3916, allocations: 34.09 kB / 0.5313 GB, free: 11.15 MB / 398.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3916, allocations: 0 / 0.5313 GB, free: 11.15 MB / 398.1 MB Notification: Performance of Templates: time 0.007138/0.3987, allocations: 3.193 MB / 0.5344 GB, free: 9.543 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches