Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.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.001616/0.001616, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.00168/0.00168, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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 1.02/1.02, allocations: 177 MB / 204.8 MB, free: 5.574 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.2684/0.2684, allocations: 34.86 MB / 296.3 MB, free: 0.5391 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.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 378.8 MB, free: 1.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.378e-05/1.538e-05, allocations: 3.578 kB / 378.9 MB, free: 1.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.002014/0.002029, allocations: 1.762 MB / 380.6 MB, free: 212 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001629/0.003658, allocations: 1.743 MB / 382.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.611e-05/0.003725, allocations: 3.938 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002551/0.00398, allocations: 35.83 kB / 382.4 MB, free: 14.42 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003186/0.004298, allocations: 103.4 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001559/0.004454, allocations: 79.61 kB / 382.6 MB, free: 14.24 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.004594, allocations: 107.6 kB / 382.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.553e-05/0.00467, allocations: 11.98 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.404e-05/0.004744, allocations: 59.77 kB / 382.8 MB, free: 14.06 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.927e-05/0.004833, allocations: 31.91 kB / 382.8 MB, free: 14.03 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.00485, allocations: 8 kB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.004982, allocations: 107.8 kB / 382.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.286e-05/0.005025, allocations: 19.91 kB / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.551e-05/0.005061, allocations: 23.92 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002099/0.00527, allocations: 159.4 kB / 383.1 MB, free: 13.72 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.005273, allocations: 0 / 383.1 MB, free: 13.72 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.005273, allocations: 4 kB / 383.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.005277, allocations: 0 / 383.1 MB, free: 13.71 MB / 362.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.0004194/0.005697, allocations: 447.8 kB / 383.5 MB, free: 13.24 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.00573, allocations: 16.02 kB / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.54e-05/0.005775, allocations: 12.89 kB / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.005936, allocations: 153 kB / 383.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.005952, allocations: 384 / 383.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.72e-05/0.00597, allocations: 4.375 kB / 383.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.006106, allocations: 112 kB / 383.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.006118, allocations: 11.89 kB / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.006127, allocations: 0 / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.006135, allocations: 0 / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.341e-05/0.006168, allocations: 15.98 kB / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002712/0.006439, allocations: 275.8 kB / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.57e-05/0.006535, allocations: 59.11 kB / 384.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.054e-05/0.006566, allocations: 23.61 kB / 384.2 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.287e-06/0.006575, allocations: 0 / 384.2 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.526e-05/0.00666, allocations: 65.05 kB / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 7.62e-07/0.006661, allocations: 0 / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000348/0.007009, allocations: 153.3 kB / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.007044, allocations: 81.11 kB / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.007173, allocations: 215.3 kB / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.007186, allocations: 29.7 kB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.545e-05/0.007241, allocations: 146.9 kB / 384.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.94e-05/0.007271, allocations: 31.77 kB / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.292e-05/0.007303, allocations: 31.31 kB / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.00743, allocations: 0.4923 MB / 385.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.013e-05/0.00746, allocations: 15.98 kB / 385.4 MB, free: 11.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.691e-05/0.007507, allocations: 68.75 kB / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.697e-05/0.007564, allocations: 47.31 kB / 385.6 MB, free: 11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.007565, allocations: 0 / 385.6 MB, free: 11 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001075/0.007672, allocations: 89.59 kB / 385.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.007684, allocations: 11.98 kB / 385.7 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.007689, allocations: 3.984 kB / 385.7 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.007701, allocations: 7.938 kB / 385.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.305e-05/0.007764, allocations: 19.94 kB / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.007769, allocations: 0 / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.979e-05/0.007798, allocations: 4 kB / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-06/0.007805, allocations: 3.984 kB / 385.7 MB, free: 10.86 MB / 362.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 7.108e-05/0.007876, allocations: 164.5 kB / 385.9 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.691e-05/0.007893, allocations: 11.95 kB / 385.9 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001386/0.008032, allocations: 110.9 kB / 386 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.008033, allocations: 4 kB / 386 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.008036, allocations: 0 / 386 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.00804, allocations: 0 / 386 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002684/0.008308, allocations: 392.9 kB / 386.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.008311, allocations: 4 kB / 386.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.821e-05/0.008339, allocations: 11.98 kB / 386.4 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.008341, allocations: 0 / 386.4 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.00835, allocations: 0 / 386.4 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.008352, allocations: 4 kB / 386.4 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.008354, allocations: 4.031 kB / 386.4 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001402/0.008494, allocations: 259.4 kB / 386.6 MB, free: 9.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.214e-05/0.008506, allocations: 7.953 kB / 386.7 MB, free: 9.812 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.008524, allocations: 3.984 kB / 386.7 MB, free: 9.809 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.988e-05/0.008594, allocations: 8 kB / 386.7 MB, free: 9.801 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/0.008632, allocations: 7.984 kB / 386.7 MB, free: 9.793 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.008647, allocations: 7.938 kB / 386.7 MB, free: 9.785 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.061e-05/0.008728, allocations: 165.5 kB / 386.8 MB, free: 9.625 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008728, allocations: 0 / 386.8 MB, free: 9.625 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002073/0.008935, allocations: 47.86 kB / 386.9 MB, free: 9.578 MB / 362.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.001098/0.01003, allocations: 0.5427 MB / 387.4 MB, free: 9.195 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001425/0.01018, allocations: 47.61 kB / 387.5 MB, free: 9.145 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.01018, allocations: 4 kB / 387.5 MB, free: 9.141 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.024e-05/0.01022, allocations: 31.67 kB / 387.5 MB, free: 9.105 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002263/0.01044, allocations: 31.97 kB / 387.5 MB, free: 9.074 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003649/0.01081, allocations: 197.9 kB / 387.7 MB, free: 8.848 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.547e-05/0.01086, allocations: 67.34 kB / 387.8 MB, free: 8.762 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.304e-05/0.0109, allocations: 17.09 kB / 387.8 MB, free: 8.742 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.208e-05/0.01094, allocations: 28.48 kB / 387.8 MB, free: 8.715 MB / 362.7 MB Notification: Performance of SimCode: time 5.62e-07/0.01094, allocations: 0 / 387.8 MB, free: 8.715 MB / 362.7 MB Notification: Performance of Templates: time 0.004148/0.01509, allocations: 2.756 MB / 390.6 MB, free: 5.992 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.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.3093861578963697]