Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.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.001196/0.001196, 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.001117/0.001117, allocations: 169 kB / 24.14 MB, free: 360 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.8519/0.8519, allocations: 158.6 MB / 186 MB, free: 2.754 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.1407/0.1407, 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.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 299.1 MB, free: 2.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.387e-05/2.516e-05, allocations: 2.312 kB / 299.1 MB, free: 2.199 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.002651/0.002676, allocations: 1.65 MB / 300.7 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005448/0.003221, allocations: 351.1 kB / 301.1 MB, free: 192 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.431e-05/0.003286, allocations: 0 / 301.1 MB, free: 192 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002897/0.003575, allocations: 75.72 kB / 301.1 MB, free: 116 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001781/0.003753, allocations: 67.67 kB / 301.2 MB, free: 48 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1359/0.1397, allocations: 142.5 kB / 301.3 MB, free: 19.28 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002118/0.1399, allocations: 83.28 kB / 301.4 MB, free: 19.28 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.995e-05/0.14, allocations: 18.27 kB / 301.4 MB, free: 19.28 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.023e-05/0.1401, allocations: 43.69 kB / 301.5 MB, free: 19.28 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.1402, allocations: 42.72 kB / 301.5 MB, free: 19.28 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.1402, allocations: 2.062 kB / 301.5 MB, free: 19.28 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.952e-05/0.1403, allocations: 29.98 kB / 301.6 MB, free: 19.28 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.623e-05/0.1404, allocations: 32.38 kB / 301.6 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.597e-05/0.1404, allocations: 16.47 kB / 301.6 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001643/0.1405, allocations: 84.69 kB / 301.7 MB, free: 19.26 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1405, allocations: 0.8125 kB / 301.7 MB, free: 19.26 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1405, allocations: 1.125 kB / 301.7 MB, free: 19.26 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.1405, allocations: 0 / 301.7 MB, free: 19.26 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003357/0.1409, allocations: 308.8 kB / 302 MB, free: 19 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/0.1409, allocations: 10.14 kB / 302 MB, free: 19 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.425e-05/0.141, allocations: 10.73 kB / 302 MB, free: 19 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.1411, allocations: 139 kB / 302.2 MB, free: 18.86 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-06/0.1411, allocations: 5.812 kB / 302.2 MB, free: 18.86 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.1411, allocations: 6.25 kB / 302.2 MB, free: 18.86 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.841e-05/0.1412, allocations: 60.19 kB / 302.2 MB, free: 18.82 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.1412, allocations: 192 / 302.2 MB, free: 18.82 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-06/0.1412, allocations: 5.906 kB / 302.2 MB, free: 18.82 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.1412, allocations: 3.938 kB / 302.2 MB, free: 18.81 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.533e-05/0.1412, allocations: 9.625 kB / 302.2 MB, free: 18.81 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002272/0.1415, allocations: 180.3 kB / 302.4 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.849e-05/0.1415, allocations: 26.62 kB / 302.4 MB, free: 18.64 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.091e-05/0.1416, allocations: 12.05 kB / 302.5 MB, free: 18.63 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.1416, allocations: 1.75 kB / 302.5 MB, free: 18.63 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.578e-05/0.1416, allocations: 35.08 kB / 302.5 MB, free: 18.59 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/0.1416, allocations: 0 / 302.5 MB, free: 18.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003168/0.1419, allocations: 113.1 kB / 302.6 MB, free: 18.55 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.334e-05/0.1419, allocations: 53.17 kB / 302.7 MB, free: 18.49 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.142, allocations: 172.9 kB / 302.8 MB, free: 18.38 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.713e-06/0.1421, allocations: 29.39 kB / 302.8 MB, free: 18.34 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.321e-05/0.1421, allocations: 95.48 kB / 302.9 MB, free: 18.26 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/0.1421, allocations: 23.34 kB / 303 MB, free: 18.25 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.82e-05/0.1421, allocations: 19.95 kB / 303 MB, free: 18.23 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.389e-05/0.1422, allocations: 324.1 kB / 303.3 MB, free: 17.92 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.538e-05/0.1422, allocations: 5.594 kB / 303.3 MB, free: 17.92 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.463e-05/0.1422, allocations: 10.33 kB / 303.3 MB, free: 17.92 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.863e-05/0.1422, allocations: 26.22 kB / 303.3 MB, free: 17.91 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1422, allocations: 0 / 303.3 MB, free: 17.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.094e-05/0.1423, allocations: 66.83 kB / 303.4 MB, free: 17.87 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.1423, allocations: 4.938 kB / 303.4 MB, free: 17.87 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1423, allocations: 1.5 kB / 303.4 MB, free: 17.87 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/0.1423, allocations: 1.406 kB / 303.4 MB, free: 17.87 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.028e-05/0.1424, allocations: 17.09 kB / 303.4 MB, free: 17.87 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.1424, allocations: 6.141 kB / 303.4 MB, free: 17.87 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.388e-05/0.1424, allocations: 6.719 kB / 303.4 MB, free: 17.87 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-06/0.1424, allocations: 0 / 303.4 MB, free: 17.87 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 (7): * Single equations (assignments): 7 * 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 4.443e-05/0.1425, allocations: 116 kB / 303.6 MB, free: 17.75 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/0.1425, allocations: 10.3 kB / 303.6 MB, free: 17.75 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.974e-05/0.1426, allocations: 80.81 kB / 303.6 MB, free: 17.71 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.1426, allocations: 1.406 kB / 303.6 MB, free: 17.71 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.1426, allocations: 0.8906 kB / 303.6 MB, free: 17.71 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1426, allocations: 1.438 kB / 303.7 MB, free: 17.71 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001896/0.1428, allocations: 232.5 kB / 303.9 MB, free: 17.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1428, allocations: 0 / 303.9 MB, free: 17.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.204e-05/0.1428, allocations: 18 kB / 303.9 MB, free: 17.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.1428, allocations: 2.266 kB / 303.9 MB, free: 17.52 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5e-06/0.1429, allocations: 0 / 303.9 MB, free: 17.52 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.1429, allocations: 2.531 kB / 303.9 MB, free: 17.52 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1429, allocations: 0 / 303.9 MB, free: 17.52 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.551e-05/0.1429, allocations: 154.8 kB / 304.1 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.107e-05/0.143, allocations: 8.547 kB / 304.1 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.143, allocations: 4.969 kB / 304.1 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.663e-05/0.143, allocations: 7.844 kB / 304.1 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.143, allocations: 5.312 kB / 304.1 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.143, allocations: 1.672 kB / 304.1 MB, free: 17.39 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.069e-05/0.1431, allocations: 51.94 kB / 304.1 MB, free: 17.37 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1431, allocations: 0.625 kB / 304.1 MB, free: 17.37 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001405/0.1432, allocations: 20.88 kB / 304.2 MB, free: 17.37 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 (7): * Single equations (assignments): 7 * 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.001189/0.1444, allocations: 0.4958 MB / 304.6 MB, free: 17.12 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.828e-05/0.1445, allocations: 42.88 kB / 304.7 MB, free: 17.1 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.1445, allocations: 0.9062 kB / 304.7 MB, free: 17.1 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.749e-05/0.1446, allocations: 20.8 kB / 304.7 MB, free: 17.09 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001704/0.1447, allocations: 25.89 kB / 304.7 MB, free: 17.09 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003609/0.1451, allocations: 222.9 kB / 305 MB, free: 16.93 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.81e-05/0.1451, allocations: 69.94 kB / 305 MB, free: 16.86 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.074e-05/0.1452, allocations: 18.83 kB / 305 MB, free: 16.85 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.221e-05/0.1452, allocations: 66.59 kB / 305.1 MB, free: 16.8 MB / 282.7 MB Notification: Performance of SimCode: time 7.62e-07/0.1452, allocations: 0 / 305.1 MB, free: 16.8 MB / 282.7 MB Notification: Performance of Templates: time 0.003579/0.1488, allocations: 1.375 MB / 306.5 MB, free: 16.65 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.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.0251171151176095]