Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.001787/0.001787, 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.001624/0.001624, allocations: 211.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.46/1.46, 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.223/0.223, allocations: 44.94 MB / 358.8 MB, free: 6.164 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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15") [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.002131/0.002131, allocations: 63.91 kB / 0.4936 GB, free: 10 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3414, allocations: 65.48 MB / 0.5575 GB, free: 7.457 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003415/0.3448, allocations: 1.702 MB / 0.5592 GB, free: 5.738 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00185/0.3467, allocations: 0.9637 MB / 0.5601 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.893e-05/0.3467, allocations: 7.938 kB / 0.5601 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003128/0.3471, allocations: 47.75 kB / 0.5602 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003341/0.3474, allocations: 87.61 kB / 0.5603 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002016/0.3476, allocations: 79.67 kB / 0.5603 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001851/0.3478, allocations: 111.7 kB / 0.5604 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.706e-05/0.3479, allocations: 4 kB / 0.5604 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.46e-05/0.348, allocations: 39.8 kB / 0.5605 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.947e-05/0.3481, allocations: 43.7 kB / 0.5605 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/0.3481, allocations: 4 kB / 0.5605 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.711e-05/0.3482, allocations: 39.98 kB / 0.5606 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.911e-05/0.3482, allocations: 19.92 kB / 0.5606 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.157e-05/0.3483, allocations: 31.8 kB / 0.5606 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002173/0.3485, allocations: 121.9 kB / 0.5607 GB, free: 4.148 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3485, allocations: 0 / 0.5607 GB, free: 4.148 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3485, allocations: 0 / 0.5607 GB, free: 4.148 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.3485, allocations: 0 / 0.5607 GB, free: 4.148 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.0005779/0.3491, allocations: 345.6 kB / 0.5611 GB, free: 3.781 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.3491, allocations: 8.031 kB / 0.5611 GB, free: 3.773 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.716e-05/0.3492, allocations: 12.84 kB / 0.5611 GB, free: 3.762 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.3494, allocations: 146.4 kB / 0.5612 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.3494, allocations: 4.375 kB / 0.5612 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.144e-05/0.3495, allocations: 16.11 kB / 0.5612 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.3496, allocations: 57.61 kB / 0.5613 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.3496, allocations: 0 / 0.5613 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.3496, allocations: 0 / 0.5613 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3496, allocations: 3.938 kB / 0.5613 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.304e-05/0.3497, allocations: 23.92 kB / 0.5613 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003823/0.3501, allocations: 236.5 kB / 0.5616 GB, free: 3.223 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001825/0.3503, allocations: 58.67 kB / 0.5616 GB, free: 3.156 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.599e-05/0.3503, allocations: 16.86 kB / 0.5616 GB, free: 3.137 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.117e-05/0.3504, allocations: 4 kB / 0.5616 GB, free: 3.133 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001564/0.3505, allocations: 79.3 kB / 0.5617 GB, free: 3.043 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.3505, allocations: 0 / 0.5617 GB, free: 3.043 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005889/0.3511, allocations: 181.3 kB / 0.5619 GB, free: 2.859 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.3511, allocations: 51.41 kB / 0.5619 GB, free: 2.797 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001983/0.3513, allocations: 191.2 kB / 0.5621 GB, free: 2.598 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.3514, allocations: 25.7 kB / 0.5621 GB, free: 2.566 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.721e-05/0.3514, allocations: 104.1 kB / 0.5622 GB, free: 2.461 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.4e-05/0.3515, allocations: 23.84 kB / 0.5623 GB, free: 2.438 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.842e-05/0.3515, allocations: 25.72 kB / 0.5623 GB, free: 2.406 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.3517, allocations: 326.8 kB / 0.5626 GB, free: 2.078 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.82e-05/0.3517, allocations: 23.98 kB / 0.5626 GB, free: 2.055 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.529e-05/0.3518, allocations: 33.7 kB / 0.5626 GB, free: 2.016 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.352, allocations: 69.62 kB / 0.5627 GB, free: 1.941 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.352, allocations: 0 / 0.5627 GB, free: 1.941 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002017/0.3522, allocations: 101.6 kB / 0.5628 GB, free: 1.836 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.3522, allocations: 7.938 kB / 0.5628 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.3522, allocations: 4.031 kB / 0.5628 GB, free: 1.824 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.3522, allocations: 4 kB / 0.5628 GB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.027e-05/0.3523, allocations: 12 kB / 0.5628 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.3523, allocations: 3.984 kB / 0.5628 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.932e-05/0.3523, allocations: 8 kB / 0.5628 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.3523, allocations: 384 / 0.5628 GB, free: 1.797 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.000105/0.3524, allocations: 124.5 kB / 0.563 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.3525, allocations: 15.95 kB / 0.563 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002783/0.3528, allocations: 135.2 kB / 0.5631 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3528, allocations: 0 / 0.5631 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.3528, allocations: 8 kB / 0.5631 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3528, allocations: 0 / 0.5631 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004604/0.3532, allocations: 350.9 kB / 0.5635 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3532, allocations: 0 / 0.5635 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.471e-05/0.3533, allocations: 19.86 kB / 0.5635 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.3533, allocations: 0 / 0.5635 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.3533, allocations: 4 kB / 0.5635 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3533, allocations: 0 / 0.5635 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.3533, allocations: 3.938 kB / 0.5635 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002695/0.3536, allocations: 224.2 kB / 0.5637 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.922e-05/0.3536, allocations: 7.953 kB / 0.5637 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.3536, allocations: 0 / 0.5637 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.46e-05/0.3537, allocations: 4 kB / 0.5637 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.194e-05/0.3537, allocations: 15.92 kB / 0.5637 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.3537, allocations: 4 kB / 0.5637 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001248/0.3539, allocations: 142 kB / 0.5639 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3539, allocations: 0 / 0.5639 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002723/0.3541, allocations: 20 kB / 0.5639 GB, free: 0.6602 MB / 398.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.001888/0.356, allocations: 494 kB / 0.5643 GB, free: 396 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001915/0.3562, allocations: 67.78 kB / 0.5644 GB, free: 328 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3562, allocations: 0 / 0.5644 GB, free: 328 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.137e-05/0.3563, allocations: 31.92 kB / 0.5644 GB, free: 296 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000346/0.3566, allocations: 31.84 kB / 0.5645 GB, free: 268 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000474/0.3571, allocations: 231.3 kB / 0.5647 GB, free: 4 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001122/0.3572, allocations: 88.19 kB / 0.5648 GB, free: 15.9 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.17e-05/0.3573, allocations: 17.27 kB / 0.5648 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.791e-05/0.3573, allocations: 15.44 kB / 0.5648 GB, free: 15.87 MB / 414.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3573, allocations: 4 kB / 0.5648 GB, free: 15.86 MB / 414.1 MB Notification: Performance of Templates: time 0.005272/0.3626, allocations: 1.906 MB / 0.5667 GB, free: 13.98 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.242898976430297]