Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.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.00088/0.00088, 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.003268/0.003268, 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.8778/0.8778, 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.2197/0.2197, allocations: 34.24 MB / 295.6 MB, free: 0.6719 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.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 443.4 MB, free: 1.039 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.223e-05/1.329e-05, allocations: 2.281 kB / 443.4 MB, free: 1.035 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.1569/0.1569, allocations: 1.59 MB / 445 MB, free: 43.69 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006185/0.1575, allocations: 0.5346 MB / 445.6 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.769e-05/0.1575, allocations: 3.219 kB / 445.6 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001428/0.1577, allocations: 29.22 kB / 445.6 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001622/0.1578, allocations: 81.42 kB / 445.7 MB, free: 43.51 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001519/0.158, allocations: 117.2 kB / 445.8 MB, free: 43.47 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.081e-05/0.1581, allocations: 68.62 kB / 445.8 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.269e-05/0.1581, allocations: 13.44 kB / 445.9 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.922e-05/0.1582, allocations: 33.45 kB / 445.9 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.422e-05/0.1582, allocations: 14.62 kB / 445.9 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.268e-06/0.1582, allocations: 6.875 kB / 445.9 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.358e-05/0.1583, allocations: 25.58 kB / 445.9 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.055e-05/0.1583, allocations: 16.56 kB / 446 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.75e-05/0.1583, allocations: 16.3 kB / 446 MB, free: 43.44 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 9.911e-05/0.1584, allocations: 84.45 kB / 446.1 MB, free: 43.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.1584, allocations: 3.875 kB / 446.1 MB, free: 43.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1584, allocations: 3.938 kB / 446.1 MB, free: 43.4 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.256e-06/0.1584, allocations: 0 / 446.1 MB, free: 43.4 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.0002546/0.1587, allocations: 320.5 kB / 446.4 MB, free: 43.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.753e-05/0.1587, allocations: 11.69 kB / 446.4 MB, free: 43.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.356e-05/0.1587, allocations: 7.734 kB / 446.4 MB, free: 43.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.83e-05/0.1588, allocations: 135.8 kB / 446.5 MB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.402e-06/0.1588, allocations: 10.28 kB / 446.5 MB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.1588, allocations: 4.375 kB / 446.5 MB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.58e-05/0.1589, allocations: 47.83 kB / 446.6 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.1589, allocations: 192 / 446.6 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.692e-06/0.1589, allocations: 4.125 kB / 446.6 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.176e-06/0.1589, allocations: 3.141 kB / 446.6 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.695e-05/0.159, allocations: 21.91 kB / 446.6 MB, free: 42.9 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001763/0.1592, allocations: 230.3 kB / 446.8 MB, free: 42.69 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.1593, allocations: 43.11 kB / 446.9 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.263e-05/0.1593, allocations: 20.36 kB / 446.9 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.1593, allocations: 7.938 kB / 446.9 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.105e-06/0.1593, allocations: 33.19 kB / 446.9 MB, free: 42.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 6.91e-07/0.1593, allocations: 0 / 446.9 MB, free: 42.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002923/0.1596, allocations: 158.7 kB / 447.1 MB, free: 42.53 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.237e-05/0.1596, allocations: 54.22 kB / 447.1 MB, free: 42.46 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.787e-05/0.1597, allocations: 175 kB / 447.3 MB, free: 42.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.681e-06/0.1597, allocations: 28.42 kB / 447.3 MB, free: 42.31 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.099e-05/0.1597, allocations: 96.86 kB / 447.4 MB, free: 42.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.317e-05/0.1598, allocations: 29.25 kB / 447.5 MB, free: 42.19 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.129e-05/0.1598, allocations: 19.19 kB / 447.5 MB, free: 42.17 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.393e-05/0.1598, allocations: 320.7 kB / 447.8 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.283e-05/0.1598, allocations: 22.34 kB / 447.8 MB, free: 41.85 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.74e-05/0.1599, allocations: 19.17 kB / 447.8 MB, free: 41.85 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.239e-05/0.1599, allocations: 58.25 kB / 447.9 MB, free: 41.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1599, allocations: 2.688 kB / 447.9 MB, free: 41.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.512e-05/0.16, allocations: 94.23 kB / 448 MB, free: 41.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.448e-06/0.16, allocations: 5.312 kB / 448 MB, free: 41.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.855e-06/0.16, allocations: 0 / 448 MB, free: 41.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.176e-06/0.16, allocations: 0 / 448 MB, free: 41.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.276e-05/0.1601, allocations: 13.94 kB / 448 MB, free: 41.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.477e-06/0.1601, allocations: 0 / 448 MB, free: 41.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.706e-05/0.1601, allocations: 6.188 kB / 448 MB, free: 41.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.1601, allocations: 2.812 kB / 448 MB, free: 41.77 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.504e-05/0.1601, allocations: 125.8 kB / 448.1 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.392e-05/0.1601, allocations: 18.5 kB / 448.2 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001154/0.1603, allocations: 101.2 kB / 448.3 MB, free: 41.58 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.1603, allocations: 0 / 448.3 MB, free: 41.58 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.1603, allocations: 2.5 kB / 448.3 MB, free: 41.58 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1603, allocations: 3.938 kB / 448.3 MB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001778/0.1604, allocations: 296.6 kB / 448.6 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1604, allocations: 6.188 kB / 448.6 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.336e-05/0.1605, allocations: 22.92 kB / 448.6 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.1605, allocations: 0 / 448.6 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.498e-06/0.1605, allocations: 0 / 448.6 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.1605, allocations: 6.156 kB / 448.6 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1605, allocations: 0 / 448.6 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.174e-05/0.1606, allocations: 180.2 kB / 448.8 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.402e-06/0.1606, allocations: 6.984 kB / 448.8 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.009e-05/0.1606, allocations: 3.031 kB / 448.8 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.235e-05/0.1606, allocations: 5.969 kB / 448.8 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.247e-05/0.1606, allocations: 14.94 kB / 448.8 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.1606, allocations: 2.969 kB / 448.8 MB, free: 41.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.679e-05/0.1607, allocations: 138 kB / 448.9 MB, free: 41.06 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1607, allocations: 0 / 448.9 MB, free: 41.06 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001429/0.1608, allocations: 12.91 kB / 448.9 MB, free: 41.05 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.0005665/0.1614, allocations: 411.8 kB / 449.4 MB, free: 40.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001016/0.1615, allocations: 53.72 kB / 449.4 MB, free: 40.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.1615, allocations: 4 kB / 449.4 MB, free: 40.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.53e-05/0.1615, allocations: 29.28 kB / 449.4 MB, free: 40.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002149/0.1617, allocations: 24 kB / 449.5 MB, free: 40.87 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002461/0.162, allocations: 224.4 kB / 449.7 MB, free: 40.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.75e-05/0.162, allocations: 84.17 kB / 449.8 MB, free: 40.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.097e-05/0.1621, allocations: 14.34 kB / 449.8 MB, free: 40.62 MB / 410.7 MB Notification: Performance of SimCode: time 3.41e-07/0.1621, allocations: 0 / 449.8 MB, free: 40.62 MB / 410.7 MB Notification: Performance of Templates: time 0.001765/0.1638, allocations: 1.556 MB / 451.3 MB, free: 40.45 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.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.525776867754757]