Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.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.001294/0.001294, allocations: 81.86 kB / 21.44 MB, free: 3.055 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.001354/0.001354, allocations: 171.8 kB / 24.84 MB, free: 8.918 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.9584/0.9584, allocations: 158.6 MB / 186.7 MB, free: 2.809 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.1556/0.1556, allocations: 32.37 MB / 271.5 MB, free: 2.453 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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 349 MB, free: 4.734 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.904e-05/3.058e-05, allocations: 10.19 kB / 349 MB, free: 4.723 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003389/0.003419, allocations: 1.796 MB / 350.8 MB, free: 2.914 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.004725, allocations: 0.8658 MB / 351.7 MB, free: 2.039 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.004828, allocations: 3.938 kB / 351.7 MB, free: 2.035 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005877/0.005416, allocations: 311.1 kB / 352 MB, free: 1.73 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004188/0.005834, allocations: 215.2 kB / 352.2 MB, free: 1.52 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003611/0.006195, allocations: 143.6 kB / 352.3 MB, free: 1.379 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002926/0.006488, allocations: 251.2 kB / 352.6 MB, free: 1.133 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.063e-05/0.006569, allocations: 9.812 kB / 352.6 MB, free: 1.121 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000198/0.006767, allocations: 143.6 kB / 352.7 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002419/0.007009, allocations: 203.6 kB / 352.9 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.106e-05/0.00704, allocations: 11.94 kB / 352.9 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001266/0.007166, allocations: 47.92 kB / 353 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001489/0.007315, allocations: 139.6 kB / 353.1 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.509e-05/0.0074, allocations: 67.67 kB / 353.2 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003375/0.007738, allocations: 275 kB / 353.4 MB, free: 256 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.007744, allocations: 0 / 353.4 MB, free: 256 kB / 330.7 MB Notification: Performance of FrontEnd: time 3.677e-06/0.007747, allocations: 3.984 kB / 353.5 MB, free: 252 kB / 330.7 MB Notification: Performance of Transformations before backend: time 8.245e-06/0.007756, allocations: 0 / 353.5 MB, free: 252 kB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.2197/0.2275, allocations: 0.7796 MB / 354.2 MB, free: 65.23 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.823e-05/0.2276, allocations: 10.19 kB / 354.2 MB, free: 65.23 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/0.2277, allocations: 49.83 kB / 354.3 MB, free: 65.2 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004827/0.2282, allocations: 309.2 kB / 354.6 MB, free: 65 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.966e-05/0.2282, allocations: 4.531 kB / 354.6 MB, free: 65 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.778e-05/0.2283, allocations: 4.859 kB / 354.6 MB, free: 65 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002269/0.2285, allocations: 96.17 kB / 354.7 MB, free: 64.93 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.2285, allocations: 0 / 354.7 MB, free: 64.93 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.2285, allocations: 6.953 kB / 354.7 MB, free: 64.93 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.2285, allocations: 2.031 kB / 354.7 MB, free: 64.93 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.926e-05/0.2286, allocations: 14.34 kB / 354.7 MB, free: 64.93 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003989/0.229, allocations: 221 kB / 354.9 MB, free: 64.8 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002353/0.2292, allocations: 93.86 kB / 355 MB, free: 64.73 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.314e-05/0.2293, allocations: 31.47 kB / 355.1 MB, free: 64.71 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.049e-05/0.2293, allocations: 5.094 kB / 355.1 MB, free: 64.71 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002296/0.2295, allocations: 109.6 kB / 355.2 MB, free: 64.63 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 2.304e-06/0.2295, allocations: 1.312 kB / 355.2 MB, free: 64.63 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.000409/0.2299, allocations: 164.9 kB / 355.3 MB, free: 64.57 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/0.23, allocations: 87.27 kB / 355.4 MB, free: 64.47 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009126/0.2309, allocations: 0.6786 MB / 356.1 MB, free: 64.29 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.392e-05/0.2309, allocations: 31.23 kB / 356.1 MB, free: 64.26 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000265/0.2312, allocations: 309.3 kB / 356.4 MB, free: 64.13 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.497e-05/0.2313, allocations: 28.97 kB / 356.5 MB, free: 64.12 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.8e-05/0.2314, allocations: 32.14 kB / 356.5 MB, free: 64.1 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002534/0.2316, allocations: 0.5636 MB / 357 MB, free: 63.61 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.316e-05/0.2317, allocations: 10.34 kB / 357.1 MB, free: 63.61 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.74e-05/0.2317, allocations: 54.66 kB / 357.1 MB, free: 63.56 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.5e-05/0.2318, allocations: 69.91 kB / 357.2 MB, free: 63.51 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.2318, allocations: 5.094 kB / 357.2 MB, free: 63.51 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002488/0.2321, allocations: 149.4 kB / 357.3 MB, free: 63.45 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.841e-05/0.2321, allocations: 5.281 kB / 357.3 MB, free: 63.45 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.2321, allocations: 1.562 kB / 357.3 MB, free: 63.45 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.2321, allocations: 4.312 kB / 357.3 MB, free: 63.45 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.2323, allocations: 25.56 kB / 357.4 MB, free: 63.45 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.2323, allocations: 7.031 kB / 357.4 MB, free: 63.45 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.734e-05/0.2323, allocations: 12.27 kB / 357.4 MB, free: 63.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.2324, allocations: 2.406 kB / 357.4 MB, free: 63.45 MB / 330.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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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 0.0001199/0.2325, allocations: 170.7 kB / 357.6 MB, free: 63.28 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.096e-05/0.2325, allocations: 57.98 kB / 357.6 MB, free: 63.25 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003593/0.2329, allocations: 157.7 kB / 357.8 MB, free: 63.21 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.2329, allocations: 1.438 kB / 357.8 MB, free: 63.21 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.2329, allocations: 6.188 kB / 357.8 MB, free: 63.21 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.2329, allocations: 0.8438 kB / 357.8 MB, free: 63.21 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002631/0.2332, allocations: 232.6 kB / 358 MB, free: 63.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2332, allocations: 1.438 kB / 358 MB, free: 63.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.114e-05/0.2332, allocations: 11.41 kB / 358 MB, free: 63.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.2332, allocations: 1.344 kB / 358 MB, free: 63.09 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.2333, allocations: 6.969 kB / 358 MB, free: 63.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.2333, allocations: 2.734 kB / 358 MB, free: 63.09 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.2333, allocations: 1.375 kB / 358 MB, free: 63.09 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000323/0.2336, allocations: 211.4 kB / 358.2 MB, free: 62.97 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.58e-05/0.2337, allocations: 51.5 kB / 358.3 MB, free: 62.94 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.825e-05/0.2337, allocations: 4.75 kB / 358.3 MB, free: 62.94 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.286e-05/0.2338, allocations: 12.28 kB / 358.3 MB, free: 62.94 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.241e-05/0.2339, allocations: 7.469 kB / 358.3 MB, free: 62.94 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.707e-05/0.2339, allocations: 6.078 kB / 358.3 MB, free: 62.94 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005507/0.2344, allocations: 436.5 kB / 358.7 MB, free: 62.81 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2344, allocations: 0.5938 kB / 358.7 MB, free: 62.81 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003136/0.2348, allocations: 44.94 kB / 358.8 MB, free: 62.81 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.001131/0.2359, allocations: 383.6 kB / 359.2 MB, free: 62.7 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002223/0.2361, allocations: 64.77 kB / 359.2 MB, free: 62.69 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.2361, allocations: 1.281 kB / 359.2 MB, free: 62.69 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.387e-05/0.2362, allocations: 35.44 kB / 359.3 MB, free: 62.68 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004715/0.2367, allocations: 80.11 kB / 359.3 MB, free: 62.67 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008985/0.2376, allocations: 0.643 MB / 360 MB, free: 62.32 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.2377, allocations: 127.8 kB / 360.1 MB, free: 62.25 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001135/0.2378, allocations: 42.89 kB / 360.1 MB, free: 62.24 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/0.2379, allocations: 122.3 kB / 360.3 MB, free: 62.17 MB / 330.7 MB Notification: Performance of SimCode: time 1.623e-06/0.2379, allocations: 0 / 360.3 MB, free: 62.17 MB / 330.7 MB Notification: Performance of Templates: time 0.01077/0.2487, allocations: 4.376 MB / 364.6 MB, free: 61.48 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.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.480304665863514]