Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.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.0009655/0.0009655, allocations: 82.64 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.00124/0.00124, allocations: 166.2 kB / 24.84 MB, free: 9.297 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 0.9716/0.9716, allocations: 158.6 MB / 186.7 MB, free: 2.766 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.1408/0.1408, allocations: 32.38 MB / 271.5 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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 349 MB, free: 9.094 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.975e-05/2.124e-05, allocations: 6.25 kB / 349 MB, free: 9.086 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.002166/0.002187, allocations: 1.915 MB / 350.9 MB, free: 7.16 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001024/0.003211, allocations: 0.8309 MB / 351.7 MB, free: 6.32 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001205/0.003331, allocations: 0 / 351.7 MB, free: 6.32 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003434/0.003675, allocations: 51.62 kB / 351.8 MB, free: 6.27 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002042/0.003879, allocations: 59.64 kB / 351.8 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002276/0.004106, allocations: 99.67 kB / 351.9 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001619/0.004268, allocations: 147.5 kB / 352.1 MB, free: 5.969 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.499e-05/0.004363, allocations: 25.61 kB / 352.1 MB, free: 5.941 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.235e-05/0.004456, allocations: 71.75 kB / 352.2 MB, free: 5.871 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.155e-05/0.004537, allocations: 43.81 kB / 352.2 MB, free: 5.828 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.004556, allocations: 8 kB / 352.2 MB, free: 5.82 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.295e-05/0.004629, allocations: 39.98 kB / 352.3 MB, free: 5.781 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.654e-05/0.004676, allocations: 27.91 kB / 352.3 MB, free: 5.754 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.629e-05/0.004722, allocations: 31.86 kB / 352.3 MB, free: 5.723 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001668/0.004889, allocations: 131.4 kB / 352.5 MB, free: 5.594 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.004892, allocations: 0 / 352.5 MB, free: 5.594 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.004892, allocations: 0 / 352.5 MB, free: 5.594 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.004897, allocations: 4 kB / 352.5 MB, free: 5.59 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003973/0.005294, allocations: 497.4 kB / 352.9 MB, free: 5.062 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.005327, allocations: 12.03 kB / 353 MB, free: 5.051 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.302e-05/0.00537, allocations: 20.84 kB / 353 MB, free: 5.031 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.005516, allocations: 172.2 kB / 353.1 MB, free: 4.836 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.005533, allocations: 4.375 kB / 353.2 MB, free: 4.832 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.005552, allocations: 8.375 kB / 353.2 MB, free: 4.824 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.005746, allocations: 141.9 kB / 353.3 MB, free: 4.66 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.005761, allocations: 15.88 kB / 353.3 MB, free: 4.645 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.005772, allocations: 4 kB / 353.3 MB, free: 4.641 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.00578, allocations: 4 kB / 353.3 MB, free: 4.637 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.715e-05/0.005828, allocations: 27.66 kB / 353.4 MB, free: 4.613 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003902/0.006218, allocations: 0.5488 MB / 353.9 MB, free: 4.027 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001755/0.006393, allocations: 67.14 kB / 354 MB, free: 3.949 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.879e-05/0.006422, allocations: 19.69 kB / 354 MB, free: 3.926 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.006437, allocations: 4 kB / 354 MB, free: 3.922 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001229/0.00656, allocations: 106.7 kB / 354.1 MB, free: 3.797 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 2.324e-06/0.006563, allocations: 0 / 354.1 MB, free: 3.797 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.000179/0.006742, allocations: 101.5 kB / 354.2 MB, free: 3.691 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.944e-05/0.006761, allocations: 59.39 kB / 354.2 MB, free: 3.621 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.155e-05/0.006843, allocations: 230.6 kB / 354.5 MB, free: 3.379 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.006853, allocations: 25.7 kB / 354.5 MB, free: 3.348 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.459e-05/0.006897, allocations: 162.8 kB / 354.7 MB, free: 3.184 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.724e-05/0.006915, allocations: 35.72 kB / 354.7 MB, free: 3.148 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.191e-05/0.006947, allocations: 35.36 kB / 354.7 MB, free: 3.105 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.867e-05/0.006995, allocations: 0.5039 MB / 355.2 MB, free: 2.59 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.859e-05/0.007014, allocations: 11.98 kB / 355.2 MB, free: 2.578 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.833e-05/0.007042, allocations: 58.36 kB / 355.3 MB, free: 2.5 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.495e-05/0.007097, allocations: 82.72 kB / 355.4 MB, free: 2.398 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.007099, allocations: 0 / 355.4 MB, free: 2.398 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001011/0.0072, allocations: 109.4 kB / 355.5 MB, free: 2.285 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.007211, allocations: 8 kB / 355.5 MB, free: 2.277 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.007216, allocations: 3.984 kB / 355.5 MB, free: 2.273 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.007226, allocations: 3.984 kB / 355.5 MB, free: 2.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.135e-05/0.007287, allocations: 23.94 kB / 355.5 MB, free: 2.246 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.387e-06/0.00729, allocations: 0 / 355.5 MB, free: 2.246 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.532e-05/0.007326, allocations: 19.92 kB / 355.5 MB, free: 2.227 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-06/0.007331, allocations: 0 / 355.5 MB, free: 2.227 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.172e-05/0.007383, allocations: 168.5 kB / 355.7 MB, free: 2.051 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.604e-05/0.007399, allocations: 20 kB / 355.7 MB, free: 2.031 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/0.007507, allocations: 103.1 kB / 355.8 MB, free: 1.918 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.00751, allocations: 4 kB / 355.8 MB, free: 1.914 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.007512, allocations: 0 / 355.8 MB, free: 1.914 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.007515, allocations: 3.938 kB / 355.8 MB, free: 1.91 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.128e-05/0.007596, allocations: 133.1 kB / 356 MB, free: 1.754 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.007597, allocations: 0 / 356 MB, free: 1.754 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.613e-05/0.007643, allocations: 19.92 kB / 356 MB, free: 1.734 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.007645, allocations: 0 / 356 MB, free: 1.734 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.355e-06/0.007653, allocations: 8 kB / 356 MB, free: 1.727 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.007654, allocations: 0 / 356 MB, free: 1.727 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.007655, allocations: 4 kB / 356 MB, free: 1.723 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001231/0.007778, allocations: 152.2 kB / 356.1 MB, free: 1.551 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.329e-05/0.007792, allocations: 11.95 kB / 356.2 MB, free: 1.539 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.007805, allocations: 4 kB / 356.2 MB, free: 1.535 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.579e-05/0.007831, allocations: 4 kB / 356.2 MB, free: 1.531 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.496e-05/0.007856, allocations: 7.984 kB / 356.2 MB, free: 1.523 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.007868, allocations: 7.984 kB / 356.2 MB, free: 1.516 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.819e-05/0.007907, allocations: 161 kB / 356.3 MB, free: 1.359 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007907, allocations: 0 / 356.3 MB, free: 1.359 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001537/0.00806, allocations: 35.89 kB / 356.4 MB, free: 1.324 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0007086/0.008769, allocations: 388.8 kB / 356.8 MB, free: 1.035 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.952e-05/0.008869, allocations: 55.73 kB / 356.8 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.00887, allocations: 4.062 kB / 356.8 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.123e-05/0.008901, allocations: 31.8 kB / 356.8 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002068/0.009108, allocations: 43.91 kB / 356.9 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003739/0.009482, allocations: 256 kB / 357.1 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.638e-05/0.009508, allocations: 71.83 kB / 357.2 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.855e-05/0.009557, allocations: 21.14 kB / 357.2 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.05e-05/0.009627, allocations: 102.2 kB / 357.3 MB, free: 416 kB / 282.7 MB Notification: Performance of SimCode: time 7.41e-07/0.009628, allocations: 0 / 357.3 MB, free: 416 kB / 282.7 MB Notification: Performance of Templates: time 0.004166/0.01379, allocations: 2.263 MB / 359.6 MB, free: 14.16 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.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.1294447230175138]