Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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.001014/0.001014, allocations: 80.05 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.001001/0.001001, 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.9239/0.9239, 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.1326/0.1326, allocations: 32.37 MB / 270.7 MB, free: 14.61 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.CombiTable1D.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.CombiTable1D.Test20") translateModel(ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 299.1 MB, free: 2.152 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.729e-05/1.905e-05, allocations: 2.312 kB / 299.1 MB, free: 2.148 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test20): time 0.00214/0.002159, allocations: 1.64 MB / 300.8 MB, free: 0.5 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1353/0.1374, allocations: 1.067 MB / 301.8 MB, free: 19.32 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.92e-05/0.1375, allocations: 1.219 kB / 301.8 MB, free: 19.32 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002323/0.1377, allocations: 31.86 kB / 301.9 MB, free: 19.3 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001863/0.1379, allocations: 38.97 kB / 301.9 MB, free: 19.29 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002182/0.1381, allocations: 90.67 kB / 302 MB, free: 19.29 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001533/0.1383, allocations: 64.27 kB / 302 MB, free: 19.28 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.915e-05/0.1384, allocations: 9.672 kB / 302.1 MB, free: 19.28 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.414e-05/0.1385, allocations: 30.36 kB / 302.1 MB, free: 19.28 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.759e-05/0.1385, allocations: 16.98 kB / 302.1 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.1386, allocations: 4.562 kB / 302.1 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.1387, allocations: 55.97 kB / 302.2 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.82e-05/0.1387, allocations: 13.75 kB / 302.2 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.185e-05/0.1387, allocations: 13.41 kB / 302.2 MB, free: 19.26 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001663/0.1389, allocations: 82.14 kB / 302.3 MB, free: 19.25 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1389, allocations: 1.125 kB / 302.3 MB, free: 19.25 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1389, allocations: 0 / 302.3 MB, free: 19.25 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.506e-06/0.1389, allocations: 0 / 302.3 MB, free: 19.25 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.0002875/0.1392, allocations: 276.4 kB / 302.5 MB, free: 19 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.1392, allocations: 13.91 kB / 302.5 MB, free: 18.99 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.1393, allocations: 6.891 kB / 302.6 MB, free: 18.99 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.1394, allocations: 126.7 kB / 302.7 MB, free: 18.86 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.315e-06/0.1394, allocations: 6.156 kB / 302.7 MB, free: 18.86 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.1394, allocations: 5.562 kB / 302.7 MB, free: 18.86 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.1395, allocations: 97.22 kB / 302.8 MB, free: 18.76 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.1395, allocations: 0.875 kB / 302.8 MB, free: 18.76 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.1395, allocations: 7.281 kB / 302.8 MB, free: 18.76 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.1395, allocations: 1.688 kB / 302.8 MB, free: 18.76 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.168e-05/0.1396, allocations: 6.188 kB / 302.8 MB, free: 18.76 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001766/0.1397, allocations: 168.8 kB / 303 MB, free: 18.61 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.1399, allocations: 32.08 kB / 303 MB, free: 18.58 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.314e-05/0.1399, allocations: 10.95 kB / 303 MB, free: 18.57 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.1399, allocations: 3.312 kB / 303 MB, free: 18.57 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/0.1399, allocations: 32.38 kB / 303 MB, free: 18.53 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 7.71e-07/0.1399, allocations: 1.125 kB / 303 MB, free: 18.53 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002446/0.1402, allocations: 83.22 kB / 303.1 MB, free: 18.49 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.332e-05/0.1402, allocations: 79.59 kB / 303.2 MB, free: 18.39 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.243e-05/0.1402, allocations: 136.6 kB / 303.3 MB, free: 18.28 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.36e-06/0.1403, allocations: 25.7 kB / 303.4 MB, free: 18.25 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.966e-05/0.1403, allocations: 89.91 kB / 303.4 MB, free: 18.17 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/0.1403, allocations: 15.61 kB / 303.5 MB, free: 18.16 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.3e-05/0.1403, allocations: 24.2 kB / 303.5 MB, free: 18.14 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.229e-05/0.1404, allocations: 317.8 kB / 303.8 MB, free: 17.83 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.085e-05/0.1404, allocations: 4.766 kB / 303.8 MB, free: 17.83 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.644e-05/0.1404, allocations: 50.67 kB / 303.9 MB, free: 17.78 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.371e-05/0.1404, allocations: 22 kB / 303.9 MB, free: 17.77 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.1404, allocations: 0 / 303.9 MB, free: 17.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.806e-05/0.1405, allocations: 52.27 kB / 303.9 MB, free: 17.73 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.1405, allocations: 6.641 kB / 303.9 MB, free: 17.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1405, allocations: 0.5312 kB / 303.9 MB, free: 17.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.1405, allocations: 5.766 kB / 303.9 MB, free: 17.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.947e-05/0.1406, allocations: 13.94 kB / 304 MB, free: 17.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.1406, allocations: 1.25 kB / 304 MB, free: 17.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.709e-05/0.1406, allocations: 11.75 kB / 304 MB, free: 17.72 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.489e-06/0.1406, allocations: 0 / 304 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.97e-05/0.1406, allocations: 116.1 kB / 304.1 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.698e-05/0.1407, allocations: 9.297 kB / 304.1 MB, free: 17.6 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.305e-05/0.1407, allocations: 58.75 kB / 304.1 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.1407, allocations: 1.094 kB / 304.1 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.1407, allocations: 1.188 kB / 304.1 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1408, allocations: 4.062 kB / 304.2 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001578/0.1409, allocations: 210.5 kB / 304.4 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1409, allocations: 3.938 kB / 304.4 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.865e-05/0.1409, allocations: 11.94 kB / 304.4 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1409, allocations: 0 / 304.4 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-06/0.1409, allocations: 1.156 kB / 304.4 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.1409, allocations: 0.7969 kB / 304.4 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.1409, allocations: 0.5156 kB / 304.4 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.586e-05/0.141, allocations: 150.2 kB / 304.5 MB, free: 17.24 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.137e-06/0.141, allocations: 11.12 kB / 304.5 MB, free: 17.24 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.072e-05/0.141, allocations: 1.844 kB / 304.5 MB, free: 17.24 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.967e-05/0.1411, allocations: 2.828 kB / 304.5 MB, free: 17.24 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.816e-05/0.1411, allocations: 6.516 kB / 304.5 MB, free: 17.24 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.1411, allocations: 1.125 kB / 304.5 MB, free: 17.24 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.835e-05/0.1411, allocations: 27.61 kB / 304.6 MB, free: 17.23 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1411, allocations: 0 / 304.6 MB, free: 17.23 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001509/0.1413, allocations: 20.53 kB / 304.6 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.1424, allocations: 0.5561 MB / 305.1 MB, free: 16.92 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.975e-05/0.1424, allocations: 28.53 kB / 305.2 MB, free: 16.91 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.1424, allocations: 4 kB / 305.2 MB, free: 16.91 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.02e-05/0.1425, allocations: 20.42 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.0001771/0.1426, allocations: 32.81 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.0002643/0.1429, allocations: 161.4 kB / 305.4 MB, free: 16.74 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.831e-05/0.1429, allocations: 60.98 kB / 305.4 MB, free: 16.67 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.636e-05/0.143, allocations: 8.219 kB / 305.5 MB, free: 16.67 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.671e-05/0.143, allocations: 63.2 kB / 305.5 MB, free: 16.62 MB / 282.7 MB Notification: Performance of SimCode: time 4.81e-07/0.143, allocations: 0 / 305.5 MB, free: 16.62 MB / 282.7 MB Notification: Performance of Templates: time 0.003587/0.1466, allocations: 1.538 MB / 307.1 MB, free: 16.43 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/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.963120889849961]