Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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.0009356/0.0009356, 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.004361/0.004361, allocations: 160.8 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.8495/0.8495, allocations: 177 MB / 204.8 MB, free: 5.727 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.2225/0.2225, allocations: 34.24 MB / 295.6 MB, free: 0.6641 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.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 443.5 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.034e-05/2.183e-05, allocations: 2.281 kB / 443.5 MB, free: 0.957 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.1537/0.1537, allocations: 1.901 MB / 445.4 MB, free: 43.55 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009042/0.1546, allocations: 1.002 MB / 446.4 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.892e-05/0.1547, allocations: 2.781 kB / 446.4 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002431/0.1549, allocations: 50.03 kB / 446.5 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002089/0.1551, allocations: 103.5 kB / 446.6 MB, free: 43 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001214/0.1552, allocations: 98.77 kB / 446.6 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001406/0.1554, allocations: 145.2 kB / 446.8 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.309e-05/0.1555, allocations: 19 kB / 446.8 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.134e-05/0.1555, allocations: 80.73 kB / 446.9 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.784e-05/0.1556, allocations: 41.69 kB / 446.9 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.1556, allocations: 5.906 kB / 446.9 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.591e-05/0.1557, allocations: 47.17 kB / 447 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.472e-05/0.1557, allocations: 33.11 kB / 447 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.926e-05/0.1558, allocations: 30.84 kB / 447 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001634/0.1559, allocations: 158 kB / 447.2 MB, free: 42.71 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.1559, allocations: 1.781 kB / 447.2 MB, free: 42.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1559, allocations: 0 / 447.2 MB, free: 42.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.1559, allocations: 3.938 kB / 447.2 MB, free: 42.71 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004025/0.1563, allocations: 410.7 kB / 447.6 MB, free: 42.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.912e-05/0.1564, allocations: 11.72 kB / 447.6 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.842e-05/0.1564, allocations: 17.03 kB / 447.6 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001986/0.1566, allocations: 178 kB / 447.8 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.1566, allocations: 3.125 kB / 447.8 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.1566, allocations: 10.97 kB / 447.8 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.1568, allocations: 133.8 kB / 448 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.1568, allocations: 192 / 448 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.1568, allocations: 6.688 kB / 448 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.1568, allocations: 7.188 kB / 448 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.162e-05/0.1569, allocations: 57.22 kB / 448 MB, free: 42.03 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002968/0.1572, allocations: 450.7 kB / 448.5 MB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001887/0.1574, allocations: 85.88 kB / 448.5 MB, free: 41.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.305e-05/0.1574, allocations: 34.23 kB / 448.6 MB, free: 41.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.1574, allocations: 2.906 kB / 448.6 MB, free: 41.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000112/0.1575, allocations: 115.7 kB / 448.7 MB, free: 41.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 4.529e-06/0.1575, allocations: 0 / 448.7 MB, free: 41.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002138/0.1578, allocations: 144.9 kB / 448.8 MB, free: 41.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.68e-05/0.1578, allocations: 59.42 kB / 448.9 MB, free: 41.35 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.871e-05/0.1579, allocations: 199.8 kB / 449.1 MB, free: 41.22 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.874e-06/0.1579, allocations: 29.7 kB / 449.1 MB, free: 41.18 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.008e-05/0.1579, allocations: 122.7 kB / 449.2 MB, free: 41.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.324e-05/0.1579, allocations: 30.34 kB / 449.3 MB, free: 41.05 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.7e-05/0.158, allocations: 33.81 kB / 449.3 MB, free: 41.02 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.916e-05/0.158, allocations: 334.7 kB / 449.6 MB, free: 40.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.362e-05/0.158, allocations: 28.27 kB / 449.7 MB, free: 40.69 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.516e-05/0.1581, allocations: 70.69 kB / 449.7 MB, free: 40.63 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.97e-05/0.1582, allocations: 97.61 kB / 449.8 MB, free: 40.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1582, allocations: 6.906 kB / 449.8 MB, free: 40.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001274/0.1583, allocations: 138.1 kB / 450 MB, free: 40.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.1583, allocations: 5.812 kB / 450 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.1583, allocations: 2.844 kB / 450 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.1583, allocations: 3.062 kB / 450 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.879e-05/0.1584, allocations: 20.67 kB / 450 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.1584, allocations: 2.812 kB / 450 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.165e-05/0.1584, allocations: 14.22 kB / 450 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.1584, allocations: 9.781 kB / 450 MB, free: 40.48 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 4.743e-05/0.1585, allocations: 131.8 kB / 450.1 MB, free: 40.35 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.147e-05/0.1585, allocations: 14.91 kB / 450.2 MB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000148/0.1586, allocations: 140.9 kB / 450.3 MB, free: 40.28 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1586, allocations: 0 / 450.3 MB, free: 40.28 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.1586, allocations: 2.75 kB / 450.3 MB, free: 40.28 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1586, allocations: 0 / 450.3 MB, free: 40.28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.393e-05/0.1587, allocations: 155 kB / 450.5 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.1587, allocations: 4 kB / 450.5 MB, free: 40.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.806e-05/0.1587, allocations: 15.44 kB / 450.5 MB, free: 40.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.1587, allocations: 3.062 kB / 450.5 MB, free: 40.13 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.1587, allocations: 3.281 kB / 450.5 MB, free: 40.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.1587, allocations: 3.938 kB / 450.5 MB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1587, allocations: 0 / 450.5 MB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.1589, allocations: 197.7 kB / 450.7 MB, free: 40.01 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.114e-05/0.1589, allocations: 10.78 kB / 450.7 MB, free: 40 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.1589, allocations: 2.875 kB / 450.7 MB, free: 40 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.587e-05/0.159, allocations: 21.19 kB / 450.7 MB, free: 39.99 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.879e-05/0.159, allocations: 6.156 kB / 450.7 MB, free: 39.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.159, allocations: 2.969 kB / 450.7 MB, free: 39.99 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.631e-05/0.1591, allocations: 153.6 kB / 450.9 MB, free: 39.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1591, allocations: 3.938 kB / 450.9 MB, free: 39.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001412/0.1592, allocations: 24.47 kB / 450.9 MB, free: 39.89 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005708/0.1598, allocations: 427.2 kB / 451.3 MB, free: 39.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001327/0.1599, allocations: 83.8 kB / 451.4 MB, free: 39.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.1599, allocations: 0 / 451.4 MB, free: 39.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.629e-05/0.16, allocations: 39.72 kB / 451.4 MB, free: 39.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001715/0.1601, allocations: 37.5 kB / 451.5 MB, free: 39.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003182/0.1604, allocations: 292.9 kB / 451.8 MB, free: 39.46 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.506e-05/0.1605, allocations: 112.1 kB / 451.9 MB, free: 39.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.595e-05/0.1605, allocations: 16.91 kB / 451.9 MB, free: 39.38 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/0.1605, allocations: 0 / 451.9 MB, free: 39.38 MB / 410.7 MB Notification: Performance of Templates: time 0.002191/0.1627, allocations: 2.266 MB / 454.1 MB, free: 39.15 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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.897074402309954]