Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.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.001006/0.001006, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001651/0.002657, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.0009869/0.0009869, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001088/0.002075, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.002/1.002, allocations: 158.6 MB / 171 MB, free: 2.18 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2447/1.247, allocations: 49.5 MB / 220.5 MB, free: 5.27 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1274/0.1274, allocations: 32.35 MB / 253.6 MB, free: 4.152 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02395/0.1514, allocations: 12.29 MB / 265.9 MB, free: 7.82 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 267.3 MB, free: 6.457 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.477e-05/2.655e-05, allocations: 10.25 kB / 267.3 MB, free: 6.445 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003603/0.003629, allocations: 1.774 MB / 269.1 MB, free: 4.652 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002435/0.006064, allocations: 1.548 MB / 270.6 MB, free: 3.094 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.006164, allocations: 4 kB / 270.6 MB, free: 3.09 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002887/0.006453, allocations: 39.64 kB / 270.7 MB, free: 3.051 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002375/0.006691, allocations: 63.64 kB / 270.7 MB, free: 2.988 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000288/0.006979, allocations: 91.69 kB / 270.8 MB, free: 2.898 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002036/0.007182, allocations: 87.72 kB / 270.9 MB, free: 2.812 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.00729, allocations: 12.22 kB / 270.9 MB, free: 2.801 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001646/0.007454, allocations: 75.77 kB / 271 MB, free: 2.727 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001387/0.007593, allocations: 31.89 kB / 271 MB, free: 2.695 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.331e-05/0.007616, allocations: 4 kB / 271 MB, free: 2.691 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001899/0.007806, allocations: 63.91 kB / 271.1 MB, free: 2.629 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.439e-05/0.007861, allocations: 11.94 kB / 271.1 MB, free: 2.617 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.925e-05/0.0079, allocations: 15.94 kB / 271.1 MB, free: 2.602 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002455/0.008145, allocations: 103.7 kB / 271.2 MB, free: 2.5 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.202e-05/0.008167, allocations: 0 / 271.2 MB, free: 2.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.00817, allocations: 7.875 kB / 271.2 MB, free: 2.492 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.913e-05/0.008189, allocations: 0 / 271.2 MB, free: 2.492 MB / 266.7 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.0005297/0.008718, allocations: 324 kB / 271.5 MB, free: 2.152 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.008754, allocations: 8.031 kB / 271.5 MB, free: 2.145 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.09e-05/0.008795, allocations: 8.922 kB / 271.5 MB, free: 2.137 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001925/0.008987, allocations: 141.6 kB / 271.7 MB, free: 1.973 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.009005, allocations: 4.375 kB / 271.7 MB, free: 1.969 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.009026, allocations: 384 / 271.7 MB, free: 1.969 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.009192, allocations: 113.1 kB / 271.8 MB, free: 1.836 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.009203, allocations: 3.938 kB / 271.8 MB, free: 1.832 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.009213, allocations: 4 kB / 271.8 MB, free: 1.828 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.009218, allocations: 0 / 271.8 MB, free: 1.828 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.689e-05/0.009255, allocations: 6.828 kB / 271.8 MB, free: 1.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002427/0.009497, allocations: 165.9 kB / 272 MB, free: 1.641 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.009611, allocations: 85.36 kB / 272.1 MB, free: 1.547 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.422e-05/0.009635, allocations: 8.859 kB / 272.1 MB, free: 1.535 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.392e-05/0.009649, allocations: 7.984 kB / 272.1 MB, free: 1.527 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000124/0.009773, allocations: 78.08 kB / 272.2 MB, free: 1.438 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.009775, allocations: 0 / 272.2 MB, free: 1.438 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003687/0.01014, allocations: 113.5 kB / 272.3 MB, free: 1.32 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.01018, allocations: 59.39 kB / 272.3 MB, free: 1.25 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.01031, allocations: 152.2 kB / 272.5 MB, free: 1.086 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.01034, allocations: 33.7 kB / 272.5 MB, free: 1.047 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.17e-05/0.01038, allocations: 91.98 kB / 272.6 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.271e-05/0.01041, allocations: 23.78 kB / 272.6 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.665e-05/0.01046, allocations: 25.69 kB / 272.6 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.096e-05/0.01055, allocations: 322.8 kB / 273 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.516e-05/0.01057, allocations: 14.81 kB / 273 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.573e-05/0.01062, allocations: 56.28 kB / 273 MB, free: 500 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.905e-05/0.01068, allocations: 44.44 kB / 273.1 MB, free: 448 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.01068, allocations: 0 / 273.1 MB, free: 448 kB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001137/0.01079, allocations: 76.36 kB / 273.1 MB, free: 364 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.01081, allocations: 4 kB / 273.2 MB, free: 360 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.01081, allocations: 4 kB / 273.2 MB, free: 356 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.687e-06/0.01082, allocations: 0 / 273.2 MB, free: 356 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.935e-05/0.01091, allocations: 16.06 kB / 273.2 MB, free: 340 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.01092, allocations: 7.984 kB / 273.2 MB, free: 332 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.559e-05/0.01096, allocations: 4 kB / 273.2 MB, free: 328 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.01097, allocations: 4 kB / 273.2 MB, free: 324 kB / 266.7 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 7.94e-05/0.01105, allocations: 112.7 kB / 273.3 MB, free: 200 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.253e-05/0.01107, allocations: 19.86 kB / 273.3 MB, free: 180 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001334/0.01121, allocations: 70.41 kB / 273.4 MB, free: 108 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.01121, allocations: 0 / 273.4 MB, free: 108 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.01121, allocations: 4 kB / 273.4 MB, free: 104 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.01122, allocations: 0 / 273.4 MB, free: 104 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003099/0.01153, allocations: 295.4 kB / 273.7 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.01153, allocations: 3.984 kB / 273.7 MB, free: 15.78 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.879e-05/0.01158, allocations: 15.94 kB / 273.7 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.347e-05/0.01159, allocations: 3.953 kB / 273.7 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.0116, allocations: 4 kB / 273.7 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.01161, allocations: 0 / 273.7 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.01161, allocations: 384 / 273.7 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.01161, allocations: 0 / 273.7 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001501/0.01176, allocations: 223 kB / 273.9 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.388e-05/0.01178, allocations: 4 kB / 273.9 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.527e-05/0.01186, allocations: 8.031 kB / 273.9 MB, free: 15.51 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.997e-05/0.01189, allocations: 7.984 kB / 273.9 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.0119, allocations: 7.938 kB / 273.9 MB, free: 15.49 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.948e-05/0.01195, allocations: 35.66 kB / 274 MB, free: 15.45 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01195, allocations: 0 / 274 MB, free: 15.45 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000256/0.01221, allocations: 31.92 kB / 274 MB, free: 15.42 MB / 282.7 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.002129/0.01434, allocations: 0.6917 MB / 274.7 MB, free: 14.71 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001347/0.01447, allocations: 48.72 kB / 274.8 MB, free: 14.66 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/0.01448, allocations: 8.062 kB / 274.8 MB, free: 14.66 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.993e-05/0.01452, allocations: 20.8 kB / 274.8 MB, free: 14.63 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/0.01479, allocations: 43.91 kB / 274.8 MB, free: 14.59 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005844/0.01537, allocations: 194.2 kB / 275 MB, free: 14.37 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.759e-05/0.01542, allocations: 63.34 kB / 275.1 MB, free: 14.29 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.703e-05/0.01549, allocations: 24.78 kB / 275.1 MB, free: 14.27 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.01559, allocations: 79.42 kB / 275.2 MB, free: 14.19 MB / 282.7 MB Notification: Performance of SimCode: time 1.042e-06/0.01559, allocations: 0 / 275.2 MB, free: 14.19 MB / 282.7 MB Notification: Performance of Templates: time 0.00587/0.02146, allocations: 2.34 MB / 277.5 MB, free: 11.84 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.998625695705414]