Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.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.001005/0.001005, allocations: 79.92 kB / 20.72 MB, free: 3.77 MB / 18.57 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.0009833/0.0009833, allocations: 169 kB / 24.14 MB, free: 364 kB / 18.57 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 0.9511/0.9511, allocations: 158.6 MB / 186 MB, free: 2.773 MB / 170.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.1433/0.1433, allocations: 32.38 MB / 270.7 MB, free: 14.6 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.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 299.1 MB, free: 2.141 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.352e-05/1.498e-05, allocations: 2.312 kB / 299.1 MB, free: 2.137 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.001903/0.001918, allocations: 1.731 MB / 300.9 MB, free: 400 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1163/0.1182, allocations: 0.7975 MB / 301.7 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.503e-05/0.1183, allocations: 1.219 kB / 301.7 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002777/0.1186, allocations: 41.78 kB / 301.7 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001878/0.1187, allocations: 65.22 kB / 301.8 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000186/0.1189, allocations: 83.34 kB / 301.9 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000127/0.1191, allocations: 97.06 kB / 302 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.939e-05/0.1191, allocations: 7.266 kB / 302 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.294e-05/0.1192, allocations: 54.45 kB / 302 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.423e-05/0.1193, allocations: 29.75 kB / 302 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.1193, allocations: 7.531 kB / 302 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.07e-05/0.1194, allocations: 38.61 kB / 302.1 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.654e-05/0.1194, allocations: 22.53 kB / 302.1 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.236e-05/0.1194, allocations: 19.34 kB / 302.1 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001599/0.1196, allocations: 96.53 kB / 302.2 MB, free: 19.16 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1196, allocations: 0.7969 kB / 302.2 MB, free: 19.16 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1196, allocations: 4.719 kB / 302.2 MB, free: 19.16 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.357e-06/0.1196, allocations: 1.156 kB / 302.2 MB, free: 19.16 MB / 282.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.0003111/0.1199, allocations: 319.6 kB / 302.5 MB, free: 18.88 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/0.12, allocations: 10.72 kB / 302.6 MB, free: 18.88 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.995e-05/0.12, allocations: 8.5 kB / 302.6 MB, free: 18.88 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.1201, allocations: 145.1 kB / 302.7 MB, free: 18.74 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.1201, allocations: 3.047 kB / 302.7 MB, free: 18.74 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.679e-05/0.1201, allocations: 5.594 kB / 302.7 MB, free: 18.74 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.047e-05/0.1202, allocations: 64.56 kB / 302.8 MB, free: 18.69 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.904e-06/0.1202, allocations: 6.906 kB / 302.8 MB, free: 18.68 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.262e-06/0.1202, allocations: 2.938 kB / 302.8 MB, free: 18.68 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.1202, allocations: 2.328 kB / 302.8 MB, free: 18.68 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.24e-05/0.1203, allocations: 10.42 kB / 302.8 MB, free: 18.68 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001569/0.1204, allocations: 165 kB / 303 MB, free: 18.53 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.286e-05/0.1205, allocations: 87.52 kB / 303 MB, free: 18.46 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.032e-05/0.1205, allocations: 15.98 kB / 303.1 MB, free: 18.45 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.578e-06/0.1205, allocations: 2.031 kB / 303.1 MB, free: 18.45 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.998e-05/0.1206, allocations: 67.45 kB / 303.1 MB, free: 18.39 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.1206, allocations: 0.6562 kB / 303.1 MB, free: 18.39 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002532/0.1208, allocations: 112.3 kB / 303.2 MB, free: 18.35 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.948e-05/0.1209, allocations: 56.67 kB / 303.3 MB, free: 18.29 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.887e-05/0.121, allocations: 173 kB / 303.5 MB, free: 18.18 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.348e-06/0.121, allocations: 31.03 kB / 303.5 MB, free: 18.14 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.833e-05/0.121, allocations: 94.55 kB / 303.6 MB, free: 18.06 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.121, allocations: 27.17 kB / 303.6 MB, free: 18.05 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.689e-05/0.121, allocations: 25.48 kB / 303.6 MB, free: 18.03 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.352e-05/0.1211, allocations: 324.5 kB / 303.9 MB, free: 17.71 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.496e-05/0.1211, allocations: 10.75 kB / 304 MB, free: 17.71 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.151e-05/0.1211, allocations: 24 kB / 304 MB, free: 17.7 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.281e-05/0.1211, allocations: 48.8 kB / 304 MB, free: 17.67 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1211, allocations: 3.188 kB / 304 MB, free: 17.67 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.09e-05/0.1212, allocations: 69.33 kB / 304.1 MB, free: 17.63 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.1212, allocations: 6 kB / 304.1 MB, free: 17.63 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1212, allocations: 5.297 kB / 304.1 MB, free: 17.63 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.1212, allocations: 2.375 kB / 304.1 MB, free: 17.63 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.421e-05/0.1213, allocations: 14.81 kB / 304.1 MB, free: 17.63 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.1213, allocations: 1.969 kB / 304.1 MB, free: 17.63 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.503e-05/0.1213, allocations: 4.906 kB / 304.1 MB, free: 17.63 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.1213, allocations: 2.5 kB / 304.1 MB, free: 17.63 MB / 282.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 4.733e-05/0.1214, allocations: 118 kB / 304.3 MB, free: 17.51 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.247e-05/0.1214, allocations: 13.47 kB / 304.3 MB, free: 17.51 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.717e-05/0.1215, allocations: 76.53 kB / 304.3 MB, free: 17.47 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.1215, allocations: 2.688 kB / 304.3 MB, free: 17.47 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.1215, allocations: 0 / 304.3 MB, free: 17.47 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.1215, allocations: 1.609 kB / 304.3 MB, free: 17.47 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000191/0.1217, allocations: 304.5 kB / 304.6 MB, free: 17.22 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1217, allocations: 1.281 kB / 304.6 MB, free: 17.22 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.526e-05/0.1217, allocations: 8.594 kB / 304.7 MB, free: 17.22 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1217, allocations: 1.156 kB / 304.7 MB, free: 17.22 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.168e-06/0.1217, allocations: 10.08 kB / 304.7 MB, free: 17.22 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1217, allocations: 1.281 kB / 304.7 MB, free: 17.22 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1217, allocations: 5.219 kB / 304.7 MB, free: 17.22 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.123e-05/0.1218, allocations: 212.1 kB / 304.9 MB, free: 17.03 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.076e-05/0.1218, allocations: 9.438 kB / 304.9 MB, free: 17.03 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.1218, allocations: 3.375 kB / 304.9 MB, free: 17.03 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.617e-05/0.1219, allocations: 10.55 kB / 304.9 MB, free: 17.02 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.405e-05/0.1219, allocations: 9.688 kB / 304.9 MB, free: 17.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.1219, allocations: 4.188 kB / 304.9 MB, free: 17.02 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.396e-05/0.122, allocations: 53.91 kB / 305 MB, free: 17 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.122, allocations: 1.188 kB / 305 MB, free: 17 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001429/0.1221, allocations: 25.84 kB / 305 MB, free: 17 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.001238/0.1233, allocations: 0.5759 MB / 305.6 MB, free: 16.68 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.76e-05/0.1234, allocations: 43.08 kB / 305.6 MB, free: 16.67 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.1234, allocations: 1.156 kB / 305.6 MB, free: 16.67 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.123e-05/0.1235, allocations: 28.5 kB / 305.6 MB, free: 16.66 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000168/0.1236, allocations: 41 kB / 305.7 MB, free: 16.64 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002535/0.1239, allocations: 216.2 kB / 305.9 MB, free: 16.48 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.082e-05/0.1239, allocations: 70.59 kB / 306 MB, free: 16.41 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.159e-05/0.124, allocations: 13.59 kB / 306 MB, free: 16.41 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.358e-05/0.124, allocations: 66.39 kB / 306 MB, free: 16.36 MB / 282.7 MB Notification: Performance of SimCode: time 5.31e-07/0.124, allocations: 0 / 306 MB, free: 16.36 MB / 282.7 MB Notification: Performance of Templates: time 0.003709/0.1277, allocations: 2.001 MB / 308 MB, free: 16.11 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.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.994143940974027]