Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.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.001175/0.001175, allocations: 80.05 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.001286/0.001286, 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.9005/0.9005, allocations: 158.6 MB / 186 MB, free: 2.75 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.1334/0.1334, allocations: 32.39 MB / 270.7 MB, free: 14.58 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.Test56,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.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,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.Test56") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 299.2 MB, free: 2.078 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.225e-05/2.361e-05, allocations: 2.312 kB / 299.2 MB, free: 2.074 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.002526/0.002549, allocations: 1.786 MB / 301 MB, free: 280 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1354/0.138, allocations: 1.523 MB / 302.5 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.619e-05/0.1381, allocations: 4.844 kB / 302.5 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003089/0.1384, allocations: 39.92 kB / 302.5 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002249/0.1386, allocations: 60.02 kB / 302.6 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002349/0.1388, allocations: 87.52 kB / 302.7 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.139, allocations: 101.2 kB / 302.8 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.974e-05/0.1391, allocations: 10.31 kB / 302.8 MB, free: 19.11 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.707e-05/0.1391, allocations: 48.98 kB / 302.8 MB, free: 19.11 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.1393, allocations: 31 kB / 302.9 MB, free: 19.1 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.1393, allocations: 7.969 kB / 302.9 MB, free: 19.1 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001251/0.1394, allocations: 56.97 kB / 302.9 MB, free: 19.1 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.401e-05/0.1394, allocations: 22.2 kB / 303 MB, free: 19.09 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.004e-05/0.1395, allocations: 18.12 kB / 303 MB, free: 19.09 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002189/0.1397, allocations: 122.1 kB / 303.1 MB, free: 19.05 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1397, allocations: 0 / 303.1 MB, free: 19.05 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1397, allocations: 0 / 303.1 MB, free: 19.05 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.1397, allocations: 1.906 kB / 303.1 MB, free: 19.05 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.0003663/0.1401, allocations: 303 kB / 303.4 MB, free: 18.78 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.1401, allocations: 9.188 kB / 303.4 MB, free: 18.78 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.63e-05/0.1401, allocations: 8.203 kB / 303.4 MB, free: 18.78 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.1403, allocations: 141.6 kB / 303.5 MB, free: 18.64 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.1403, allocations: 2.188 kB / 303.5 MB, free: 18.64 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.1403, allocations: 4.297 kB / 303.6 MB, free: 18.64 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.1404, allocations: 109.2 kB / 303.7 MB, free: 18.54 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.1405, allocations: 5.375 kB / 303.7 MB, free: 18.53 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.642e-06/0.1405, allocations: 1.062 kB / 303.7 MB, free: 18.53 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.1405, allocations: 1.594 kB / 303.7 MB, free: 18.53 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.747e-05/0.1405, allocations: 11.3 kB / 303.7 MB, free: 18.53 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001896/0.1407, allocations: 167.6 kB / 303.8 MB, free: 18.38 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.978e-05/0.1408, allocations: 87.7 kB / 303.9 MB, free: 18.3 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.522e-05/0.1408, allocations: 11 kB / 303.9 MB, free: 18.29 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.1408, allocations: 1.188 kB / 303.9 MB, free: 18.29 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.717e-05/0.1409, allocations: 67.66 kB / 304 MB, free: 18.24 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.874e-06/0.1409, allocations: 4.594 kB / 304 MB, free: 18.23 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000334/0.1412, allocations: 117.8 kB / 304.1 MB, free: 18.19 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.13e-05/0.1413, allocations: 78.77 kB / 304.2 MB, free: 18.09 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.44e-05/0.1413, allocations: 151.9 kB / 304.4 MB, free: 17.97 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.527e-06/0.1414, allocations: 27.45 kB / 304.4 MB, free: 17.94 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.98e-05/0.1414, allocations: 92.2 kB / 304.5 MB, free: 17.86 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.1414, allocations: 28.83 kB / 304.5 MB, free: 17.84 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.282e-05/0.1414, allocations: 33.77 kB / 304.5 MB, free: 17.81 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.046e-05/0.1415, allocations: 320.9 kB / 304.8 MB, free: 17.5 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.884e-05/0.1415, allocations: 10.89 kB / 304.9 MB, free: 17.49 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.823e-05/0.1415, allocations: 57.06 kB / 304.9 MB, free: 17.43 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.292e-05/0.1416, allocations: 43.83 kB / 305 MB, free: 17.41 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1416, allocations: 1.859 kB / 305 MB, free: 17.41 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.516e-05/0.1416, allocations: 74.08 kB / 305 MB, free: 17.37 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.1417, allocations: 5.953 kB / 305 MB, free: 17.37 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1417, allocations: 1.031 kB / 305 MB, free: 17.37 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.1417, allocations: 1.531 kB / 305 MB, free: 17.37 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.292e-05/0.1417, allocations: 18.28 kB / 305.1 MB, free: 17.36 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.1417, allocations: 1.984 kB / 305.1 MB, free: 17.36 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.035e-05/0.1418, allocations: 6.938 kB / 305.1 MB, free: 17.36 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-06/0.1418, allocations: 1.656 kB / 305.1 MB, free: 17.36 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.581e-05/0.1418, allocations: 121.8 kB / 305.2 MB, free: 17.25 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.339e-05/0.1418, allocations: 10.97 kB / 305.2 MB, free: 17.24 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000141/0.142, allocations: 75.77 kB / 305.3 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.142, allocations: 4.438 kB / 305.3 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.142, allocations: 1.062 kB / 305.3 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.142, allocations: 0.6562 kB / 305.3 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002071/0.1422, allocations: 291.1 kB / 305.6 MB, free: 16.96 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1422, allocations: 5.984 kB / 305.6 MB, free: 16.95 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.815e-05/0.1422, allocations: 13.7 kB / 305.6 MB, free: 16.95 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.1422, allocations: 2.281 kB / 305.6 MB, free: 16.95 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.1422, allocations: 2.453 kB / 305.6 MB, free: 16.95 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.1423, allocations: 1.312 kB / 305.6 MB, free: 16.95 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.1423, allocations: 0 / 305.6 MB, free: 16.95 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001048/0.1424, allocations: 217.5 kB / 305.8 MB, free: 16.76 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.194e-05/0.1424, allocations: 7.672 kB / 305.8 MB, free: 16.75 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.1424, allocations: 11.11 kB / 305.8 MB, free: 16.75 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.306e-05/0.1424, allocations: 2.797 kB / 305.8 MB, free: 16.75 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.786e-05/0.1425, allocations: 11.34 kB / 305.8 MB, free: 16.75 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.1425, allocations: 6.344 kB / 305.8 MB, free: 16.75 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.087e-05/0.1425, allocations: 31.44 kB / 305.9 MB, free: 16.73 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1425, allocations: 0 / 305.9 MB, free: 16.73 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001761/0.1427, allocations: 32 kB / 305.9 MB, free: 16.73 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.001299/0.144, allocations: 0.6395 MB / 306.5 MB, free: 16.36 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000132/0.1441, allocations: 39.09 kB / 306.6 MB, free: 16.35 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.1441, allocations: 1.188 kB / 306.6 MB, free: 16.35 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.665e-05/0.1442, allocations: 29.14 kB / 306.6 MB, free: 16.34 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001957/0.1444, allocations: 33.77 kB / 306.6 MB, free: 16.32 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003101/0.1447, allocations: 190 kB / 306.8 MB, free: 16.16 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.574e-05/0.1447, allocations: 67.33 kB / 306.9 MB, free: 16.09 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.811e-05/0.1448, allocations: 14.78 kB / 306.9 MB, free: 16.09 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.401e-05/0.1448, allocations: 76 kB / 307 MB, free: 16.04 MB / 282.7 MB Notification: Performance of SimCode: time 1.343e-06/0.1448, allocations: 0 / 307 MB, free: 16.04 MB / 282.7 MB Notification: Performance of Templates: time 0.005758/0.1506, allocations: 2.309 MB / 309.3 MB, free: 15.71 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.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.9226776151917875]