Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.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.001466/0.001466, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.001825/0.001825, allocations: 169 kB / 24.14 MB, free: 356 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.9672/0.9672, allocations: 158.6 MB / 186 MB, free: 2.758 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.1467/0.1467, 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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,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.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 6.523e-06/6.523e-06, allocations: 0 / 299.1 MB, free: 2.148 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.677e-05/3.329e-05, allocations: 6.312 kB / 299.1 MB, free: 2.141 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.003545/0.003578, allocations: 1.628 MB / 300.8 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1392/0.1428, allocations: 1.061 MB / 301.8 MB, free: 19.3 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.216e-05/0.1429, allocations: 2.25 kB / 301.8 MB, free: 19.3 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002509/0.1431, allocations: 30.5 kB / 301.8 MB, free: 19.29 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001941/0.1433, allocations: 38.95 kB / 301.9 MB, free: 19.28 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001891/0.1435, allocations: 76.98 kB / 302 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001235/0.1436, allocations: 59.25 kB / 302 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.236e-05/0.1437, allocations: 10.33 kB / 302 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.608e-05/0.1438, allocations: 26.28 kB / 302.1 MB, free: 19.26 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.154e-05/0.1439, allocations: 22.47 kB / 302.1 MB, free: 19.26 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.1439, allocations: 2.344 kB / 302.1 MB, free: 19.26 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.144, allocations: 58.77 kB / 302.1 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.695e-05/0.144, allocations: 8.406 kB / 302.1 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.98e-05/0.1441, allocations: 14.42 kB / 302.2 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001538/0.1442, allocations: 81.52 kB / 302.2 MB, free: 19.23 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1442, allocations: 0 / 302.2 MB, free: 19.23 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1442, allocations: 0 / 302.2 MB, free: 19.23 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.037e-06/0.1442, allocations: 0 / 302.2 MB, free: 19.23 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.0002748/0.1445, allocations: 273.2 kB / 302.5 MB, free: 18.98 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.1445, allocations: 10.16 kB / 302.5 MB, free: 18.98 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.771e-05/0.1445, allocations: 9.609 kB / 302.5 MB, free: 18.98 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.1447, allocations: 139.2 kB / 302.7 MB, free: 18.84 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.805e-06/0.1447, allocations: 1.812 kB / 302.7 MB, free: 18.84 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.646e-05/0.1447, allocations: 2.484 kB / 302.7 MB, free: 18.84 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.1448, allocations: 95 kB / 302.8 MB, free: 18.75 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.1448, allocations: 0.9688 kB / 302.8 MB, free: 18.75 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.1448, allocations: 6.641 kB / 302.8 MB, free: 18.74 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1448, allocations: 3.719 kB / 302.8 MB, free: 18.74 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.022e-05/0.1448, allocations: 10.5 kB / 302.8 MB, free: 18.74 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001735/0.145, allocations: 158.6 kB / 302.9 MB, free: 18.59 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.1451, allocations: 34.33 kB / 303 MB, free: 18.57 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.276e-05/0.1451, allocations: 7.734 kB / 303 MB, free: 18.56 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.44e-05/0.1451, allocations: 2.094 kB / 303 MB, free: 18.56 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.452e-05/0.1452, allocations: 32.72 kB / 303 MB, free: 18.52 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 6.81e-07/0.1452, allocations: 1.969 kB / 303 MB, free: 18.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002416/0.1454, allocations: 81.19 kB / 303.1 MB, free: 18.48 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.84e-05/0.1454, allocations: 78.89 kB / 303.2 MB, free: 18.39 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.341e-05/0.1455, allocations: 138.2 kB / 303.3 MB, free: 18.27 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.448e-06/0.1455, allocations: 25.7 kB / 303.3 MB, free: 18.24 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.797e-05/0.1455, allocations: 88.16 kB / 303.4 MB, free: 18.16 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.55e-05/0.1455, allocations: 21.17 kB / 303.4 MB, free: 18.15 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.229e-05/0.1456, allocations: 15.67 kB / 303.4 MB, free: 18.13 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.185e-05/0.1456, allocations: 319.9 kB / 303.8 MB, free: 17.82 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.013e-05/0.1456, allocations: 8.453 kB / 303.8 MB, free: 17.82 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.191e-05/0.1456, allocations: 47.64 kB / 303.8 MB, free: 17.77 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.572e-05/0.1456, allocations: 21.8 kB / 303.8 MB, free: 17.76 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1456, allocations: 0.7031 kB / 303.8 MB, free: 17.76 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.244e-05/0.1457, allocations: 47.31 kB / 303.9 MB, free: 17.73 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.1457, allocations: 4.938 kB / 303.9 MB, free: 17.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.1457, allocations: 1.156 kB / 303.9 MB, free: 17.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.187e-06/0.1457, allocations: 0 / 303.9 MB, free: 17.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.568e-05/0.1458, allocations: 14.61 kB / 303.9 MB, free: 17.72 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/0.1458, allocations: 5.719 kB / 303.9 MB, free: 17.72 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.678e-05/0.1458, allocations: 6.062 kB / 303.9 MB, free: 17.72 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.558e-06/0.1458, allocations: 6.75 kB / 303.9 MB, free: 17.72 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 3.783e-05/0.1458, allocations: 116.8 kB / 304 MB, free: 17.6 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.942e-05/0.1458, allocations: 11.02 kB / 304 MB, free: 17.6 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7e-05/0.1459, allocations: 62.91 kB / 304.1 MB, free: 17.56 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.1459, allocations: 1.75 kB / 304.1 MB, free: 17.56 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.1459, allocations: 0 / 304.1 MB, free: 17.56 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1459, allocations: 1.141 kB / 304.1 MB, free: 17.56 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.1461, allocations: 208 kB / 304.3 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1461, allocations: 3.938 kB / 304.3 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.493e-05/0.1461, allocations: 13.77 kB / 304.3 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1461, allocations: 1.953 kB / 304.3 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.938e-06/0.1461, allocations: 0 / 304.3 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1461, allocations: 0 / 304.3 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1461, allocations: 1.797 kB / 304.3 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.446e-05/0.1462, allocations: 145.5 kB / 304.5 MB, free: 17.24 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.764e-06/0.1462, allocations: 9.156 kB / 304.5 MB, free: 17.24 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.107e-06/0.1462, allocations: 4.875 kB / 304.5 MB, free: 17.24 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.106e-05/0.1462, allocations: 3.797 kB / 304.5 MB, free: 17.24 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.553e-05/0.1462, allocations: 7.734 kB / 304.5 MB, free: 17.24 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.1462, allocations: 2.047 kB / 304.5 MB, free: 17.24 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.708e-05/0.1463, allocations: 26 kB / 304.5 MB, free: 17.23 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1463, allocations: 0 / 304.5 MB, free: 17.23 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001409/0.1464, allocations: 22.09 kB / 304.5 MB, free: 17.22 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.001079/0.1475, allocations: 0.5676 MB / 305.1 MB, free: 16.91 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.78e-05/0.1476, allocations: 23.92 kB / 305.1 MB, free: 16.9 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.219e-06/0.1476, allocations: 9.062 kB / 305.1 MB, free: 16.89 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.842e-05/0.1476, allocations: 15.66 kB / 305.2 MB, free: 16.89 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001657/0.1478, allocations: 28.92 kB / 305.2 MB, free: 16.88 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002451/0.148, allocations: 154 kB / 305.3 MB, free: 16.74 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.41e-05/0.148, allocations: 62.64 kB / 305.4 MB, free: 16.67 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.455e-05/0.1481, allocations: 8.719 kB / 305.4 MB, free: 16.67 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.248e-05/0.1481, allocations: 63.11 kB / 305.5 MB, free: 16.62 MB / 282.7 MB Notification: Performance of SimCode: time 5.01e-07/0.1481, allocations: 0 / 305.5 MB, free: 16.62 MB / 282.7 MB Notification: Performance of Templates: time 0.003509/0.1516, allocations: 1.524 MB / 307 MB, free: 16.43 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/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: 2.953820458147675]