Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.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.001012/0.001012, 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.0009612/0.0009612, 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.9223/0.9223, 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.1186/0.1186, allocations: 32.38 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.CombiTable2D.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9") translateModel(ModelicaTest.Tables.CombiTable2D.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0 / 299.1 MB, free: 2.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.512e-05/1.633e-05, allocations: 2.312 kB / 299.1 MB, free: 2.203 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test9): time 0.001936/0.001952, allocations: 1.619 MB / 300.7 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004609/0.002413, allocations: 311.4 kB / 301 MB, free: 268 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.571e-05/0.002449, allocations: 0 / 301 MB, free: 268 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.144/0.1464, allocations: 441.8 kB / 301.4 MB, free: 19.44 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004836/0.1469, allocations: 259.1 kB / 301.7 MB, free: 19.44 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000299/0.1472, allocations: 108 kB / 301.8 MB, free: 19.44 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003396/0.1475, allocations: 160.9 kB / 301.9 MB, free: 19.44 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.534e-05/0.1476, allocations: 9.062 kB / 302 MB, free: 19.44 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002178/0.1479, allocations: 119.8 kB / 302.1 MB, free: 19.43 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003262/0.1482, allocations: 194.6 kB / 302.3 MB, free: 19.43 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.1482, allocations: 2.875 kB / 302.3 MB, free: 19.43 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.784e-05/0.1483, allocations: 23.3 kB / 302.3 MB, free: 19.43 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001336/0.1484, allocations: 79.38 kB / 302.4 MB, free: 19.41 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.603e-05/0.1485, allocations: 36.34 kB / 302.4 MB, free: 19.4 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003852/0.1489, allocations: 186.4 kB / 302.6 MB, free: 19.37 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.1489, allocations: 0 / 302.6 MB, free: 19.37 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1489, allocations: 0 / 302.6 MB, free: 19.37 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.275e-05/0.1489, allocations: 0 / 302.6 MB, free: 19.37 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.0005479/0.1494, allocations: 0.5352 MB / 303.1 MB, free: 18.96 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.1495, allocations: 9.156 kB / 303.1 MB, free: 18.96 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.067e-05/0.1495, allocations: 22.59 kB / 303.1 MB, free: 18.96 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.1497, allocations: 242.5 kB / 303.4 MB, free: 18.75 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/0.1497, allocations: 8.844 kB / 303.4 MB, free: 18.75 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.1497, allocations: 1.625 kB / 303.4 MB, free: 18.75 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.755e-05/0.1498, allocations: 54.17 kB / 303.4 MB, free: 18.71 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.112e-06/0.1498, allocations: 0.8438 kB / 303.4 MB, free: 18.71 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.1498, allocations: 0.9375 kB / 303.4 MB, free: 18.71 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.299e-06/0.1498, allocations: 9.812 kB / 303.5 MB, free: 18.7 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.857e-05/0.1498, allocations: 8.172 kB / 303.5 MB, free: 18.7 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000197/0.15, allocations: 153.2 kB / 303.6 MB, free: 18.56 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.573e-05/0.1501, allocations: 26.91 kB / 303.6 MB, free: 18.54 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.632e-05/0.1501, allocations: 10.69 kB / 303.7 MB, free: 18.53 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.1501, allocations: 1.875 kB / 303.7 MB, free: 18.53 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.564e-05/0.1501, allocations: 32.84 kB / 303.7 MB, free: 18.49 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.1501, allocations: 0 / 303.7 MB, free: 18.49 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001337/0.1503, allocations: 68.16 kB / 303.8 MB, free: 18.45 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.331e-05/0.1503, allocations: 53.31 kB / 303.8 MB, free: 18.39 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004963/0.1508, allocations: 0.5197 MB / 304.3 MB, free: 18.26 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.315e-06/0.1508, allocations: 30.45 kB / 304.4 MB, free: 18.23 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.532e-05/0.1509, allocations: 139.1 kB / 304.5 MB, free: 18.14 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/0.1509, allocations: 16.39 kB / 304.5 MB, free: 18.14 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.872e-05/0.1509, allocations: 13.06 kB / 304.5 MB, free: 18.12 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.18e-05/0.151, allocations: 356.8 kB / 304.9 MB, free: 17.81 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.049e-05/0.151, allocations: 1.375 kB / 304.9 MB, free: 17.81 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.065e-05/0.151, allocations: 4.656 kB / 304.9 MB, free: 17.81 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.737e-05/0.1511, allocations: 14 kB / 304.9 MB, free: 17.8 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1511, allocations: 0 / 304.9 MB, free: 17.8 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.599e-05/0.1511, allocations: 59.53 kB / 304.9 MB, free: 17.77 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.1512, allocations: 8.781 kB / 305 MB, free: 17.77 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.403e-06/0.1512, allocations: 3.938 kB / 305 MB, free: 17.77 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.1512, allocations: 1.781 kB / 305 MB, free: 17.77 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.051e-05/0.1512, allocations: 6.438 kB / 305 MB, free: 17.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.1513, allocations: 0.6562 kB / 305 MB, free: 17.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.039e-05/0.1513, allocations: 3.75 kB / 305 MB, free: 17.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-06/0.1513, allocations: 1.875 kB / 305 MB, free: 17.77 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 (3): * Single equations (assignments): 3 * 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 7.773e-05/0.1514, allocations: 120.3 kB / 305.1 MB, free: 17.65 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.373e-05/0.1514, allocations: 20.88 kB / 305.1 MB, free: 17.65 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001293/0.1515, allocations: 79.61 kB / 305.2 MB, free: 17.6 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.1515, allocations: 2.344 kB / 305.2 MB, free: 17.6 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.1515, allocations: 0 / 305.2 MB, free: 17.6 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1515, allocations: 3.219 kB / 305.2 MB, free: 17.6 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001894/0.1517, allocations: 130.3 kB / 305.3 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1517, allocations: 1 kB / 305.3 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.858e-05/0.1518, allocations: 11.09 kB / 305.3 MB, free: 17.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.1518, allocations: 6.156 kB / 305.3 MB, free: 17.52 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.1518, allocations: 6.062 kB / 305.3 MB, free: 17.52 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.1518, allocations: 2.906 kB / 305.3 MB, free: 17.52 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.1518, allocations: 5.969 kB / 305.4 MB, free: 17.52 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001029/0.1519, allocations: 150 kB / 305.5 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.711e-05/0.1519, allocations: 34.69 kB / 305.5 MB, free: 17.36 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.1519, allocations: 0.5156 kB / 305.5 MB, free: 17.36 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.605e-05/0.152, allocations: 3.422 kB / 305.5 MB, free: 17.36 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.379e-05/0.152, allocations: 8.25 kB / 305.5 MB, free: 17.36 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-06/0.152, allocations: 3.312 kB / 305.5 MB, free: 17.36 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002729/0.1523, allocations: 278.4 kB / 305.8 MB, free: 17.34 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1523, allocations: 8.312 kB / 305.8 MB, free: 17.33 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001572/0.1524, allocations: 19.53 kB / 305.8 MB, free: 17.33 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 (3): * Single equations (assignments): 3 * 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.0009855/0.1534, allocations: 434 kB / 306.3 MB, free: 17.13 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.524e-05/0.1535, allocations: 13.56 kB / 306.3 MB, free: 17.12 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.118e-05/0.1535, allocations: 5.5 kB / 306.3 MB, free: 17.12 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.769e-05/0.1535, allocations: 12.66 kB / 306.3 MB, free: 17.11 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/0.1537, allocations: 29.34 kB / 306.3 MB, free: 17.11 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008583/0.1546, allocations: 0.5582 MB / 306.9 MB, free: 16.78 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001273/0.1547, allocations: 118.1 kB / 307 MB, free: 16.71 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.435e-05/0.1547, allocations: 7.344 kB / 307 MB, free: 16.7 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.911e-05/0.1548, allocations: 59.3 kB / 307.1 MB, free: 16.66 MB / 282.7 MB Notification: Performance of SimCode: time 1.112e-06/0.1548, allocations: 4 kB / 307.1 MB, free: 16.65 MB / 282.7 MB Notification: Performance of Templates: time 0.005107/0.1599, allocations: 1.293 MB / 308.4 MB, free: 16.48 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test9/Test9.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.959282494150102]