Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 112.2 kB / 21.19 MB, free: 0.7461 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 213.7 kB / 24.5 MB, free: 3.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.482/1.482, allocations: 230.6 MB / 258.3 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2499/0.2499, allocations: 46.93 MB / 361.6 MB, free: 4.262 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 75.88 kB / 0.4975 GB, free: 7.316 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/0.3756, allocations: 66.02 MB / 0.5619 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.003433/0.379, allocations: 1.743 MB / 0.5636 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001829/0.3808, allocations: 1.053 MB / 0.5647 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.363e-05/0.3809, allocations: 3.938 kB / 0.5647 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003009/0.3812, allocations: 43.77 kB / 0.5647 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003151/0.3815, allocations: 99.53 kB / 0.5648 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001988/0.3817, allocations: 79.72 kB / 0.5649 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002012/0.3819, allocations: 107.6 kB / 0.565 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.382, allocations: 11.98 kB / 0.565 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.3821, allocations: 43.78 kB / 0.565 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.51e-05/0.3822, allocations: 31.84 kB / 0.5651 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.3822, allocations: 4 kB / 0.5651 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.548e-05/0.3823, allocations: 39.98 kB / 0.5651 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.976e-05/0.3824, allocations: 31.84 kB / 0.5651 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.621e-05/0.3825, allocations: 35.69 kB / 0.5652 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002272/0.3827, allocations: 121.9 kB / 0.5653 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3827, allocations: 4 kB / 0.5653 GB, free: 0.918 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3827, allocations: 0 / 0.5653 GB, free: 0.918 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.3827, allocations: 0 / 0.5653 GB, free: 0.918 MB / 398.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.0005915/0.3833, allocations: 351.9 kB / 0.5656 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.3833, allocations: 8.031 kB / 0.5656 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.523e-05/0.3834, allocations: 20.83 kB / 0.5657 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003016/0.3837, allocations: 162.2 kB / 0.5658 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.367e-06/0.3837, allocations: 384 / 0.5658 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.375e-05/0.3837, allocations: 16.12 kB / 0.5658 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.3839, allocations: 53.67 kB / 0.5659 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.3839, allocations: 0 / 0.5659 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.3839, allocations: 4 kB / 0.5659 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.3839, allocations: 0 / 0.5659 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.412e-05/0.384, allocations: 19.98 kB / 0.5659 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004201/0.3844, allocations: 263.9 kB / 0.5662 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/0.3846, allocations: 58.67 kB / 0.5662 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.02e-05/0.3846, allocations: 16.86 kB / 0.5662 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.3847, allocations: 0 / 0.5662 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001507/0.3848, allocations: 71.38 kB / 0.5663 GB, free: 15.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.3848, allocations: 0 / 0.5663 GB, free: 15.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005578/0.3854, allocations: 181.2 kB / 0.5665 GB, free: 15.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.3854, allocations: 51.41 kB / 0.5665 GB, free: 15.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002216/0.3856, allocations: 218.7 kB / 0.5667 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.3857, allocations: 33.64 kB / 0.5668 GB, free: 15.26 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.416e-05/0.3857, allocations: 104.1 kB / 0.5669 GB, free: 15.15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.905e-05/0.3858, allocations: 19.86 kB / 0.5669 GB, free: 15.13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.11e-05/0.3858, allocations: 25.7 kB / 0.5669 GB, free: 15.1 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.386, allocations: 330.8 kB / 0.5672 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.459e-05/0.386, allocations: 24 kB / 0.5672 GB, free: 14.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.634e-05/0.3861, allocations: 37.64 kB / 0.5673 GB, free: 14.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.3862, allocations: 57.7 kB / 0.5673 GB, free: 14.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.3862, allocations: 0 / 0.5673 GB, free: 14.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001907/0.3864, allocations: 105.5 kB / 0.5674 GB, free: 14.53 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.3864, allocations: 8 kB / 0.5674 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3864, allocations: 4.031 kB / 0.5674 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.3864, allocations: 0 / 0.5674 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.252e-05/0.3865, allocations: 15.94 kB / 0.5675 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.3865, allocations: 4.156 kB / 0.5675 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.748e-05/0.3866, allocations: 7.922 kB / 0.5675 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.3866, allocations: 7.938 kB / 0.5675 GB, free: 14.48 MB / 414.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.0001128/0.3867, allocations: 129.8 kB / 0.5676 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.678e-05/0.3867, allocations: 15.91 kB / 0.5676 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002541/0.387, allocations: 127.3 kB / 0.5677 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.387, allocations: 7.938 kB / 0.5677 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.387, allocations: 0 / 0.5677 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.387, allocations: 7.922 kB / 0.5678 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004545/0.3875, allocations: 362.5 kB / 0.5681 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3875, allocations: 3.938 kB / 0.5681 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.375e-05/0.3875, allocations: 8 kB / 0.5681 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.3875, allocations: 0 / 0.5681 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.3875, allocations: 7.938 kB / 0.5681 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.3875, allocations: 8.016 kB / 0.5681 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3875, allocations: 0 / 0.5681 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000235/0.3877, allocations: 200.3 kB / 0.5683 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.865e-05/0.3878, allocations: 7.953 kB / 0.5683 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/0.3878, allocations: 7.938 kB / 0.5683 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.862e-05/0.3879, allocations: 4 kB / 0.5683 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.411e-05/0.3879, allocations: 15.92 kB / 0.5683 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.3879, allocations: 4 kB / 0.5684 GB, free: 13.49 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001412/0.3881, allocations: 152.3 kB / 0.5685 GB, free: 13.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3881, allocations: 0 / 0.5685 GB, free: 13.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002562/0.3883, allocations: 23.98 kB / 0.5685 GB, free: 13.32 MB / 414.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.001719/0.39, allocations: 472.4 kB / 0.569 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001989/0.3902, allocations: 55.91 kB / 0.569 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3902, allocations: 0 / 0.569 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.632e-05/0.3903, allocations: 24.14 kB / 0.569 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003608/0.3907, allocations: 29.66 kB / 0.5691 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000519/0.3912, allocations: 280.4 kB / 0.5693 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.3915, allocations: 0.7041 MB / 0.57 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.058e-05/0.3916, allocations: 19.42 kB / 0.5701 GB, free: 11.88 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3916, allocations: 0 / 0.5701 GB, free: 11.88 MB / 414.1 MB Notification: Performance of Templates: time 0.004196/0.3958, allocations: 1.978 MB / 0.572 GB, free: 9.902 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.9835011921823025]