Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 113.4 kB / 17.78 MB, free: 5.27 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.001008/0.001008, allocations: 184.1 kB / 18.71 MB, free: 4.348 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.339/1.339, allocations: 222.9 MB / 242.4 MB, free: 15.14 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.217/0.217, allocations: 44.19 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 67.83 kB / 470.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3498/0.3509, allocations: 60.82 MB / 0.519 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.002721/0.3537, allocations: 1.659 MB / 0.5206 GB, free: 2.465 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001401/0.3551, allocations: 0.8544 MB / 0.5214 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.621e-05/0.3552, allocations: 3.938 kB / 0.5214 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004046/0.3556, allocations: 81.83 kB / 0.5215 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002844/0.3559, allocations: 75.47 kB / 0.5216 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003125/0.3563, allocations: 107.3 kB / 0.5217 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002214/0.3565, allocations: 105.7 kB / 0.5218 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.312e-05/0.3566, allocations: 9.906 kB / 0.5218 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.3567, allocations: 45.19 kB / 0.5218 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.3568, allocations: 51.72 kB / 0.5219 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.3568, allocations: 2.469 kB / 0.5219 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.528e-05/0.3569, allocations: 43.19 kB / 0.5219 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.69e-05/0.357, allocations: 20.28 kB / 0.522 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.476e-05/0.3571, allocations: 32.56 kB / 0.522 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002178/0.3573, allocations: 110.5 kB / 0.5221 GB, free: 1.586 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.3573, allocations: 0 / 0.5221 GB, free: 1.586 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3573, allocations: 1.062 kB / 0.5221 GB, free: 1.586 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.3573, allocations: 0 / 0.5221 GB, free: 1.586 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004788/0.3578, allocations: 401.5 kB / 0.5225 GB, free: 1.191 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.3579, allocations: 9.094 kB / 0.5225 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.313e-05/0.3579, allocations: 10.23 kB / 0.5225 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.3581, allocations: 211.6 kB / 0.5227 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.3581, allocations: 1.656 kB / 0.5227 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.3582, allocations: 9.406 kB / 0.5227 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.3583, allocations: 45.83 kB / 0.5228 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.3583, allocations: 6 kB / 0.5228 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.3583, allocations: 0 / 0.5228 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.3584, allocations: 1.125 kB / 0.5228 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.563e-05/0.3584, allocations: 14.72 kB / 0.5228 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001643/0.3586, allocations: 193 kB / 0.523 GB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/0.3588, allocations: 60.95 kB / 0.523 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.228e-05/0.3588, allocations: 23.72 kB / 0.523 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.3589, allocations: 4.938 kB / 0.523 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001337/0.359, allocations: 64.09 kB / 0.5231 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.373e-06/0.359, allocations: 0 / 0.5231 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002583/0.3593, allocations: 101.7 kB / 0.5232 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.454e-05/0.3593, allocations: 56.72 kB / 0.5233 GB, free: 476 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.3595, allocations: 209.2 kB / 0.5235 GB, free: 340 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.3595, allocations: 26.7 kB / 0.5235 GB, free: 308 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.067e-05/0.3596, allocations: 101.1 kB / 0.5236 GB, free: 212 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.89e-05/0.3596, allocations: 15.73 kB / 0.5236 GB, free: 200 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.057e-05/0.3596, allocations: 19.81 kB / 0.5236 GB, free: 180 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.3597, allocations: 322.2 kB / 0.5239 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.987e-05/0.3598, allocations: 18.39 kB / 0.5239 GB, free: 15.85 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.862e-05/0.3599, allocations: 30.94 kB / 0.524 GB, free: 15.83 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/0.36, allocations: 45.28 kB / 0.524 GB, free: 15.8 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.36, allocations: 1.156 kB / 0.524 GB, free: 15.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001476/0.3601, allocations: 80.38 kB / 0.5241 GB, free: 15.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.3601, allocations: 8.641 kB / 0.5241 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.3602, allocations: 5.219 kB / 0.5241 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.3602, allocations: 0 / 0.5241 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.539e-05/0.3603, allocations: 16.83 kB / 0.5241 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.3603, allocations: 0 / 0.5241 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.413e-05/0.3603, allocations: 2.266 kB / 0.5241 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.3603, allocations: 2.781 kB / 0.5241 GB, free: 15.74 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 (7): * Single equations (assignments): 7 * 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 9.497e-05/0.3604, allocations: 132.4 kB / 0.5242 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.2e-05/0.3605, allocations: 14.5 kB / 0.5243 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.252e-05/0.3605, allocations: 14.34 kB / 0.5243 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3605, allocations: 5.125 kB / 0.5243 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3605, allocations: 0 / 0.5243 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.3605, allocations: 5.938 kB / 0.5243 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.3607, allocations: 187.3 kB / 0.5245 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3607, allocations: 1.562 kB / 0.5245 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.965e-05/0.3607, allocations: 5.281 kB / 0.5245 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3607, allocations: 0 / 0.5245 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.3607, allocations: 4.703 kB / 0.5245 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3608, allocations: 160 / 0.5245 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.3608, allocations: 6.297 kB / 0.5245 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001939/0.361, allocations: 127.4 kB / 0.5246 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.3e-05/0.361, allocations: 90.03 kB / 0.5247 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.3611, allocations: 1.812 kB / 0.5247 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.671e-05/0.3611, allocations: 1.859 kB / 0.5247 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.879e-05/0.3611, allocations: 3.531 kB / 0.5247 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.3612, allocations: 3.172 kB / 0.5247 GB, free: 15.17 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001572/0.3613, allocations: 156.8 kB / 0.5248 GB, free: 15.07 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3613, allocations: 0 / 0.5248 GB, free: 15.07 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002192/0.3615, allocations: 25.58 kB / 0.5249 GB, free: 15.06 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009389/0.3625, allocations: 408.6 kB / 0.5253 GB, free: 14.86 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001701/0.3627, allocations: 45.38 kB / 0.5253 GB, free: 14.85 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.3627, allocations: 0 / 0.5253 GB, free: 14.85 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.027e-05/0.3628, allocations: 16.62 kB / 0.5253 GB, free: 14.84 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000266/0.363, allocations: 39.03 kB / 0.5254 GB, free: 14.83 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004473/0.3635, allocations: 212.5 kB / 0.5256 GB, free: 14.68 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.3638, allocations: 0.7022 MB / 0.5262 GB, free: 13.98 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.06e-05/0.3638, allocations: 15.14 kB / 0.5263 GB, free: 13.98 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.628e-05/0.3639, allocations: 18.47 kB / 0.5263 GB, free: 13.97 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3639, allocations: 3.938 kB / 0.5263 GB, free: 13.97 MB / 398.1 MB Notification: Performance of Templates: time 0.004245/0.3681, allocations: 1.508 MB / 0.5278 GB, free: 13.52 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches