Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.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.0008888/0.0008888, 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.003744/0.003744, allocations: 160 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.8281/0.8281, allocations: 177 MB / 204.9 MB, free: 5.75 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.232/0.232, allocations: 34.24 MB / 295.6 MB, free: 0.6914 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.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 443.4 MB, free: 1.066 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.948e-05/2.067e-05, allocations: 9.031 kB / 443.4 MB, free: 1.059 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.1514/0.1514, allocations: 1.59 MB / 445 MB, free: 43.7 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.1525, allocations: 1.241 MB / 446.3 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.964e-05/0.1526, allocations: 0 / 446.3 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001842/0.1528, allocations: 25.36 kB / 446.3 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002202/0.153, allocations: 87.8 kB / 446.4 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001482/0.1531, allocations: 87.69 kB / 446.5 MB, free: 43 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001143/0.1532, allocations: 74.45 kB / 446.5 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.124e-05/0.1533, allocations: 13.19 kB / 446.6 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.74e-05/0.1534, allocations: 30.41 kB / 446.6 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.611e-05/0.1535, allocations: 27.81 kB / 446.6 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.1535, allocations: 5.75 kB / 446.6 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.455e-05/0.1536, allocations: 92.69 kB / 446.7 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.812e-05/0.1536, allocations: 14.02 kB / 446.7 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.229e-05/0.1536, allocations: 9.938 kB / 446.7 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.1538, allocations: 147.7 kB / 446.9 MB, free: 42.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1538, allocations: 3.5 kB / 446.9 MB, free: 42.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1538, allocations: 0 / 446.9 MB, free: 42.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.1538, allocations: 0 / 446.9 MB, free: 42.84 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.0003174/0.1541, allocations: 325.6 kB / 447.2 MB, free: 42.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.1541, allocations: 8.938 kB / 447.2 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.614e-05/0.1542, allocations: 7.734 kB / 447.2 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.1543, allocations: 140.9 kB / 447.3 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-06/0.1543, allocations: 3.406 kB / 447.4 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.1543, allocations: 384 / 447.4 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.1544, allocations: 92.77 kB / 447.4 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.1544, allocations: 7.703 kB / 447.5 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.1545, allocations: 3.344 kB / 447.5 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.1545, allocations: 384 / 447.5 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.698e-05/0.1545, allocations: 25.67 kB / 447.5 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001851/0.1547, allocations: 221.7 kB / 447.7 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001379/0.1548, allocations: 38.95 kB / 447.7 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.309e-05/0.1549, allocations: 15.47 kB / 447.7 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.1549, allocations: 0 / 447.7 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.153e-05/0.1549, allocations: 37.81 kB / 447.8 MB, free: 41.99 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 6.41e-07/0.1549, allocations: 2.25 kB / 447.8 MB, free: 41.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003382/0.1552, allocations: 147.1 kB / 447.9 MB, free: 41.92 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.297e-05/0.1552, allocations: 77.11 kB / 448 MB, free: 41.83 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.886e-05/0.1553, allocations: 148.9 kB / 448.2 MB, free: 41.71 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.242e-06/0.1553, allocations: 28.77 kB / 448.2 MB, free: 41.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.462e-05/0.1554, allocations: 91.42 kB / 448.3 MB, free: 41.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.583e-05/0.1554, allocations: 29.92 kB / 448.3 MB, free: 41.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.282e-05/0.1554, allocations: 16.34 kB / 448.3 MB, free: 41.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.625e-05/0.1554, allocations: 321.2 kB / 448.6 MB, free: 41.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.22e-05/0.1554, allocations: 16.17 kB / 448.6 MB, free: 41.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.824e-05/0.1555, allocations: 58.08 kB / 448.7 MB, free: 41.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.891e-05/0.1555, allocations: 54.17 kB / 448.8 MB, free: 41.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.1555, allocations: 0 / 448.8 MB, free: 41.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.613e-05/0.1556, allocations: 82.52 kB / 448.8 MB, free: 41.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.1556, allocations: 5.812 kB / 448.8 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.1556, allocations: 0 / 448.8 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.1557, allocations: 0 / 448.8 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.673e-05/0.1557, allocations: 19 kB / 448.9 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.1557, allocations: 0 / 448.9 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.115e-05/0.1557, allocations: 3.062 kB / 448.9 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-06/0.1557, allocations: 6.906 kB / 448.9 MB, free: 41.1 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 (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.96e-05/0.1558, allocations: 117.4 kB / 449 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.529e-05/0.1558, allocations: 14.8 kB / 449 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001234/0.1559, allocations: 93.77 kB / 449.1 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.1559, allocations: 0 / 449.1 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1559, allocations: 0 / 449.1 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1559, allocations: 2.906 kB / 449.1 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001968/0.1561, allocations: 304 kB / 449.4 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1561, allocations: 2.875 kB / 449.4 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.508e-05/0.1561, allocations: 11.95 kB / 449.4 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.1561, allocations: 0 / 449.4 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.1561, allocations: 0 / 449.4 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.1561, allocations: 2.969 kB / 449.4 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1561, allocations: 0 / 449.4 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.919e-05/0.1562, allocations: 181.1 kB / 449.6 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.977e-06/0.1562, allocations: 10.67 kB / 449.6 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.1563, allocations: 7.234 kB / 449.6 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.436e-05/0.1563, allocations: 6.312 kB / 449.6 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.702e-05/0.1563, allocations: 3.234 kB / 449.6 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.1563, allocations: 2.719 kB / 449.6 MB, free: 40.49 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.521e-05/0.1564, allocations: 116.5 kB / 449.7 MB, free: 40.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1564, allocations: 0 / 449.7 MB, free: 40.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001666/0.1565, allocations: 36.97 kB / 449.8 MB, free: 40.39 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 (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.0007144/0.1572, allocations: 0.5172 MB / 450.3 MB, free: 40.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001128/0.1574, allocations: 52.11 kB / 450.3 MB, free: 40.19 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.1574, allocations: 0 / 450.3 MB, free: 40.19 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.206e-05/0.1574, allocations: 21.5 kB / 450.4 MB, free: 40.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.1576, allocations: 25.73 kB / 450.4 MB, free: 40.17 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002562/0.1579, allocations: 186.2 kB / 450.6 MB, free: 40.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.695e-05/0.1579, allocations: 75.7 kB / 450.6 MB, free: 39.95 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.541e-05/0.1579, allocations: 24.27 kB / 450.7 MB, free: 39.94 MB / 410.7 MB Notification: Performance of SimCode: time 4.21e-07/0.1579, allocations: 0 / 450.7 MB, free: 39.94 MB / 410.7 MB Notification: Performance of Templates: time 0.002141/0.1601, allocations: 1.973 MB / 452.6 MB, free: 39.71 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.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.599705621600151]