Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.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.001185/0.001185, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001225/0.001225, allocations: 163.8 kB / 24.91 MB, free: 8.262 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.9615/0.9615, allocations: 177 MB / 205.2 MB, free: 5.418 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.2881/0.2881, allocations: 34.86 MB / 296.6 MB, free: 0.5312 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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 326 MB, free: 7.086 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.719e-05/2.879e-05, allocations: 3.734 kB / 326 MB, free: 7.082 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.002834/0.002863, allocations: 1.765 MB / 327.8 MB, free: 5.305 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.004075, allocations: 1.006 MB / 328.8 MB, free: 4.293 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.076e-05/0.004145, allocations: 7.938 kB / 328.8 MB, free: 4.285 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002648/0.00441, allocations: 43.69 kB / 328.8 MB, free: 4.242 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002703/0.004681, allocations: 99.53 kB / 328.9 MB, free: 4.145 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001636/0.004844, allocations: 71.69 kB / 329 MB, free: 4.074 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001398/0.004984, allocations: 112.3 kB / 329.1 MB, free: 3.965 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.282e-05/0.005057, allocations: 15.98 kB / 329.1 MB, free: 3.949 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.801e-05/0.005145, allocations: 55.77 kB / 329.2 MB, free: 3.895 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.971e-05/0.005215, allocations: 31.91 kB / 329.2 MB, free: 3.863 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.005229, allocations: 4 kB / 329.2 MB, free: 3.859 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.542e-05/0.005304, allocations: 43.92 kB / 329.2 MB, free: 3.816 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.385e-05/0.005348, allocations: 23.91 kB / 329.3 MB, free: 3.793 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.195e-05/0.00538, allocations: 19.92 kB / 329.3 MB, free: 3.773 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001515/0.005531, allocations: 103.6 kB / 329.4 MB, free: 3.672 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.005534, allocations: 0 / 329.4 MB, free: 3.672 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.005535, allocations: 0 / 329.4 MB, free: 3.672 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.005538, allocations: 0 / 329.4 MB, free: 3.672 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006533/0.006191, allocations: 325.5 kB / 329.7 MB, free: 3.332 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/0.006222, allocations: 8.031 kB / 329.7 MB, free: 3.324 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.14e-05/0.006254, allocations: 20.92 kB / 329.7 MB, free: 3.305 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.006395, allocations: 142.1 kB / 329.9 MB, free: 3.141 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.00641, allocations: 8.375 kB / 329.9 MB, free: 3.133 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.006427, allocations: 384 / 329.9 MB, free: 3.133 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.899e-05/0.006526, allocations: 61.77 kB / 329.9 MB, free: 3.062 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.006535, allocations: 192 / 329.9 MB, free: 3.062 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.006543, allocations: 4.375 kB / 329.9 MB, free: 3.059 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.006548, allocations: 3.938 kB / 330 MB, free: 3.055 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.356e-05/0.006572, allocations: 11.98 kB / 330 MB, free: 3.043 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001859/0.006757, allocations: 161.9 kB / 330.1 MB, free: 2.867 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.871e-05/0.006846, allocations: 105.2 kB / 330.2 MB, free: 2.754 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.96e-05/0.006866, allocations: 12.86 kB / 330.2 MB, free: 2.738 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.006876, allocations: 0 / 330.2 MB, free: 2.738 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.12e-05/0.006958, allocations: 58.22 kB / 330.3 MB, free: 2.668 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 9.52e-07/0.006959, allocations: 0 / 330.3 MB, free: 2.668 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002761/0.007235, allocations: 121.7 kB / 330.4 MB, free: 2.543 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.007266, allocations: 55.34 kB / 330.5 MB, free: 2.477 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.007369, allocations: 184.2 kB / 330.6 MB, free: 2.281 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.007385, allocations: 33.7 kB / 330.7 MB, free: 2.242 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.013e-05/0.007415, allocations: 92.08 kB / 330.8 MB, free: 2.148 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.007439, allocations: 27.78 kB / 330.8 MB, free: 2.121 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.172e-05/0.007471, allocations: 25.7 kB / 330.8 MB, free: 2.09 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.195e-05/0.007543, allocations: 330.8 kB / 331.1 MB, free: 1.758 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.632e-05/0.007559, allocations: 6.828 kB / 331.2 MB, free: 1.75 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.275e-05/0.007582, allocations: 21.84 kB / 331.2 MB, free: 1.723 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.355e-05/0.007626, allocations: 52.44 kB / 331.2 MB, free: 1.664 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.007627, allocations: 0 / 331.2 MB, free: 1.664 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.177e-05/0.007698, allocations: 68.5 kB / 331.3 MB, free: 1.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.007712, allocations: 11.94 kB / 331.3 MB, free: 1.578 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.007716, allocations: 0 / 331.3 MB, free: 1.578 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.007728, allocations: 0 / 331.3 MB, free: 1.578 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.671e-05/0.007784, allocations: 19.92 kB / 331.3 MB, free: 1.559 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-06/0.007787, allocations: 0 / 331.3 MB, free: 1.559 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.837e-05/0.007815, allocations: 8 kB / 331.3 MB, free: 1.551 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.00782, allocations: 0 / 331.3 MB, free: 1.551 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 6.125e-05/0.007882, allocations: 116.7 kB / 331.4 MB, free: 1.426 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.345e-05/0.007895, allocations: 15.92 kB / 331.5 MB, free: 1.41 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/0.008003, allocations: 79.11 kB / 331.5 MB, free: 1.324 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.008005, allocations: 0 / 331.5 MB, free: 1.324 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.008006, allocations: 0 / 331.5 MB, free: 1.324 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.008011, allocations: 7.984 kB / 331.5 MB, free: 1.316 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002113/0.008222, allocations: 283.5 kB / 331.8 MB, free: 1.008 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.008226, allocations: 7.938 kB / 331.8 MB, free: 1 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.545e-05/0.008251, allocations: 8 kB / 331.8 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.008253, allocations: 0 / 331.8 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.008261, allocations: 4 kB / 331.8 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.008264, allocations: 8.156 kB / 331.8 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.008265, allocations: 8.031 kB / 331.9 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001024/0.008367, allocations: 211 kB / 332.1 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.543e-05/0.008383, allocations: 15.84 kB / 332.1 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.008397, allocations: 0 / 332.1 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.216e-05/0.008439, allocations: 11.98 kB / 332.1 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.27e-05/0.008462, allocations: 4 kB / 332.1 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.008473, allocations: 3.984 kB / 332.1 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.488e-05/0.008518, allocations: 60.69 kB / 332.2 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008518, allocations: 0 / 332.2 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000151/0.008669, allocations: 27.92 kB / 332.2 MB, free: 0.6211 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * 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 (9): * Single equations (assignments): 7 * 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.001279/0.009948, allocations: 0.5618 MB / 332.7 MB, free: 344 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.965e-05/0.01004, allocations: 40.78 kB / 332.8 MB, free: 300 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.01004, allocations: 0 / 332.8 MB, free: 300 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.928e-05/0.01007, allocations: 32.89 kB / 332.8 MB, free: 264 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001789/0.01025, allocations: 27.92 kB / 332.8 MB, free: 236 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003301/0.01058, allocations: 235.8 kB / 333.1 MB, free: 15.97 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.969e-05/0.01062, allocations: 63.34 kB / 333.1 MB, free: 15.89 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.942e-05/0.01066, allocations: 17.27 kB / 333.2 MB, free: 15.87 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.598e-05/0.01072, allocations: 71.36 kB / 333.2 MB, free: 15.8 MB / 314.7 MB Notification: Performance of SimCode: time 7.61e-07/0.01072, allocations: 8.062 kB / 333.2 MB, free: 15.79 MB / 314.7 MB Notification: Performance of Templates: time 0.003843/0.01457, allocations: 2.016 MB / 335.2 MB, free: 13.8 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0680106319487095]