Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.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.0007567/0.0007567, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.0009577/0.0009577, allocations: 169 kB / 24.14 MB, free: 356 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.9506/0.9506, allocations: 158.6 MB / 186 MB, free: 2.762 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.1557/0.1557, 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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 299.2 MB, free: 2.086 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.369e-05/2.53e-05, allocations: 2.312 kB / 299.2 MB, free: 2.082 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.003727/0.003753, allocations: 1.743 MB / 300.9 MB, free: 332 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1323/0.136, allocations: 0.7809 MB / 301.7 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.446e-05/0.1361, allocations: 2.031 kB / 301.7 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003264/0.1364, allocations: 46.83 kB / 301.8 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002134/0.1367, allocations: 66.84 kB / 301.8 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002303/0.1369, allocations: 82.44 kB / 301.9 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.137, allocations: 93.03 kB / 302 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.228e-05/0.1371, allocations: 6.984 kB / 302 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.625e-05/0.1372, allocations: 49.34 kB / 302.1 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.664e-05/0.1373, allocations: 20.81 kB / 302.1 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.1373, allocations: 3.656 kB / 302.1 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.917e-05/0.1374, allocations: 34.61 kB / 302.1 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.891e-05/0.1374, allocations: 32.48 kB / 302.1 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.589e-05/0.1374, allocations: 13.47 kB / 302.2 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.1376, allocations: 107 kB / 302.3 MB, free: 19.14 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1376, allocations: 1.25 kB / 302.3 MB, free: 19.14 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1376, allocations: 0 / 302.3 MB, free: 19.14 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.1376, allocations: 0 / 302.3 MB, free: 19.14 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003954/0.138, allocations: 330 kB / 302.6 MB, free: 18.86 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.1381, allocations: 10.05 kB / 302.6 MB, free: 18.86 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.229e-05/0.1381, allocations: 9.312 kB / 302.6 MB, free: 18.86 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.1383, allocations: 148.7 kB / 302.7 MB, free: 18.72 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.1383, allocations: 2.344 kB / 302.7 MB, free: 18.72 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-06/0.1383, allocations: 3.594 kB / 302.8 MB, free: 18.72 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.407e-05/0.1384, allocations: 64.7 kB / 302.8 MB, free: 18.67 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.1384, allocations: 3.938 kB / 302.8 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.1384, allocations: 2.359 kB / 302.8 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.1384, allocations: 4.594 kB / 302.8 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.243e-05/0.1384, allocations: 9.203 kB / 302.8 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.247e-05/0.1385, allocations: 73.06 kB / 302.9 MB, free: 18.59 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.112e-05/0.1386, allocations: 35.53 kB / 302.9 MB, free: 18.56 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.819e-05/0.1386, allocations: 10.86 kB / 303 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.1386, allocations: 3.547 kB / 303 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.999e-05/0.1387, allocations: 70.8 kB / 303 MB, free: 18.49 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 2.074e-06/0.1387, allocations: 0 / 303 MB, free: 18.49 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001198/0.1389, allocations: 57.3 kB / 303.1 MB, free: 18.46 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.949e-05/0.1389, allocations: 57.69 kB / 303.1 MB, free: 18.39 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.139, allocations: 208.1 kB / 303.3 MB, free: 18.28 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.856e-06/0.139, allocations: 30.23 kB / 303.4 MB, free: 18.25 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.794e-05/0.139, allocations: 95.66 kB / 303.5 MB, free: 18.16 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.848e-05/0.1391, allocations: 19.73 kB / 303.5 MB, free: 18.15 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-05/0.1391, allocations: 19.97 kB / 303.5 MB, free: 18.14 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.084e-05/0.1391, allocations: 327.7 kB / 303.8 MB, free: 17.82 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.684e-05/0.1391, allocations: 10.08 kB / 303.8 MB, free: 17.82 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.163e-05/0.1392, allocations: 25.47 kB / 303.9 MB, free: 17.8 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.961e-05/0.1392, allocations: 32.14 kB / 303.9 MB, free: 17.78 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.1392, allocations: 1.062 kB / 303.9 MB, free: 17.78 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.401e-05/0.1393, allocations: 64.45 kB / 303.9 MB, free: 17.74 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.1393, allocations: 5.906 kB / 304 MB, free: 17.74 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.1393, allocations: 7.656 kB / 304 MB, free: 17.74 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.1393, allocations: 0 / 304 MB, free: 17.74 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.768e-05/0.1394, allocations: 15.16 kB / 304 MB, free: 17.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.868e-06/0.1394, allocations: 3.016 kB / 304 MB, free: 17.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.912e-05/0.1394, allocations: 3.016 kB / 304 MB, free: 17.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.1394, allocations: 1.812 kB / 304 MB, free: 17.73 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 (7): * Single equations (assignments): 7 * 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.452e-05/0.1395, allocations: 116.5 kB / 304.1 MB, free: 17.62 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.399e-05/0.1395, allocations: 10.16 kB / 304.1 MB, free: 17.62 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001064/0.1396, allocations: 70.67 kB / 304.2 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.1396, allocations: 5.062 kB / 304.2 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.1396, allocations: 3.938 kB / 304.2 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.1396, allocations: 2.234 kB / 304.2 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.36e-05/0.1397, allocations: 90.88 kB / 304.3 MB, free: 17.49 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1397, allocations: 0 / 304.3 MB, free: 17.49 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.568e-05/0.1397, allocations: 6.359 kB / 304.3 MB, free: 17.49 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.1397, allocations: 0 / 304.3 MB, free: 17.49 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-06/0.1397, allocations: 2.281 kB / 304.3 MB, free: 17.49 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1397, allocations: 1.062 kB / 304.3 MB, free: 17.49 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1397, allocations: 0 / 304.3 MB, free: 17.49 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.425e-05/0.1398, allocations: 95.17 kB / 304.4 MB, free: 17.41 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.429e-05/0.1398, allocations: 13.31 kB / 304.4 MB, free: 17.41 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.1398, allocations: 4.781 kB / 304.4 MB, free: 17.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.947e-05/0.1398, allocations: 4.016 kB / 304.4 MB, free: 17.41 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.438e-05/0.1399, allocations: 3.797 kB / 304.4 MB, free: 17.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.1399, allocations: 6.438 kB / 304.4 MB, free: 17.41 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.297e-05/0.1399, allocations: 74.42 kB / 304.5 MB, free: 17.39 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1399, allocations: 0 / 304.5 MB, free: 17.39 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001306/0.1401, allocations: 27.48 kB / 304.5 MB, free: 17.38 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001102/0.1412, allocations: 0.4994 MB / 305 MB, free: 17.12 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.579e-05/0.1413, allocations: 32.94 kB / 305 MB, free: 17.11 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.1413, allocations: 2.125 kB / 305 MB, free: 17.11 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.175e-05/0.1413, allocations: 19.5 kB / 305.1 MB, free: 17.1 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001675/0.1415, allocations: 30.08 kB / 305.1 MB, free: 17.1 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003242/0.1418, allocations: 222.2 kB / 305.3 MB, free: 16.94 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.43e-05/0.1418, allocations: 68.08 kB / 305.4 MB, free: 16.87 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.817e-05/0.1419, allocations: 17.47 kB / 305.4 MB, free: 16.86 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.937e-05/0.1419, allocations: 67.36 kB / 305.5 MB, free: 16.81 MB / 282.7 MB Notification: Performance of SimCode: time 1.032e-06/0.1419, allocations: 0 / 305.5 MB, free: 16.81 MB / 282.7 MB Notification: Performance of Templates: time 0.004037/0.146, allocations: 1.758 MB / 307.2 MB, free: 16.61 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.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.857112128287554]