Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.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.001568/0.001568, allocations: 81.86 kB / 21.44 MB, free: 3.059 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.002048/0.002048, allocations: 164.8 kB / 24.84 MB, free: 8.91 MB / 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 1.002/1.002, allocations: 158.6 MB / 186.7 MB, free: 2.82 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.1312/0.1312, allocations: 32.37 MB / 271.5 MB, free: 2.457 MB / 250.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 349 MB, free: 4.738 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.153e-05/2.263e-05, allocations: 6.25 kB / 349 MB, free: 4.73 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.002559/0.002582, allocations: 1.72 MB / 350.7 MB, free: 2.996 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001038/0.003619, allocations: 0.7921 MB / 351.5 MB, free: 2.195 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.267e-05/0.003682, allocations: 0 / 351.5 MB, free: 2.195 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002676/0.00395, allocations: 59.62 kB / 351.6 MB, free: 2.137 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000177/0.004127, allocations: 51.7 kB / 351.6 MB, free: 2.086 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003214/0.00734, allocations: 87.69 kB / 351.7 MB, free: 2 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001459/0.007486, allocations: 95.7 kB / 351.8 MB, free: 1.906 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.971e-05/0.007566, allocations: 12.17 kB / 351.8 MB, free: 1.895 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.273e-05/0.007649, allocations: 51.81 kB / 351.9 MB, free: 1.844 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.657e-05/0.007715, allocations: 23.92 kB / 351.9 MB, free: 1.82 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.007732, allocations: 8 kB / 351.9 MB, free: 1.812 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.812e-05/0.00781, allocations: 35.98 kB / 351.9 MB, free: 1.777 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.352e-05/0.007854, allocations: 23.91 kB / 352 MB, free: 1.754 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.092e-05/0.007885, allocations: 15.94 kB / 352 MB, free: 1.738 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.008045, allocations: 99.59 kB / 352.1 MB, free: 1.641 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.008047, allocations: 0 / 352.1 MB, free: 1.641 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.008048, allocations: 4 kB / 352.1 MB, free: 1.637 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.008052, allocations: 3.938 kB / 352.1 MB, free: 1.633 MB / 330.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.0004034/0.008455, allocations: 439.6 kB / 352.5 MB, free: 1.168 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.008487, allocations: 8.031 kB / 352.5 MB, free: 1.16 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.697e-05/0.008524, allocations: 16.84 kB / 352.5 MB, free: 1.145 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003722/0.008896, allocations: 144.4 kB / 352.7 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.008913, allocations: 8.375 kB / 352.7 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.008928, allocations: 4.375 kB / 352.7 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.996e-05/0.009028, allocations: 62.88 kB / 352.7 MB, free: 0.8945 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.009038, allocations: 3.938 kB / 352.7 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.642e-06/0.009045, allocations: 0 / 352.7 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.009049, allocations: 0 / 352.7 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.836e-05/0.009077, allocations: 15.98 kB / 352.8 MB, free: 0.875 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002474/0.009325, allocations: 256.4 kB / 353 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.061e-05/0.009415, allocations: 55.11 kB / 353.1 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.406e-05/0.00944, allocations: 19.67 kB / 353.1 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.278e-06/0.009449, allocations: 0 / 353.1 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.84e-05/0.009537, allocations: 72.97 kB / 353.2 MB, free: 432 kB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 8.51e-07/0.009538, allocations: 0 / 353.2 MB, free: 432 kB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003028/0.009841, allocations: 129.5 kB / 353.3 MB, free: 296 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.711e-05/0.009868, allocations: 51.41 kB / 353.3 MB, free: 232 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1355/0.1454, allocations: 221.9 kB / 353.6 MB, free: 65.09 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.1454, allocations: 25.7 kB / 353.6 MB, free: 65.06 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.307e-05/0.1455, allocations: 154 kB / 353.7 MB, free: 64.93 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.091e-05/0.1455, allocations: 25.09 kB / 353.8 MB, free: 64.93 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.109e-05/0.1456, allocations: 33.5 kB / 353.8 MB, free: 64.91 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.848e-05/0.1456, allocations: 0.4955 MB / 354.3 MB, free: 64.42 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.552e-05/0.1457, allocations: 11.03 kB / 354.3 MB, free: 64.42 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.812e-05/0.1457, allocations: 34.52 kB / 354.3 MB, free: 64.39 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.873e-05/0.1458, allocations: 47.34 kB / 354.4 MB, free: 64.37 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1458, allocations: 1.375 kB / 354.4 MB, free: 64.37 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001425/0.1459, allocations: 92.02 kB / 354.5 MB, free: 64.34 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.1459, allocations: 1.938 kB / 354.5 MB, free: 64.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.1459, allocations: 5.609 kB / 354.5 MB, free: 64.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.1459, allocations: 0 / 354.5 MB, free: 64.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.908e-05/0.146, allocations: 15.92 kB / 354.5 MB, free: 64.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.326e-06/0.146, allocations: 3.844 kB / 354.5 MB, free: 64.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.587e-05/0.1461, allocations: 4.531 kB / 354.5 MB, free: 64.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.1461, allocations: 7.672 kB / 354.5 MB, free: 64.34 MB / 330.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 7.192e-05/0.1462, allocations: 162.7 kB / 354.7 MB, free: 64.18 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.443e-05/0.1462, allocations: 14.89 kB / 354.7 MB, free: 64.18 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000178/0.1464, allocations: 100.8 kB / 354.8 MB, free: 64.14 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.1464, allocations: 2.234 kB / 354.8 MB, free: 64.14 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.1464, allocations: 0.5 kB / 354.8 MB, free: 64.14 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1464, allocations: 1.188 kB / 354.8 MB, free: 64.14 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003139/0.1467, allocations: 357.5 kB / 355.1 MB, free: 63.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.1467, allocations: 6.938 kB / 355.1 MB, free: 63.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.985e-05/0.1467, allocations: 14.97 kB / 355.1 MB, free: 63.86 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.1467, allocations: 2.938 kB / 355.1 MB, free: 63.86 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.1467, allocations: 4.094 kB / 355.2 MB, free: 63.86 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.1467, allocations: 1.734 kB / 355.2 MB, free: 63.86 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.1467, allocations: 6.75 kB / 355.2 MB, free: 63.86 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00015/0.1469, allocations: 247 kB / 355.4 MB, free: 63.66 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.652e-05/0.1469, allocations: 15.94 kB / 355.4 MB, free: 63.65 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.1469, allocations: 3.609 kB / 355.4 MB, free: 63.65 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.743e-05/0.147, allocations: 5.25 kB / 355.4 MB, free: 63.65 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.56e-05/0.147, allocations: 7.547 kB / 355.4 MB, free: 63.65 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.1471, allocations: 3.406 kB / 355.4 MB, free: 63.65 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.213e-05/0.1471, allocations: 160.9 kB / 355.6 MB, free: 63.53 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1471, allocations: 0.7188 kB / 355.6 MB, free: 63.53 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002706/0.1474, allocations: 26.47 kB / 355.6 MB, free: 63.53 MB / 330.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.00115/0.1486, allocations: 432.5 kB / 356 MB, free: 63.39 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001357/0.1487, allocations: 51.17 kB / 356.1 MB, free: 63.38 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1487, allocations: 0 / 356.1 MB, free: 63.38 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.416e-05/0.1487, allocations: 29.55 kB / 356.1 MB, free: 63.37 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.149, allocations: 31.55 kB / 356.2 MB, free: 63.36 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003461/0.1494, allocations: 216.4 kB / 356.4 MB, free: 63.2 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.671e-05/0.1494, allocations: 66.66 kB / 356.4 MB, free: 63.13 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.349e-05/0.1495, allocations: 15.02 kB / 356.4 MB, free: 63.12 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.939e-05/0.1495, allocations: 92.22 kB / 356.5 MB, free: 63.06 MB / 330.7 MB Notification: Performance of SimCode: time 8.82e-07/0.1495, allocations: 1.281 kB / 356.5 MB, free: 63.06 MB / 330.7 MB Notification: Performance of Templates: time 0.004776/0.1543, allocations: 2.027 MB / 358.6 MB, free: 62.85 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.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.316203464753926]