Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.001702/0.001702, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002132/0.002132, allocations: 215.8 kB / 23.73 MB, free: 4.16 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.557/1.557, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.239/0.239, allocations: 44.94 MB / 358.8 MB, free: 6.078 MB / 286.1 MB " [Timeout remaining time 180] 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.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.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003525/0.003525, allocations: 71.89 kB / 0.4936 GB, free: 10 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4013/0.4049, allocations: 65.47 MB / 0.5575 GB, free: 7.488 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003855/0.4087, allocations: 1.71 MB / 0.5592 GB, free: 5.762 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0027/0.4114, allocations: 1.661 MB / 0.5608 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.667e-05/0.4115, allocations: 0 / 0.5608 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003156/0.4118, allocations: 39.77 kB / 0.5608 GB, free: 4.055 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003805/0.4122, allocations: 99.55 kB / 0.5609 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002109/0.4124, allocations: 79.72 kB / 0.561 GB, free: 3.879 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001903/0.4126, allocations: 111.6 kB / 0.5611 GB, free: 3.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.4127, allocations: 4 kB / 0.5611 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.955e-05/0.4128, allocations: 51.77 kB / 0.5612 GB, free: 3.715 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001293/0.4129, allocations: 39.77 kB / 0.5612 GB, free: 3.676 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.4129, allocations: 8 kB / 0.5612 GB, free: 3.668 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001894/0.4131, allocations: 103.9 kB / 0.5613 GB, free: 3.566 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.351e-05/0.4132, allocations: 27.91 kB / 0.5613 GB, free: 3.539 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.645e-05/0.4132, allocations: 23.88 kB / 0.5614 GB, free: 3.516 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002854/0.4135, allocations: 169.7 kB / 0.5615 GB, free: 3.355 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.4135, allocations: 4 kB / 0.5615 GB, free: 3.352 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4135, allocations: 0 / 0.5615 GB, free: 3.352 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.4135, allocations: 0 / 0.5615 GB, free: 3.352 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.0005886/0.4141, allocations: 349.5 kB / 0.5619 GB, free: 2.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.4142, allocations: 12.03 kB / 0.5619 GB, free: 2.969 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.919e-05/0.4142, allocations: 12.84 kB / 0.5619 GB, free: 2.957 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002889/0.4145, allocations: 153.9 kB / 0.562 GB, free: 2.785 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.4145, allocations: 11.94 kB / 0.5621 GB, free: 2.773 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.451e-05/0.4146, allocations: 0 / 0.5621 GB, free: 2.773 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.4148, allocations: 105 kB / 0.5622 GB, free: 2.652 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.4148, allocations: 0 / 0.5622 GB, free: 2.652 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.4148, allocations: 3.984 kB / 0.5622 GB, free: 2.648 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.4148, allocations: 4 kB / 0.5622 GB, free: 2.645 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.905e-05/0.4149, allocations: 23.98 kB / 0.5622 GB, free: 2.621 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003657/0.4152, allocations: 224.5 kB / 0.5624 GB, free: 2.371 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.4154, allocations: 66.61 kB / 0.5625 GB, free: 2.297 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.533e-05/0.4155, allocations: 16.86 kB / 0.5625 GB, free: 2.277 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.4155, allocations: 0 / 0.5625 GB, free: 2.277 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000155/0.4156, allocations: 71.38 kB / 0.5625 GB, free: 2.195 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.4156, allocations: 3.938 kB / 0.5625 GB, free: 2.191 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005745/0.4162, allocations: 181.3 kB / 0.5627 GB, free: 2.008 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/0.4163, allocations: 81.05 kB / 0.5628 GB, free: 1.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001908/0.4165, allocations: 175.7 kB / 0.563 GB, free: 1.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.4165, allocations: 25.7 kB / 0.563 GB, free: 1.699 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.381e-05/0.4165, allocations: 104.1 kB / 0.5631 GB, free: 1.594 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.597e-05/0.4166, allocations: 31.73 kB / 0.5631 GB, free: 1.562 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.389e-05/0.4166, allocations: 25.7 kB / 0.5631 GB, free: 1.531 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.4168, allocations: 322.8 kB / 0.5635 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.178e-05/0.4168, allocations: 20 kB / 0.5635 GB, free: 1.188 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.91e-05/0.4169, allocations: 76.19 kB / 0.5635 GB, free: 1.098 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.417, allocations: 57.72 kB / 0.5636 GB, free: 1.035 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.417, allocations: 0 / 0.5636 GB, free: 1.035 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000203/0.4173, allocations: 105.6 kB / 0.5637 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.4173, allocations: 4 kB / 0.5637 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.4173, allocations: 0 / 0.5637 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.4173, allocations: 0 / 0.5637 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.4174, allocations: 23.98 kB / 0.5637 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.4174, allocations: 0 / 0.5637 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.1e-05/0.4174, allocations: 3.938 kB / 0.5637 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.4175, allocations: 4 kB / 0.5637 GB, free: 0.8906 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.0001159/0.4176, allocations: 128.4 kB / 0.5639 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.678e-05/0.4176, allocations: 11.95 kB / 0.5639 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002907/0.4179, allocations: 126.5 kB / 0.564 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.4179, allocations: 0 / 0.564 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.4179, allocations: 0 / 0.564 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.4179, allocations: 8.312 kB / 0.564 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004638/0.4184, allocations: 342.9 kB / 0.5643 GB, free: 236 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.4184, allocations: 8 kB / 0.5643 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.866e-05/0.4184, allocations: 8 kB / 0.5643 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.4184, allocations: 0 / 0.5643 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.4184, allocations: 7.922 kB / 0.5643 GB, free: 212 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.4184, allocations: 8.312 kB / 0.5644 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4184, allocations: 0 / 0.5644 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002986/0.4187, allocations: 220.2 kB / 0.5646 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.38e-05/0.4187, allocations: 11.91 kB / 0.5646 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.962e-05/0.4188, allocations: 11.86 kB / 0.5646 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.074e-05/0.4189, allocations: 8 kB / 0.5646 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.15e-05/0.4189, allocations: 3.984 kB / 0.5646 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.4189, allocations: 4 kB / 0.5646 GB, free: 15.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001244/0.419, allocations: 127.2 kB / 0.5647 GB, free: 15.8 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.419, allocations: 0 / 0.5647 GB, free: 15.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003334/0.4194, allocations: 51.86 kB / 0.5648 GB, free: 15.75 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 (9): * Single equations (assignments): 7 * 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.00214/0.4215, allocations: 0.59 MB / 0.5653 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002287/0.4218, allocations: 63.95 kB / 0.5654 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4218, allocations: 0 / 0.5654 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.909e-05/0.4218, allocations: 35.98 kB / 0.5654 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/0.4222, allocations: 23.98 kB / 0.5655 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005122/0.4227, allocations: 210.7 kB / 0.5657 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.215e-05/0.4228, allocations: 89.25 kB / 0.5658 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.152e-05/0.4229, allocations: 20.95 kB / 0.5658 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.95e-05/0.4229, allocations: 23.5 kB / 0.5658 GB, free: 14.9 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4229, allocations: 0 / 0.5658 GB, free: 14.9 MB / 414.1 MB Notification: Performance of Templates: time 0.00651/0.4294, allocations: 2.521 MB / 0.5683 GB, free: 12.4 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.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: 5.3663882203400135]