Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.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.000994/0.000994, 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.001167/0.001167, 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.958/0.958, allocations: 158.6 MB / 186 MB, free: 2.77 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.1439/0.1439, 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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.385e-06/2.385e-06, allocations: 4 kB / 299.2 MB, free: 2.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.911e-05/2.149e-05, allocations: 2.312 kB / 299.2 MB, free: 2.086 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.002514/0.002535, allocations: 1.907 MB / 301.1 MB, free: 168 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1347/0.1373, allocations: 0.8993 MB / 302 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.347e-05/0.1374, allocations: 1.125 kB / 302 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004202/0.1378, allocations: 223.1 kB / 302.2 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002801/0.1381, allocations: 173.8 kB / 302.4 MB, free: 19.15 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002858/0.1383, allocations: 150.8 kB / 302.5 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002465/0.1386, allocations: 231 kB / 302.8 MB, free: 19.1 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.289e-05/0.1387, allocations: 11.44 kB / 302.8 MB, free: 19.1 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001718/0.1388, allocations: 134 kB / 302.9 MB, free: 19.09 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001699/0.139, allocations: 126.9 kB / 303 MB, free: 19.08 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.139, allocations: 8 kB / 303 MB, free: 19.08 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.256e-05/0.1391, allocations: 56.67 kB / 303.1 MB, free: 19.07 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.623e-05/0.1392, allocations: 56.39 kB / 303.1 MB, free: 19.06 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.81e-05/0.1392, allocations: 44.73 kB / 303.2 MB, free: 19.05 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002124/0.1395, allocations: 167.4 kB / 303.3 MB, free: 19.02 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.135e-06/0.1395, allocations: 1.25 kB / 303.3 MB, free: 19.02 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.1395, allocations: 0 / 303.3 MB, free: 19.02 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.1395, allocations: 3.938 kB / 303.4 MB, free: 19.02 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000406/0.1399, allocations: 456.5 kB / 303.8 MB, free: 18.66 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.1399, allocations: 11 kB / 303.8 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.237e-05/0.1399, allocations: 22.19 kB / 303.8 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001907/0.1401, allocations: 198 kB / 304 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.1402, allocations: 9.609 kB / 304 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.1402, allocations: 7.891 kB / 304 MB, free: 18.49 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.1403, allocations: 96.28 kB / 304.1 MB, free: 18.43 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.1403, allocations: 9.891 kB / 304.1 MB, free: 18.42 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.1403, allocations: 6.094 kB / 304.1 MB, free: 18.42 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1403, allocations: 1.656 kB / 304.2 MB, free: 18.42 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.072e-05/0.1404, allocations: 23.27 kB / 304.2 MB, free: 18.41 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002395/0.1406, allocations: 287 kB / 304.5 MB, free: 18.17 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.1407, allocations: 174.9 kB / 304.6 MB, free: 18.03 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.858e-05/0.1408, allocations: 23.25 kB / 304.6 MB, free: 18.01 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.1408, allocations: 6.562 kB / 304.7 MB, free: 18.01 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001092/0.1409, allocations: 106.7 kB / 304.8 MB, free: 17.94 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.133e-06/0.1409, allocations: 2.75 kB / 304.8 MB, free: 17.94 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003659/0.1412, allocations: 211.2 kB / 305 MB, free: 17.88 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.948e-05/0.1413, allocations: 83.72 kB / 305 MB, free: 17.78 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/0.1414, allocations: 313.5 kB / 305.4 MB, free: 17.66 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.1415, allocations: 30.7 kB / 305.4 MB, free: 17.63 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.073e-05/0.1415, allocations: 114 kB / 305.5 MB, free: 17.55 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.153e-05/0.1415, allocations: 47.95 kB / 305.5 MB, free: 17.52 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.57e-05/0.1416, allocations: 34.83 kB / 305.6 MB, free: 17.5 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.149e-05/0.1416, allocations: 344.2 kB / 305.9 MB, free: 17.19 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.56e-05/0.1416, allocations: 22.06 kB / 305.9 MB, free: 17.18 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.649e-05/0.1417, allocations: 51.23 kB / 306 MB, free: 17.15 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.577e-05/0.1417, allocations: 83.41 kB / 306.1 MB, free: 17.11 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1417, allocations: 5.031 kB / 306.1 MB, free: 17.1 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001178/0.1419, allocations: 113.1 kB / 306.2 MB, free: 17.06 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.1419, allocations: 6.359 kB / 306.2 MB, free: 17.06 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1419, allocations: 1.156 kB / 306.2 MB, free: 17.06 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.1419, allocations: 2.438 kB / 306.2 MB, free: 17.06 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.764e-05/0.142, allocations: 39.06 kB / 306.2 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/0.142, allocations: 3.969 kB / 306.2 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.288e-05/0.142, allocations: 9.828 kB / 306.2 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.142, allocations: 7.078 kB / 306.3 MB, free: 17.05 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 5.536e-05/0.1421, allocations: 123.4 kB / 306.4 MB, free: 16.93 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.414e-05/0.1421, allocations: 24.16 kB / 306.4 MB, free: 16.93 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001469/0.1423, allocations: 131.2 kB / 306.5 MB, free: 16.88 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.1423, allocations: 5.656 kB / 306.5 MB, free: 16.88 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.1423, allocations: 1.5 kB / 306.5 MB, free: 16.88 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.1423, allocations: 2.219 kB / 306.5 MB, free: 16.88 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002714/0.1425, allocations: 0.4925 MB / 307 MB, free: 16.49 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1425, allocations: 1.156 kB / 307 MB, free: 16.49 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.137e-05/0.1426, allocations: 24.98 kB / 307 MB, free: 16.49 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.1426, allocations: 1.875 kB / 307.1 MB, free: 16.49 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.1426, allocations: 4.5 kB / 307.1 MB, free: 16.49 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.1426, allocations: 1.531 kB / 307.1 MB, free: 16.49 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.1426, allocations: 9.188 kB / 307.1 MB, free: 16.48 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001343/0.1427, allocations: 381.2 kB / 307.4 MB, free: 16.17 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.881e-05/0.1427, allocations: 21.84 kB / 307.5 MB, free: 16.16 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.191e-05/0.1428, allocations: 7.344 kB / 307.5 MB, free: 16.16 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.827e-05/0.1428, allocations: 9.594 kB / 307.5 MB, free: 16.15 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.442e-05/0.1429, allocations: 20.05 kB / 307.5 MB, free: 16.15 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.1429, allocations: 6.156 kB / 307.5 MB, free: 16.15 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001039/0.143, allocations: 140.5 kB / 307.6 MB, free: 16.12 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.143, allocations: 0 / 307.6 MB, free: 16.12 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001966/0.1432, allocations: 52.12 kB / 307.7 MB, free: 16.1 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001126/0.1443, allocations: 0.5759 MB / 308.3 MB, free: 15.77 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00012/0.1444, allocations: 88.3 kB / 308.4 MB, free: 15.74 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.1444, allocations: 2.906 kB / 308.4 MB, free: 15.74 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.764e-05/0.1445, allocations: 48.22 kB / 308.4 MB, free: 15.72 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.1448, allocations: 69.38 kB / 308.5 MB, free: 15.7 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004036/0.1452, allocations: 425.3 kB / 308.9 MB, free: 15.41 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.872e-05/0.1452, allocations: 94.78 kB / 309 MB, free: 15.34 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.373e-05/0.1453, allocations: 32.72 kB / 309 MB, free: 15.32 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.471e-05/0.1454, allocations: 88.73 kB / 309.1 MB, free: 15.27 MB / 282.7 MB Notification: Performance of SimCode: time 4.41e-07/0.1454, allocations: 0 / 309.1 MB, free: 15.27 MB / 282.7 MB Notification: Performance of Templates: time 0.004867/0.1502, allocations: 3.185 MB / 312.3 MB, free: 14.54 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.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.9592597940936685]