Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.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.001207/0.001207, allocations: 91.5 kB / 21.2 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.001281/0.001281, allocations: 160.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.007/1.007, allocations: 177 MB / 204.8 MB, free: 5.598 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.2752/0.2752, allocations: 34.87 MB / 296.3 MB, free: 0.5352 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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 378.8 MB, free: 2.012 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.875e-05/3.062e-05, allocations: 2.875 kB / 378.8 MB, free: 2.008 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.003419/0.00345, allocations: 1.768 MB / 380.6 MB, free: 236 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001469/0.004919, allocations: 1.012 MB / 381.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.86e-05/0.004997, allocations: 0 / 381.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002723/0.00527, allocations: 47.64 kB / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003317/0.005601, allocations: 95.53 kB / 381.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002044/0.005806, allocations: 83.61 kB / 381.9 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001553/0.005961, allocations: 107.6 kB / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.137e-05/0.006042, allocations: 8 kB / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.157e-05/0.006124, allocations: 47.84 kB / 382 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.297e-05/0.006197, allocations: 39.83 kB / 382.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.006214, allocations: 4 kB / 382.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.006317, allocations: 43.92 kB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.584e-05/0.006372, allocations: 27.91 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.115e-05/0.006413, allocations: 15.94 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.006591, allocations: 99.59 kB / 382.2 MB, free: 14.6 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.006596, allocations: 3.938 kB / 382.2 MB, free: 14.6 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.006597, allocations: 0 / 382.2 MB, free: 14.6 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.006602, allocations: 0 / 382.2 MB, free: 14.6 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.0004487/0.00705, allocations: 447.9 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.007087, allocations: 8.031 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.796e-05/0.007135, allocations: 20.84 kB / 382.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.007304, allocations: 153.1 kB / 382.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.007322, allocations: 8.359 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.007343, allocations: 4.375 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.007471, allocations: 66.88 kB / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.007481, allocations: 4.188 kB / 382.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.00749, allocations: 384 / 382.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.007498, allocations: 3.938 kB / 382.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.408e-05/0.007532, allocations: 11.98 kB / 383 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000352/0.007884, allocations: 287.8 kB / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.007994, allocations: 59.09 kB / 383.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.128e-05/0.008026, allocations: 19.69 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.008037, allocations: 0 / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.976e-05/0.008136, allocations: 68.98 kB / 383.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.008138, allocations: 0 / 383.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004025/0.00854, allocations: 153.4 kB / 383.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/0.008571, allocations: 51.41 kB / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.008705, allocations: 238.3 kB / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.008717, allocations: 29.7 kB / 383.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.757e-05/0.008775, allocations: 150.9 kB / 384 MB, free: 12.67 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.932e-05/0.008804, allocations: 35.7 kB / 384 MB, free: 12.63 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.352e-05/0.008838, allocations: 31.38 kB / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.008955, allocations: 0.4923 MB / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.008e-05/0.008985, allocations: 19.92 kB / 384.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.576e-05/0.009021, allocations: 35.3 kB / 384.6 MB, free: 12.03 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.698e-05/0.009078, allocations: 43.38 kB / 384.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.009079, allocations: 0 / 384.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001254/0.009204, allocations: 101.5 kB / 384.7 MB, free: 11.87 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.009219, allocations: 8 kB / 384.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.009224, allocations: 0 / 384.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.009237, allocations: 3.984 kB / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.772e-05/0.009315, allocations: 12 kB / 384.8 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.009321, allocations: 4 kB / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.743e-05/0.009348, allocations: 0 / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.009357, allocations: 8 kB / 384.8 MB, free: 11.84 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.74e-05/0.009434, allocations: 164.5 kB / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.822e-05/0.009452, allocations: 15.89 kB / 385 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001516/0.009604, allocations: 111.1 kB / 385.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.009606, allocations: 0 / 385.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.00961, allocations: 4 kB / 385.1 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.009613, allocations: 384 / 385.1 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002889/0.009902, allocations: 392.9 kB / 385.4 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.009904, allocations: 4 kB / 385.5 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.858e-05/0.009933, allocations: 8 kB / 385.5 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.009935, allocations: 0 / 385.5 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-06/0.009945, allocations: 7.984 kB / 385.5 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.009946, allocations: 0 / 385.5 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.009947, allocations: 4.031 kB / 385.5 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000174/0.01012, allocations: 259.4 kB / 385.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.287e-05/0.01013, allocations: 11.91 kB / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.01015, allocations: 4 kB / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.988e-05/0.01019, allocations: 0 / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.531e-05/0.01023, allocations: 11.98 kB / 385.8 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.01024, allocations: 4 kB / 385.8 MB, free: 10.77 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.809e-05/0.01032, allocations: 167.1 kB / 385.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01032, allocations: 0 / 385.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001771/0.0105, allocations: 31.88 kB / 386 MB, free: 10.57 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.0009443/0.01144, allocations: 435.8 kB / 386.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001331/0.01157, allocations: 55.53 kB / 386.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01158, allocations: 0 / 386.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.96e-05/0.01162, allocations: 31.67 kB / 386.5 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000233/0.01185, allocations: 23.98 kB / 386.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003646/0.01221, allocations: 233.8 kB / 386.7 MB, free: 9.895 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.928e-05/0.01225, allocations: 67.47 kB / 386.8 MB, free: 9.809 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.872e-05/0.01229, allocations: 21.27 kB / 386.8 MB, free: 9.785 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.999e-05/0.01232, allocations: 16.5 kB / 386.8 MB, free: 9.77 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01232, allocations: 0 / 386.8 MB, free: 9.77 MB / 362.7 MB Notification: Performance of Templates: time 0.004641/0.01696, allocations: 2.002 MB / 388.8 MB, free: 7.793 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.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.206721318885684]