Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007851/0.0007851, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003892/0.003892, allocations: 161 kB / 24.7 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.84/0.84, allocations: 177 MB / 204.9 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2187/0.2187, allocations: 34.24 MB / 295.6 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 443.4 MB, free: 1.027 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.392e-05/2.607e-05, allocations: 2.281 kB / 443.4 MB, free: 1.023 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.1721/0.1721, allocations: 1.608 MB / 445 MB, free: 43.72 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006758/0.1728, allocations: 0.5181 MB / 445.6 MB, free: 43.6 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.005e-05/0.1728, allocations: 0 / 445.6 MB, free: 43.6 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003853/0.1732, allocations: 466 kB / 446 MB, free: 43.57 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002955/0.1735, allocations: 291.7 kB / 446.3 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001982/0.1737, allocations: 126.1 kB / 446.4 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001511/0.1739, allocations: 177 kB / 446.6 MB, free: 43.47 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.177e-05/0.174, allocations: 10.09 kB / 446.6 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.475e-05/0.174, allocations: 120.1 kB / 446.7 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.1742, allocations: 244 kB / 447 MB, free: 43.43 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.1742, allocations: 2.875 kB / 447 MB, free: 43.43 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.156e-05/0.1743, allocations: 26.72 kB / 447 MB, free: 43.43 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.124e-05/0.1743, allocations: 80.55 kB / 447.1 MB, free: 43.39 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.64e-05/0.1744, allocations: 40.64 kB / 447.1 MB, free: 43.37 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001826/0.1745, allocations: 233.9 kB / 447.3 MB, free: 43.29 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1745, allocations: 0 / 447.3 MB, free: 43.29 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1745, allocations: 0 / 447.3 MB, free: 43.29 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.1746, allocations: 0 / 447.3 MB, free: 43.29 MB / 410.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.0004126/0.175, allocations: 0.5794 MB / 447.9 MB, free: 42.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.175, allocations: 11.16 kB / 447.9 MB, free: 42.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.183e-05/0.175, allocations: 44.44 kB / 448 MB, free: 42.78 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.1752, allocations: 241.3 kB / 448.2 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.055e-06/0.1752, allocations: 3.188 kB / 448.2 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.286e-06/0.1752, allocations: 384 / 448.2 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.1753, allocations: 54.78 kB / 448.3 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.1753, allocations: 192 / 448.3 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.1753, allocations: 4.312 kB / 448.3 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1753, allocations: 10.03 kB / 448.3 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.981e-05/0.1754, allocations: 34.52 kB / 448.3 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002534/0.1756, allocations: 310.9 kB / 448.6 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.073e-05/0.1757, allocations: 39.09 kB / 448.7 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.252e-05/0.1757, allocations: 20.56 kB / 448.7 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.1758, allocations: 9.719 kB / 448.7 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.255e-05/0.1758, allocations: 30.56 kB / 448.7 MB, free: 42.19 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 7.22e-07/0.1758, allocations: 4 kB / 448.7 MB, free: 42.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001916/0.176, allocations: 122.2 kB / 448.8 MB, free: 42.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.184e-05/0.176, allocations: 54.28 kB / 448.9 MB, free: 42.06 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004043/0.1764, allocations: 0.8645 MB / 449.8 MB, free: 41.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.741e-06/0.1764, allocations: 25.7 kB / 449.8 MB, free: 41.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.364e-05/0.1765, allocations: 217.1 kB / 450 MB, free: 41.53 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.352e-05/0.1765, allocations: 3.953 kB / 450 MB, free: 41.53 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.195e-05/0.1765, allocations: 16.91 kB / 450 MB, free: 41.51 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.277e-05/0.1765, allocations: 361.3 kB / 450.4 MB, free: 41.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.603e-05/0.1766, allocations: 18.59 kB / 450.4 MB, free: 41.17 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.517e-05/0.1766, allocations: 19.64 kB / 450.4 MB, free: 41.17 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.692e-05/0.1767, allocations: 38.78 kB / 450.4 MB, free: 41.15 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1767, allocations: 1.312 kB / 450.4 MB, free: 41.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.857e-05/0.1768, allocations: 102.9 kB / 450.5 MB, free: 41.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.1768, allocations: 9.594 kB / 450.6 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1768, allocations: 4 kB / 450.6 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.1768, allocations: 3.938 kB / 450.6 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.377e-05/0.1768, allocations: 11.69 kB / 450.6 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.1768, allocations: 0 / 450.6 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.64e-05/0.1769, allocations: 2.875 kB / 450.6 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.1769, allocations: 0 / 450.6 MB, free: 41.08 MB / 410.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 9.407e-05/0.177, allocations: 223 kB / 450.8 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/0.177, allocations: 45.58 kB / 450.8 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001305/0.1771, allocations: 131 kB / 451 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1771, allocations: 0 / 451 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1771, allocations: 0 / 451 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1771, allocations: 7.453 kB / 451 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001188/0.1772, allocations: 225.5 kB / 451.2 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1772, allocations: 2.375 kB / 451.2 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.175e-05/0.1773, allocations: 12.02 kB / 451.2 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1773, allocations: 0 / 451.2 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-06/0.1773, allocations: 4 kB / 451.2 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1773, allocations: 6.688 kB / 451.2 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1773, allocations: 4 kB / 451.2 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.51e-05/0.1774, allocations: 202.9 kB / 451.4 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.774e-05/0.1774, allocations: 31.81 kB / 451.5 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.1774, allocations: 0 / 451.5 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.012e-05/0.1774, allocations: 14.47 kB / 451.5 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.149e-05/0.1775, allocations: 3.281 kB / 451.5 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-06/0.1775, allocations: 0 / 451.5 MB, free: 40.48 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002892/0.1777, allocations: 0.6501 MB / 452.1 MB, free: 40.24 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1777, allocations: 0 / 452.1 MB, free: 40.24 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001546/0.1779, allocations: 14.75 kB / 452.1 MB, free: 40.24 MB / 410.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.000537/0.1784, allocations: 372 kB / 452.5 MB, free: 40.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001046/0.1785, allocations: 41.75 kB / 452.5 MB, free: 40.09 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.1785, allocations: 0 / 452.5 MB, free: 40.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.409e-05/0.1786, allocations: 17.36 kB / 452.6 MB, free: 40.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002561/0.1788, allocations: 23.11 kB / 452.6 MB, free: 40.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006004/0.1794, allocations: 0.836 MB / 453.4 MB, free: 39.69 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001032/0.1795, allocations: 207.2 kB / 453.6 MB, free: 39.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.541e-05/0.1796, allocations: 17.94 kB / 453.6 MB, free: 39.59 MB / 410.7 MB Notification: Performance of SimCode: time 5.11e-07/0.1796, allocations: 0 / 453.6 MB, free: 39.59 MB / 410.7 MB Notification: Performance of Templates: time 0.003256/0.1828, allocations: 3.676 MB / 457.3 MB, free: 38.75 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.75182877201587]