Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.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.001044/0.001044, 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.0009271/0.0009271, allocations: 169 kB / 24.14 MB, free: 360 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.9488/0.9488, allocations: 158.6 MB / 186 MB, free: 2.758 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.162/0.162, allocations: 32.38 MB / 270.7 MB, free: 14.59 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 299.2 MB, free: 2.078 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.556e-05/1.701e-05, allocations: 2.312 kB / 299.2 MB, free: 2.074 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.002212/0.002229, allocations: 1.778 MB / 301 MB, free: 288 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.121/0.1232, allocations: 0.7988 MB / 301.8 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.595e-05/0.1233, allocations: 0 / 301.8 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003159/0.1236, allocations: 101.2 kB / 301.9 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001861/0.1238, allocations: 92.91 kB / 302 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000184/0.124, allocations: 93.02 kB / 302 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001485/0.1241, allocations: 110.5 kB / 302.2 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.678e-05/0.1242, allocations: 6.078 kB / 302.2 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.34e-05/0.1243, allocations: 71 kB / 302.2 MB, free: 19.15 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.082e-05/0.1244, allocations: 53.16 kB / 302.3 MB, free: 19.15 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.1244, allocations: 4.219 kB / 302.3 MB, free: 19.15 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.375e-05/0.1245, allocations: 41.7 kB / 302.3 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.52e-05/0.1245, allocations: 26.56 kB / 302.4 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.161e-05/0.1245, allocations: 23.52 kB / 302.4 MB, free: 19.13 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001663/0.1247, allocations: 104.5 kB / 302.5 MB, free: 19.12 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1247, allocations: 0 / 302.5 MB, free: 19.12 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1247, allocations: 1.156 kB / 302.5 MB, free: 19.12 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.1247, allocations: 0.5312 kB / 302.5 MB, free: 19.12 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.000346/0.1251, allocations: 335.2 kB / 302.8 MB, free: 18.83 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.976e-05/0.1251, allocations: 10.34 kB / 302.8 MB, free: 18.83 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.179e-05/0.1251, allocations: 13.16 kB / 302.8 MB, free: 18.83 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.1253, allocations: 149.2 kB / 303 MB, free: 18.69 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.1253, allocations: 6.406 kB / 303 MB, free: 18.68 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.1253, allocations: 3.312 kB / 303 MB, free: 18.68 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.628e-05/0.1254, allocations: 62.14 kB / 303 MB, free: 18.63 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.1254, allocations: 6.656 kB / 303.1 MB, free: 18.63 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.772e-06/0.1254, allocations: 3.531 kB / 303.1 MB, free: 18.63 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.1254, allocations: 2.344 kB / 303.1 MB, free: 18.63 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.442e-05/0.1254, allocations: 11.88 kB / 303.1 MB, free: 18.62 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001761/0.1256, allocations: 169.7 kB / 303.2 MB, free: 18.47 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.458e-05/0.1257, allocations: 85.55 kB / 303.3 MB, free: 18.4 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.935e-05/0.1257, allocations: 14.19 kB / 303.3 MB, free: 18.39 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.1257, allocations: 1.031 kB / 303.3 MB, free: 18.39 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.082e-05/0.1258, allocations: 70.31 kB / 303.4 MB, free: 18.34 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.1258, allocations: 1.625 kB / 303.4 MB, free: 18.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000275/0.1261, allocations: 116.9 kB / 303.5 MB, free: 18.3 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.915e-05/0.1261, allocations: 53.52 kB / 303.6 MB, free: 18.23 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.1262, allocations: 200.1 kB / 303.8 MB, free: 18.11 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.077e-05/0.1262, allocations: 27.61 kB / 303.8 MB, free: 18.08 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.258e-05/0.1262, allocations: 98.12 kB / 303.9 MB, free: 18 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.405e-05/0.1263, allocations: 26.14 kB / 303.9 MB, free: 17.98 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.603e-05/0.1263, allocations: 22.78 kB / 303.9 MB, free: 17.97 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.395e-05/0.1263, allocations: 328.3 kB / 304.3 MB, free: 17.66 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.603e-05/0.1263, allocations: 9.859 kB / 304.3 MB, free: 17.65 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.302e-05/0.1264, allocations: 23.45 kB / 304.3 MB, free: 17.64 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.308e-05/0.1264, allocations: 50.84 kB / 304.3 MB, free: 17.61 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1264, allocations: 0 / 304.3 MB, free: 17.61 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.652e-05/0.1265, allocations: 74.84 kB / 304.4 MB, free: 17.57 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/0.1265, allocations: 5.688 kB / 304.4 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.1265, allocations: 2.797 kB / 304.4 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.1265, allocations: 1.875 kB / 304.4 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.335e-05/0.1266, allocations: 20.34 kB / 304.4 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.966e-06/0.1266, allocations: 0 / 304.4 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.674e-05/0.1266, allocations: 8.828 kB / 304.5 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-06/0.1266, allocations: 2.734 kB / 304.5 MB, free: 17.57 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.262e-05/0.1267, allocations: 116.6 kB / 304.6 MB, free: 17.45 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.507e-05/0.1267, allocations: 15.03 kB / 304.6 MB, free: 17.45 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.771e-05/0.1268, allocations: 79.98 kB / 304.7 MB, free: 17.41 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.1268, allocations: 5.688 kB / 304.7 MB, free: 17.4 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.1268, allocations: 1.188 kB / 304.7 MB, free: 17.4 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.1268, allocations: 7.422 kB / 304.7 MB, free: 17.4 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/0.127, allocations: 296.5 kB / 305 MB, free: 17.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.127, allocations: 0 / 305 MB, free: 17.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.587e-05/0.127, allocations: 10.78 kB / 305 MB, free: 17.16 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.127, allocations: 1.25 kB / 305 MB, free: 17.16 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-06/0.127, allocations: 1.859 kB / 305 MB, free: 17.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.127, allocations: 1.781 kB / 305 MB, free: 17.16 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.127, allocations: 1.188 kB / 305 MB, free: 17.16 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.577e-05/0.1271, allocations: 221.7 kB / 305.2 MB, free: 16.97 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.2e-05/0.1271, allocations: 15.48 kB / 305.2 MB, free: 16.96 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.1271, allocations: 3.047 kB / 305.2 MB, free: 16.96 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.87e-05/0.1271, allocations: 2.094 kB / 305.2 MB, free: 16.96 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.456e-05/0.1272, allocations: 11.69 kB / 305.2 MB, free: 16.96 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.1272, allocations: 1.75 kB / 305.2 MB, free: 16.96 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.373e-05/0.1272, allocations: 70.89 kB / 305.3 MB, free: 16.94 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1272, allocations: 0 / 305.3 MB, free: 16.94 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001454/0.1274, allocations: 26.47 kB / 305.3 MB, free: 16.94 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.001081/0.1284, allocations: 0.5695 MB / 305.9 MB, free: 16.64 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.686e-05/0.1285, allocations: 45.7 kB / 305.9 MB, free: 16.62 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.1285, allocations: 2.375 kB / 305.9 MB, free: 16.62 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.991e-05/0.1286, allocations: 24.59 kB / 306 MB, free: 16.61 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000174/0.1287, allocations: 37.38 kB / 306 MB, free: 16.6 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002808/0.129, allocations: 243.5 kB / 306.2 MB, free: 16.43 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.378e-05/0.1291, allocations: 70.03 kB / 306.3 MB, free: 16.36 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.632e-05/0.1291, allocations: 12.3 kB / 306.3 MB, free: 16.36 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.542e-05/0.1291, allocations: 66.91 kB / 306.4 MB, free: 16.31 MB / 282.7 MB Notification: Performance of SimCode: time 4.91e-07/0.1291, allocations: 0 / 306.4 MB, free: 16.31 MB / 282.7 MB Notification: Performance of Templates: time 0.003989/0.1331, allocations: 2.023 MB / 308.4 MB, free: 16.05 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.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.9918006397783756]