Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.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.001027/0.001027, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.001008/0.001008, allocations: 173 kB / 24.06 MB, free: 456 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.983/0.983, allocations: 158.6 MB / 186 MB, free: 2.781 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.1355/0.1355, allocations: 32.38 MB / 270.7 MB, free: 14.53 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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 348.2 MB, free: 9.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.414e-05/2.556e-05, allocations: 9.344 kB / 348.2 MB, free: 9.09 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002105/0.002131, allocations: 1.68 MB / 349.9 MB, free: 7.398 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009179/0.003049, allocations: 0.7804 MB / 350.7 MB, free: 6.609 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.6e-05/0.003145, allocations: 0 / 350.7 MB, free: 6.609 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003215/0.003466, allocations: 59.73 kB / 350.7 MB, free: 6.551 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002209/0.003687, allocations: 71.61 kB / 350.8 MB, free: 6.48 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002427/0.00393, allocations: 75.77 kB / 350.9 MB, free: 6.406 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001768/0.004107, allocations: 103.7 kB / 351 MB, free: 6.305 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.271e-05/0.004159, allocations: 7.938 kB / 351 MB, free: 6.297 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.004272, allocations: 55.77 kB / 351 MB, free: 6.242 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.004382, allocations: 43.89 kB / 351.1 MB, free: 6.199 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.545e-05/0.004407, allocations: 8 kB / 351.1 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.868e-05/0.004496, allocations: 23.98 kB / 351.1 MB, free: 6.168 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.193e-05/0.004558, allocations: 27.91 kB / 351.1 MB, free: 6.141 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.914e-05/0.004607, allocations: 11.94 kB / 351.2 MB, free: 6.129 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002031/0.00481, allocations: 87.67 kB / 351.2 MB, free: 6.043 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.004812, allocations: 0 / 351.2 MB, free: 6.043 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.004813, allocations: 0 / 351.2 MB, free: 6.043 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.00482, allocations: 0 / 351.2 MB, free: 6.043 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.0004736/0.005293, allocations: 439.8 kB / 351.7 MB, free: 5.578 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.005339, allocations: 12.02 kB / 351.7 MB, free: 5.566 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.661e-05/0.005376, allocations: 16.89 kB / 351.7 MB, free: 5.551 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.005491, allocations: 144.4 kB / 351.8 MB, free: 5.383 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.005505, allocations: 384 / 351.8 MB, free: 5.383 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.776e-06/0.005514, allocations: 8.375 kB / 351.8 MB, free: 5.375 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.721e-05/0.005611, allocations: 54.94 kB / 351.9 MB, free: 5.312 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.005619, allocations: 3.938 kB / 351.9 MB, free: 5.309 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.693e-06/0.005626, allocations: 0 / 351.9 MB, free: 5.309 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.005632, allocations: 3.984 kB / 351.9 MB, free: 5.305 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.141e-05/0.005653, allocations: 7.938 kB / 351.9 MB, free: 5.297 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.88e-05/0.005752, allocations: 117.3 kB / 352 MB, free: 5.156 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.243e-05/0.005825, allocations: 43.11 kB / 352.1 MB, free: 5.102 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.724e-05/0.005842, allocations: 19.69 kB / 352.1 MB, free: 5.078 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.342e-05/0.005855, allocations: 0 / 352.1 MB, free: 5.078 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.02e-05/0.005926, allocations: 69 kB / 352.2 MB, free: 4.996 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 6.91e-07/0.005926, allocations: 0 / 352.2 MB, free: 4.996 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001424/0.006069, allocations: 85.5 kB / 352.2 MB, free: 4.906 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.971e-05/0.006088, allocations: 51.41 kB / 352.3 MB, free: 4.844 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.557e-05/0.006164, allocations: 220 kB / 352.5 MB, free: 4.613 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.466e-06/0.006172, allocations: 25.7 kB / 352.5 MB, free: 4.582 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.99e-05/0.006202, allocations: 158.8 kB / 352.7 MB, free: 4.422 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.425e-05/0.006226, allocations: 7.906 kB / 352.7 MB, free: 4.414 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.42e-05/0.006251, allocations: 27.36 kB / 352.7 MB, free: 4.379 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.938e-05/0.0063, allocations: 0.4962 MB / 353.2 MB, free: 3.871 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.488e-05/0.006315, allocations: 8 kB / 353.2 MB, free: 3.863 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.911e-05/0.006334, allocations: 27.36 kB / 353.2 MB, free: 3.828 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.157e-05/0.006366, allocations: 39.3 kB / 353.3 MB, free: 3.781 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.006367, allocations: 3.938 kB / 353.3 MB, free: 3.777 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.056e-05/0.006428, allocations: 73.58 kB / 353.4 MB, free: 3.699 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.006438, allocations: 4 kB / 353.4 MB, free: 3.695 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.006443, allocations: 0 / 353.4 MB, free: 3.695 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.006457, allocations: 3.938 kB / 353.4 MB, free: 3.691 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.179e-05/0.006509, allocations: 8 kB / 353.4 MB, free: 3.684 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.506e-06/0.006512, allocations: 4 kB / 353.4 MB, free: 3.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.706e-05/0.006539, allocations: 3.984 kB / 353.4 MB, free: 3.676 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.006544, allocations: 4 kB / 353.4 MB, free: 3.672 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.469e-05/0.006599, allocations: 160.6 kB / 353.5 MB, free: 3.504 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.196e-05/0.006611, allocations: 11.91 kB / 353.6 MB, free: 3.492 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.468e-05/0.006706, allocations: 90.05 kB / 353.6 MB, free: 3.398 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.006708, allocations: 3.938 kB / 353.7 MB, free: 3.395 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.00671, allocations: 0 / 353.7 MB, free: 3.395 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.006714, allocations: 0 / 353.7 MB, free: 3.395 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.205e-05/0.006776, allocations: 121.2 kB / 353.8 MB, free: 3.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.006777, allocations: 384 / 353.8 MB, free: 3.25 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.486e-05/0.006792, allocations: 4 kB / 353.8 MB, free: 3.246 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.006794, allocations: 4 kB / 353.8 MB, free: 3.242 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.006799, allocations: 0 / 353.8 MB, free: 3.242 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.0068, allocations: 0 / 353.8 MB, free: 3.242 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.006801, allocations: 0 / 353.8 MB, free: 3.242 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.929e-05/0.00687, allocations: 132.2 kB / 353.9 MB, free: 3.09 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.045e-05/0.006881, allocations: 3.953 kB / 353.9 MB, free: 3.086 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.006895, allocations: 4 kB / 353.9 MB, free: 3.082 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.983e-05/0.006915, allocations: 0 / 353.9 MB, free: 3.082 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.431e-05/0.006939, allocations: 7.984 kB / 353.9 MB, free: 3.074 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.00695, allocations: 7.938 kB / 353.9 MB, free: 3.066 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.012e-05/0.00699, allocations: 156 kB / 354.1 MB, free: 2.914 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00699, allocations: 0 / 354.1 MB, free: 2.914 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000137/0.007127, allocations: 19.98 kB / 354.1 MB, free: 2.895 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.0008438/0.007971, allocations: 402.3 kB / 354.5 MB, free: 2.594 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000113/0.008084, allocations: 31.61 kB / 354.5 MB, free: 2.559 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.008086, allocations: 0 / 354.5 MB, free: 2.559 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.329e-05/0.00812, allocations: 23.67 kB / 354.5 MB, free: 2.531 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002147/0.008334, allocations: 33.28 kB / 354.6 MB, free: 2.5 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003519/0.008686, allocations: 181.4 kB / 354.8 MB, free: 2.297 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.448e-05/0.008721, allocations: 67.28 kB / 354.8 MB, free: 2.211 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.152e-05/0.008752, allocations: 8.5 kB / 354.8 MB, free: 2.203 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.901e-05/0.008811, allocations: 90.19 kB / 354.9 MB, free: 2.113 MB / 282.7 MB Notification: Performance of SimCode: time 8.72e-07/0.008812, allocations: 0 / 354.9 MB, free: 2.113 MB / 282.7 MB Notification: Performance of Templates: time 0.003188/0.012, allocations: 1.766 MB / 356.7 MB, free: 372 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.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: 3.2450868762098253]