Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.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.001417/0.001417, allocations: 79.92 kB / 20.72 MB, free: 3.77 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.001778/0.001778, allocations: 169 kB / 24.14 MB, free: 364 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.9091/0.9091, allocations: 158.6 MB / 186 MB, free: 2.77 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.1368/0.1368, 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.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 299.1 MB, free: 2.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.495e-05/2.665e-05, allocations: 2.312 kB / 299.1 MB, free: 2.195 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.002337/0.002364, allocations: 1.593 MB / 300.7 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005579/0.002922, allocations: 319.4 kB / 301 MB, free: 284 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.666e-05/0.002978, allocations: 4 kB / 301 MB, free: 280 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002394/0.003218, allocations: 19.86 kB / 301 MB, free: 260 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001938/0.003412, allocations: 43.72 kB / 301 MB, free: 216 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002217/0.003633, allocations: 71.78 kB / 301.1 MB, free: 144 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001344/0.003768, allocations: 63.77 kB / 301.2 MB, free: 80 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.528e-05/0.003863, allocations: 7.984 kB / 301.2 MB, free: 72 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.896e-05/0.003922, allocations: 23.92 kB / 301.2 MB, free: 48 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.539e-05/0.003977, allocations: 23.91 kB / 301.2 MB, free: 24 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.003991, allocations: 0 / 301.2 MB, free: 24 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.75e-05/0.004059, allocations: 24 kB / 301.3 MB, free: 0 / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1435/0.1476, allocations: 8.469 kB / 301.3 MB, free: 19.31 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.437e-05/0.1476, allocations: 8.5 kB / 301.3 MB, free: 19.31 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002528/0.1479, allocations: 74.39 kB / 301.3 MB, free: 19.31 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.1479, allocations: 3.188 kB / 301.4 MB, free: 19.31 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1479, allocations: 0 / 301.4 MB, free: 19.31 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.1479, allocations: 1.5 kB / 301.4 MB, free: 19.31 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003498/0.1483, allocations: 277.6 kB / 301.6 MB, free: 19.07 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.1483, allocations: 8.531 kB / 301.6 MB, free: 19.07 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.773e-05/0.1483, allocations: 6.062 kB / 301.6 MB, free: 19.07 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.1485, allocations: 127.8 kB / 301.8 MB, free: 18.93 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.1485, allocations: 8.5 kB / 301.8 MB, free: 18.93 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.1485, allocations: 3.719 kB / 301.8 MB, free: 18.93 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.691e-05/0.1486, allocations: 53.5 kB / 301.8 MB, free: 18.89 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.1486, allocations: 1.031 kB / 301.8 MB, free: 18.89 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.1486, allocations: 7.453 kB / 301.8 MB, free: 18.89 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.1486, allocations: 3.938 kB / 301.8 MB, free: 18.88 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.647e-05/0.1486, allocations: 8.609 kB / 301.8 MB, free: 18.88 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002135/0.1488, allocations: 163.2 kB / 302 MB, free: 18.73 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/0.149, allocations: 30.45 kB / 302 MB, free: 18.71 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.715e-05/0.149, allocations: 9.234 kB / 302 MB, free: 18.7 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.149, allocations: 2.016 kB / 302 MB, free: 18.7 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.1491, allocations: 32.44 kB / 302.1 MB, free: 18.66 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.373e-06/0.1491, allocations: 0 / 302.1 MB, free: 18.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003063/0.1494, allocations: 84.58 kB / 302.2 MB, free: 18.62 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/0.1494, allocations: 56.62 kB / 302.2 MB, free: 18.56 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.307e-05/0.1495, allocations: 144 kB / 302.4 MB, free: 18.45 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.422e-06/0.1495, allocations: 26.48 kB / 302.4 MB, free: 18.42 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.57e-05/0.1495, allocations: 91.73 kB / 302.5 MB, free: 18.34 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.1495, allocations: 18.5 kB / 302.5 MB, free: 18.32 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.392e-05/0.1496, allocations: 17.28 kB / 302.5 MB, free: 18.31 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.566e-05/0.1496, allocations: 319.3 kB / 302.8 MB, free: 18 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.305e-05/0.1496, allocations: 5.703 kB / 302.8 MB, free: 18 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.403e-05/0.1497, allocations: 9.328 kB / 302.8 MB, free: 18 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.136e-05/0.1497, allocations: 18.83 kB / 302.9 MB, free: 17.99 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1497, allocations: 2.203 kB / 302.9 MB, free: 17.99 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.175e-05/0.1497, allocations: 49.45 kB / 302.9 MB, free: 17.96 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.1498, allocations: 9.156 kB / 302.9 MB, free: 17.95 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1498, allocations: 1.969 kB / 302.9 MB, free: 17.95 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.1498, allocations: 0 / 302.9 MB, free: 17.95 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.165e-05/0.1498, allocations: 11.97 kB / 302.9 MB, free: 17.95 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.1498, allocations: 1.812 kB / 302.9 MB, free: 17.95 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.897e-05/0.1499, allocations: 4.219 kB / 302.9 MB, free: 17.95 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.1499, allocations: 7.312 kB / 302.9 MB, free: 17.95 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.131e-05/0.1499, allocations: 112.3 kB / 303 MB, free: 17.84 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.021e-05/0.1499, allocations: 12.95 kB / 303.1 MB, free: 17.83 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001043/0.15, allocations: 67.58 kB / 303.1 MB, free: 17.79 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.15, allocations: 0 / 303.1 MB, free: 17.79 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.15, allocations: 1.031 kB / 303.1 MB, free: 17.79 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.15, allocations: 0.7969 kB / 303.1 MB, free: 17.79 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001892/0.1502, allocations: 210.1 kB / 303.3 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1502, allocations: 0 / 303.3 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.17e-05/0.1503, allocations: 13.53 kB / 303.3 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1503, allocations: 1.766 kB / 303.3 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.481e-06/0.1503, allocations: 4.656 kB / 303.4 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1503, allocations: 0 / 303.4 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.1503, allocations: 1.125 kB / 303.4 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.041e-05/0.1504, allocations: 141.6 kB / 303.5 MB, free: 17.48 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.267e-05/0.1504, allocations: 10.97 kB / 303.5 MB, free: 17.47 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.1504, allocations: 1.562 kB / 303.5 MB, free: 17.47 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.97e-05/0.1504, allocations: 2.766 kB / 303.5 MB, free: 17.47 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.084e-05/0.1504, allocations: 8.672 kB / 303.5 MB, free: 17.47 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/0.1504, allocations: 3.188 kB / 303.5 MB, free: 17.47 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.697e-05/0.1505, allocations: 36.09 kB / 303.6 MB, free: 17.46 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1505, allocations: 4.344 kB / 303.6 MB, free: 17.46 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001435/0.1506, allocations: 13.12 kB / 303.6 MB, free: 17.46 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001191/0.1518, allocations: 0.4987 MB / 304.1 MB, free: 17.2 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001043/0.1519, allocations: 23.09 kB / 304.1 MB, free: 17.2 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.1519, allocations: 1.156 kB / 304.1 MB, free: 17.2 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.228e-05/0.152, allocations: 19.2 kB / 304.1 MB, free: 17.19 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001892/0.1521, allocations: 22.25 kB / 304.1 MB, free: 17.18 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003678/0.1525, allocations: 169.8 kB / 304.3 MB, free: 17.04 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.137e-05/0.1525, allocations: 61.08 kB / 304.4 MB, free: 16.97 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.019e-05/0.1526, allocations: 10.47 kB / 304.4 MB, free: 16.96 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.372e-05/0.1527, allocations: 58.27 kB / 304.4 MB, free: 16.92 MB / 282.7 MB Notification: Performance of SimCode: time 1.704e-06/0.1527, allocations: 0 / 304.4 MB, free: 16.92 MB / 282.7 MB Notification: Performance of Templates: time 0.003758/0.1564, allocations: 1.222 MB / 305.6 MB, free: 16.78 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.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.1406380962580442]