Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.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.0008224/0.0008224, allocations: 88.28 kB / 21.43 MB, free: 3.137 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.003259/0.003259, allocations: 155.5 kB / 24.7 MB, free: 8.895 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.8426/0.8426, allocations: 177 MB / 204.8 MB, free: 5.734 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.249/0.249, allocations: 34.24 MB / 295.6 MB, free: 0.668 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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,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.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 443.4 MB, free: 1.039 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.644e-05/1.764e-05, allocations: 2.281 kB / 443.4 MB, free: 1.035 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.1586/0.1586, allocations: 1.593 MB / 445 MB, free: 43.68 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005945/0.1592, allocations: 0.517 MB / 445.5 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.757e-05/0.1593, allocations: 0 / 445.5 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001786/0.1594, allocations: 29.95 kB / 445.6 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002255/0.1597, allocations: 84.91 kB / 445.7 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001658/0.1598, allocations: 85.41 kB / 445.7 MB, free: 43.47 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.1599, allocations: 74.39 kB / 445.8 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.944e-05/0.16, allocations: 9.75 kB / 445.8 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.679e-05/0.1601, allocations: 26.14 kB / 445.8 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.437e-05/0.1601, allocations: 19.2 kB / 445.9 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.1601, allocations: 2.594 kB / 445.9 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.656e-05/0.1602, allocations: 33 kB / 445.9 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.783e-05/0.1603, allocations: 17.97 kB / 445.9 MB, free: 43.44 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.672e-05/0.1603, allocations: 12.22 kB / 445.9 MB, free: 43.44 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001279/0.1604, allocations: 82.25 kB / 446 MB, free: 43.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1604, allocations: 0 / 446 MB, free: 43.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1604, allocations: 0 / 446 MB, free: 43.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.1604, allocations: 3.438 kB / 446 MB, free: 43.41 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.0003068/0.1607, allocations: 304.9 kB / 446.3 MB, free: 43.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.1608, allocations: 14.47 kB / 446.3 MB, free: 43.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.102e-05/0.1608, allocations: 7.766 kB / 446.3 MB, free: 43.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.1609, allocations: 142.4 kB / 446.5 MB, free: 42.96 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.923e-06/0.1609, allocations: 384 / 446.5 MB, free: 42.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.1609, allocations: 3.969 kB / 446.5 MB, free: 42.96 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.026e-05/0.161, allocations: 47.88 kB / 446.5 MB, free: 42.92 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.161, allocations: 6.781 kB / 446.5 MB, free: 42.92 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.161, allocations: 384 / 446.5 MB, free: 42.92 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-06/0.161, allocations: 384 / 446.5 MB, free: 42.92 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.997e-05/0.1611, allocations: 26.42 kB / 446.6 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001894/0.1613, allocations: 221.6 kB / 446.8 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/0.1614, allocations: 45.23 kB / 446.8 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.314e-05/0.1614, allocations: 14.14 kB / 446.8 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.1615, allocations: 3.125 kB / 446.8 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.04e-05/0.1615, allocations: 33.89 kB / 446.9 MB, free: 42.61 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 6.61e-07/0.1615, allocations: 0.7812 kB / 446.9 MB, free: 42.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003404/0.1618, allocations: 148.9 kB / 447 MB, free: 42.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.974e-05/0.1618, allocations: 51.41 kB / 447.1 MB, free: 42.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.83e-05/0.1619, allocations: 151.1 kB / 447.2 MB, free: 42.36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.03e-06/0.1619, allocations: 28.42 kB / 447.2 MB, free: 42.33 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.494e-05/0.1619, allocations: 96.22 kB / 447.3 MB, free: 42.24 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.506e-05/0.162, allocations: 22.36 kB / 447.4 MB, free: 42.22 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.263e-05/0.162, allocations: 19.55 kB / 447.4 MB, free: 42.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.541e-05/0.162, allocations: 316.1 kB / 447.7 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.124e-05/0.162, allocations: 22.91 kB / 447.7 MB, free: 41.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.697e-05/0.1621, allocations: 17.75 kB / 447.7 MB, free: 41.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.924e-05/0.1621, allocations: 52.78 kB / 447.8 MB, free: 41.86 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1621, allocations: 2.688 kB / 447.8 MB, free: 41.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.071e-05/0.1622, allocations: 80.69 kB / 447.9 MB, free: 41.81 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.1622, allocations: 5.688 kB / 447.9 MB, free: 41.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1622, allocations: 0 / 447.9 MB, free: 41.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.1622, allocations: 7.031 kB / 447.9 MB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.948e-05/0.1623, allocations: 12.06 kB / 447.9 MB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.1623, allocations: 0 / 447.9 MB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.925e-05/0.1623, allocations: 10.2 kB / 447.9 MB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.1623, allocations: 2.875 kB / 447.9 MB, free: 41.8 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 5.318e-05/0.1624, allocations: 116.8 kB / 448 MB, free: 41.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.565e-05/0.1624, allocations: 13.61 kB / 448 MB, free: 41.67 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001255/0.1625, allocations: 93.84 kB / 448.1 MB, free: 41.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1625, allocations: 4 kB / 448.1 MB, free: 41.62 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.1625, allocations: 0 / 448.1 MB, free: 41.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1625, allocations: 3.938 kB / 448.1 MB, free: 41.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.1627, allocations: 291.5 kB / 448.4 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1627, allocations: 3.25 kB / 448.4 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.364e-05/0.1627, allocations: 17.75 kB / 448.4 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1627, allocations: 0 / 448.4 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.089e-06/0.1627, allocations: 0 / 448.4 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.1627, allocations: 0 / 448.4 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1627, allocations: 7.125 kB / 448.4 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.358e-05/0.1628, allocations: 177.1 kB / 448.6 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.891e-06/0.1628, allocations: 6.828 kB / 448.6 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.758e-06/0.1628, allocations: 0 / 448.6 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.186e-05/0.1629, allocations: 6.188 kB / 448.6 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.355e-05/0.1629, allocations: 10.84 kB / 448.6 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.1629, allocations: 0 / 448.6 MB, free: 41.19 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.795e-05/0.1629, allocations: 117.5 kB / 448.7 MB, free: 41.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1629, allocations: 0 / 448.7 MB, free: 41.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001467/0.1631, allocations: 19.69 kB / 448.8 MB, free: 41.1 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.0005815/0.1637, allocations: 419.7 kB / 449.2 MB, free: 40.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001116/0.1638, allocations: 47.19 kB / 449.2 MB, free: 40.94 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.1638, allocations: 0 / 449.2 MB, free: 40.94 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.144e-05/0.1638, allocations: 25.69 kB / 449.2 MB, free: 40.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002361/0.164, allocations: 16.5 kB / 449.3 MB, free: 40.92 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000268/0.1643, allocations: 209.4 kB / 449.5 MB, free: 40.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.553e-05/0.1643, allocations: 74.81 kB / 449.5 MB, free: 40.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.193e-05/0.1644, allocations: 18.25 kB / 449.5 MB, free: 40.67 MB / 410.7 MB Notification: Performance of SimCode: time 4.41e-07/0.1644, allocations: 0 / 449.5 MB, free: 40.67 MB / 410.7 MB Notification: Performance of Templates: time 0.001874/0.1662, allocations: 1.461 MB / 451 MB, free: 40.51 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.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.763066967949271]