Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.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.001814/0.001814, allocations: 74.97 kB / 19.93 MB, free: 1.77 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.002195/0.002195, allocations: 170.4 kB / 23.22 MB, free: 4.887 MB / 14.72 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.5/1.5, allocations: 158.6 MB / 185 MB, free: 6.387 MB / 174.1 MB " [Timeout remaining time 178] 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.2518/0.2518, allocations: 32.38 MB / 269.6 MB, free: 4.652 MB / 254.1 MB " [Timeout remaining time 179] 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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0 / 407.4 MB, free: 2.926 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.822e-05/4.019e-05, allocations: 2.281 kB / 407.4 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.00375/0.003791, allocations: 1.682 MB / 409.1 MB, free: 1.227 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001663/0.005454, allocations: 0.7724 MB / 409.9 MB, free: 456 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.743e-05/0.005541, allocations: 0 / 409.9 MB, free: 456 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000375/0.005916, allocations: 47.77 kB / 409.9 MB, free: 408 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002723/0.006188, allocations: 55.7 kB / 410 MB, free: 352 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002987/0.006487, allocations: 87.06 kB / 410.1 MB, free: 268 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002258/0.006713, allocations: 103.6 kB / 410.2 MB, free: 164 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.006829, allocations: 8.172 kB / 410.2 MB, free: 156 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.006947, allocations: 51.83 kB / 410.2 MB, free: 104 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.955e-05/0.007046, allocations: 27.91 kB / 410.3 MB, free: 76 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.583e-05/0.007082, allocations: 8 kB / 410.3 MB, free: 68 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.00722, allocations: 43.88 kB / 410.3 MB, free: 24 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.401e-05/0.007294, allocations: 23.91 kB / 410.3 MB, free: 0 / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.332e-05/0.007377, allocations: 16.05 kB / 410.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002872/0.007664, allocations: 119.6 kB / 410.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.007669, allocations: 0 / 410.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.007671, allocations: 0 / 410.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.007678, allocations: 0 / 410.5 MB, free: 15.86 MB / 350.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.0006685/0.008346, allocations: 333.6 kB / 410.8 MB, free: 15.51 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.008389, allocations: 8.031 kB / 410.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.484e-05/0.008444, allocations: 16.88 kB / 410.8 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003544/0.008798, allocations: 153.5 kB / 411 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.008814, allocations: 384 / 411 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.284e-05/0.008847, allocations: 4.375 kB / 411 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.009027, allocations: 58.17 kB / 411 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.56e-05/0.009052, allocations: 3.938 kB / 411 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.009064, allocations: 0 / 411 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.00907, allocations: 4 kB / 411 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.664e-05/0.009156, allocations: 23.98 kB / 411.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004128/0.009569, allocations: 220.6 kB / 411.3 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002165/0.009786, allocations: 66.61 kB / 411.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.996e-05/0.009856, allocations: 28.78 kB / 411.4 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.009878, allocations: 0 / 411.4 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001788/0.01006, allocations: 71.33 kB / 411.4 MB, free: 14.78 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.804e-06/0.01006, allocations: 0 / 411.4 MB, free: 14.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007208/0.01078, allocations: 189.3 kB / 411.6 MB, free: 14.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.522e-05/0.01084, allocations: 51.41 kB / 411.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002486/0.01109, allocations: 190.2 kB / 411.9 MB, free: 14.33 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.01112, allocations: 29.7 kB / 411.9 MB, free: 14.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.815e-05/0.01121, allocations: 104.1 kB / 412 MB, free: 14.19 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.441e-05/0.01125, allocations: 19.86 kB / 412 MB, free: 14.17 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.399e-05/0.01131, allocations: 29.7 kB / 412 MB, free: 14.13 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001892/0.0115, allocations: 322.8 kB / 412.4 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.347e-05/0.01156, allocations: 16 kB / 412.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.309e-05/0.01164, allocations: 45.58 kB / 412.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.01178, allocations: 61.64 kB / 412.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.01178, allocations: 0 / 412.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002442/0.01203, allocations: 109.6 kB / 412.6 MB, free: 13.56 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.01205, allocations: 4 kB / 412.6 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.01206, allocations: 0 / 412.6 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.763e-05/0.01208, allocations: 4 kB / 412.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.01221, allocations: 15.98 kB / 412.6 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.01221, allocations: 0 / 412.6 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.39e-05/0.01227, allocations: 7.953 kB / 412.6 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.01228, allocations: 4 kB / 412.6 MB, free: 13.53 MB / 350.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.0001944/0.01247, allocations: 141.2 kB / 412.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.642e-05/0.0125, allocations: 7.953 kB / 412.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003677/0.01287, allocations: 126.5 kB / 412.9 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.01287, allocations: 0 / 412.9 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-05/0.01288, allocations: 4 kB / 412.9 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.01289, allocations: 0 / 412.9 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005962/0.01348, allocations: 346.9 kB / 413.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.01349, allocations: 0 / 413.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.139e-05/0.01353, allocations: 8 kB / 413.2 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.01353, allocations: 0 / 413.2 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.01355, allocations: 8 kB / 413.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.01355, allocations: 4.406 kB / 413.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.01355, allocations: 0 / 413.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002789/0.01383, allocations: 220.2 kB / 413.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.043e-05/0.01385, allocations: 15.89 kB / 413.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.578e-05/0.01387, allocations: 0 / 413.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.705e-05/0.01395, allocations: 8 kB / 413.5 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.751e-05/0.01401, allocations: 11.97 kB / 413.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.01403, allocations: 4.375 kB / 413.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001444/0.01417, allocations: 147.1 kB / 413.7 MB, free: 12.42 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01417, allocations: 4 kB / 413.7 MB, free: 12.42 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002806/0.01445, allocations: 20 kB / 413.7 MB, free: 12.4 MB / 350.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.00204/0.01649, allocations: 0.4908 MB / 414.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002144/0.01671, allocations: 47.98 kB / 414.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.01671, allocations: 4.062 kB / 414.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.222e-05/0.0168, allocations: 39.91 kB / 414.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.01718, allocations: 27.97 kB / 414.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005624/0.01775, allocations: 222.6 kB / 414.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001221/0.01787, allocations: 92.3 kB / 414.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.385e-05/0.01792, allocations: 24.66 kB / 414.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.736e-05/0.01797, allocations: 20.48 kB / 414.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.01797, allocations: 3.938 kB / 414.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of Templates: time 0.005943/0.02391, allocations: 1.819 MB / 416.5 MB, free: 9.668 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.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.328442230820656]