Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.001453/0.001453, 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.001679/0.001679, allocations: 215.9 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.547/1.547, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2369/0.2369, allocations: 44.93 MB / 358.8 MB, free: 6.047 MB / 286.1 MB " [Timeout remaining time 179] 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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39") [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.002563/0.002563, allocations: 71.89 kB / 0.4936 GB, free: 9.965 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4051/0.4076, allocations: 65.48 MB / 0.5575 GB, free: 7.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003494/0.4111, allocations: 1.663 MB / 0.5591 GB, free: 5.609 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002162/0.4133, allocations: 0.952 MB / 0.5601 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.819e-05/0.4134, allocations: 4 kB / 0.5601 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004352/0.4138, allocations: 63.72 kB / 0.5601 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004441/0.4143, allocations: 111.5 kB / 0.5602 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002517/0.4145, allocations: 71.75 kB / 0.5603 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002301/0.4147, allocations: 111.7 kB / 0.5604 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.611e-05/0.4148, allocations: 4.234 kB / 0.5604 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.4149, allocations: 51.77 kB / 0.5605 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.4151, allocations: 47.77 kB / 0.5605 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/0.4151, allocations: 4 kB / 0.5605 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.4152, allocations: 31.97 kB / 0.5606 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.744e-05/0.4153, allocations: 19.92 kB / 0.5606 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.979e-05/0.4153, allocations: 27.75 kB / 0.5606 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002616/0.4156, allocations: 114 kB / 0.5607 GB, free: 4.008 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.4156, allocations: 0 / 0.5607 GB, free: 4.008 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4156, allocations: 4 kB / 0.5607 GB, free: 4.004 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.4156, allocations: 0 / 0.5607 GB, free: 4.004 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006921/0.4163, allocations: 333.6 kB / 0.561 GB, free: 3.648 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.4164, allocations: 12.03 kB / 0.561 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.796e-05/0.4164, allocations: 12.84 kB / 0.5611 GB, free: 3.625 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003498/0.4168, allocations: 143 kB / 0.5612 GB, free: 3.461 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/0.4168, allocations: 12.38 kB / 0.5612 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.4168, allocations: 8.109 kB / 0.5612 GB, free: 3.441 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.417, allocations: 49.62 kB / 0.5613 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.417, allocations: 0 / 0.5613 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.417, allocations: 7.984 kB / 0.5613 GB, free: 3.379 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.417, allocations: 0 / 0.5613 GB, free: 3.379 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.716e-05/0.4171, allocations: 15.98 kB / 0.5613 GB, free: 3.363 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002532/0.4174, allocations: 133.3 kB / 0.5614 GB, free: 3.203 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001894/0.4175, allocations: 46.62 kB / 0.5614 GB, free: 3.148 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.519e-05/0.4176, allocations: 20.84 kB / 0.5615 GB, free: 3.125 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.4176, allocations: 3.938 kB / 0.5615 GB, free: 3.121 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002016/0.4178, allocations: 71.33 kB / 0.5615 GB, free: 3.039 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 3.356e-06/0.4178, allocations: 11.92 kB / 0.5616 GB, free: 3.027 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003262/0.4182, allocations: 97.61 kB / 0.5616 GB, free: 2.926 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.77e-05/0.4182, allocations: 51.41 kB / 0.5617 GB, free: 2.863 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002479/0.4185, allocations: 198.3 kB / 0.5619 GB, free: 2.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.4185, allocations: 29.7 kB / 0.5619 GB, free: 2.625 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.347e-05/0.4186, allocations: 108.1 kB / 0.562 GB, free: 2.516 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/0.4186, allocations: 7.906 kB / 0.562 GB, free: 2.508 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-05/0.4187, allocations: 21.72 kB / 0.562 GB, free: 2.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.4188, allocations: 326.8 kB / 0.5624 GB, free: 2.152 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.424e-05/0.4189, allocations: 15.98 kB / 0.5624 GB, free: 2.137 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.666e-05/0.419, allocations: 33.7 kB / 0.5624 GB, free: 2.098 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.4191, allocations: 41.7 kB / 0.5624 GB, free: 2.051 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.4191, allocations: 3.938 kB / 0.5624 GB, free: 2.047 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000171/0.4192, allocations: 89.47 kB / 0.5625 GB, free: 1.953 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.4193, allocations: 4 kB / 0.5625 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.4193, allocations: 4 kB / 0.5625 GB, free: 1.945 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.4193, allocations: 0 / 0.5625 GB, free: 1.945 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.253e-05/0.4194, allocations: 15.98 kB / 0.5626 GB, free: 1.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.4194, allocations: 4.031 kB / 0.5626 GB, free: 1.926 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.933e-05/0.4194, allocations: 8.25 kB / 0.5626 GB, free: 1.918 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.4194, allocations: 4 kB / 0.5626 GB, free: 1.914 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 0.0001309/0.4196, allocations: 125.8 kB / 0.5627 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.44e-05/0.4196, allocations: 11.89 kB / 0.5627 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002318/0.4198, allocations: 98.77 kB / 0.5628 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.4198, allocations: 3.984 kB / 0.5628 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.4198, allocations: 0 / 0.5628 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.4198, allocations: 0 / 0.5628 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.42, allocations: 137.2 kB / 0.5629 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.42, allocations: 4 kB / 0.5629 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.618e-05/0.42, allocations: 4 kB / 0.5629 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.42, allocations: 3.938 kB / 0.5629 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.42, allocations: 0 / 0.5629 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.42, allocations: 3.938 kB / 0.5629 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.4201, allocations: 0 / 0.5629 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002335/0.4203, allocations: 117.1 kB / 0.5631 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.454e-05/0.4203, allocations: 15.84 kB / 0.5631 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.218e-05/0.4203, allocations: 3.938 kB / 0.5631 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.108e-05/0.4204, allocations: 8 kB / 0.5631 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.185e-05/0.4204, allocations: 7.984 kB / 0.5631 GB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.4204, allocations: 4 kB / 0.5631 GB, free: 1.301 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001608/0.4206, allocations: 152.2 kB / 0.5632 GB, free: 1.152 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4206, allocations: 0 / 0.5632 GB, free: 1.152 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002262/0.4208, allocations: 20 kB / 0.5633 GB, free: 1.133 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.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.001693/0.4225, allocations: 438.5 kB / 0.5637 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001834/0.4227, allocations: 47.91 kB / 0.5637 GB, free: 0.832 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4227, allocations: 0 / 0.5637 GB, free: 0.832 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.963e-05/0.4228, allocations: 24.06 kB / 0.5637 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002846/0.423, allocations: 30.91 kB / 0.5638 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005544/0.4236, allocations: 213.9 kB / 0.564 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001101/0.4237, allocations: 93.25 kB / 0.5641 GB, free: 444 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.078e-05/0.4238, allocations: 20.33 kB / 0.5641 GB, free: 424 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.695e-05/0.4238, allocations: 11.44 kB / 0.5641 GB, free: 412 kB / 398.1 MB Notification: Performance of SimCode: time 4.2e-07/0.4238, allocations: 0 / 0.5641 GB, free: 412 kB / 398.1 MB Notification: Performance of Templates: time 0.005575/0.4294, allocations: 1.683 MB / 0.5657 GB, free: 14.74 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.475180374458432]