Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.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.0009249/0.0009249, 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.001128/0.001128, 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.015/1.015, allocations: 177 MB / 204.8 MB, free: 5.617 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.2967/0.2967, allocations: 34.85 MB / 296.3 MB, free: 480 kB / 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.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 378.9 MB, free: 1.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.618e-05/2.789e-05, allocations: 3.719 kB / 378.9 MB, free: 1.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.002452/0.00248, allocations: 1.757 MB / 380.6 MB, free: 224 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001654/0.004134, allocations: 1.016 MB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.949e-05/0.004234, allocations: 0 / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003109/0.004544, allocations: 43.64 kB / 381.7 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003528/0.004897, allocations: 103.5 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002438/0.005141, allocations: 79.61 kB / 381.9 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002027/0.005344, allocations: 107.6 kB / 382 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.005454, allocations: 11.94 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.437e-05/0.005549, allocations: 59.81 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.032e-05/0.005629, allocations: 23.92 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.005646, allocations: 4 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.005748, allocations: 43.92 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.827e-05/0.005806, allocations: 23.91 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.584e-05/0.005852, allocations: 15.94 kB / 382.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001957/0.006048, allocations: 115.5 kB / 382.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.006051, allocations: 0 / 382.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.006052, allocations: 0 / 382.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.006056, allocations: 0 / 382.3 MB, free: 14.57 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.0005373/0.006594, allocations: 451.8 kB / 382.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.006631, allocations: 8.031 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.368e-05/0.006685, allocations: 16.89 kB / 382.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001822/0.006867, allocations: 152.9 kB / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.006885, allocations: 4.375 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.266e-05/0.006908, allocations: 384 / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.007035, allocations: 70.88 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.007045, allocations: 4.188 kB / 382.9 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.007055, allocations: 384 / 382.9 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.007065, allocations: 3.938 kB / 382.9 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.603e-05/0.007101, allocations: 15.98 kB / 383 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003151/0.007416, allocations: 283.8 kB / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.007525, allocations: 55.11 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.208e-05/0.007557, allocations: 23.61 kB / 383.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.007574, allocations: 4 kB / 383.3 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000112/0.007686, allocations: 72.98 kB / 383.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.415e-06/0.007688, allocations: 0 / 383.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004254/0.008114, allocations: 157.3 kB / 383.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.008146, allocations: 51.41 kB / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.008296, allocations: 233.9 kB / 383.8 MB, free: 12.83 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.008315, allocations: 33.7 kB / 383.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.061e-05/0.008376, allocations: 158.8 kB / 384 MB, free: 12.63 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.864e-05/0.008404, allocations: 27.78 kB / 384 MB, free: 12.6 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.694e-05/0.008441, allocations: 27.38 kB / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.008565, allocations: 0.4962 MB / 384.6 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.943e-05/0.008595, allocations: 19.92 kB / 384.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.077e-05/0.008645, allocations: 35.36 kB / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.333e-05/0.008709, allocations: 43.38 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.00871, allocations: 0 / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001241/0.008834, allocations: 89.52 kB / 384.7 MB, free: 11.85 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.00885, allocations: 8 kB / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.008855, allocations: 0 / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.008869, allocations: 0 / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.201e-05/0.008951, allocations: 19.98 kB / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.008958, allocations: 8.031 kB / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.965e-05/0.008988, allocations: 3.953 kB / 384.8 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.008995, allocations: 4 kB / 384.8 MB, free: 11.81 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 8.562e-05/0.009081, allocations: 168.5 kB / 385 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.937e-05/0.0091, allocations: 19.88 kB / 385 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001636/0.009264, allocations: 107.2 kB / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.009268, allocations: 4 kB / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.009272, allocations: 0 / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.009275, allocations: 384 / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003192/0.009594, allocations: 400.9 kB / 385.5 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.0096, allocations: 4 kB / 385.5 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.072e-05/0.00963, allocations: 8 kB / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.009634, allocations: 7.984 kB / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.009642, allocations: 0 / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.009644, allocations: 0 / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.009646, allocations: 7.938 kB / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001584/0.009805, allocations: 255.4 kB / 385.8 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.448e-05/0.009819, allocations: 15.91 kB / 385.8 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.009836, allocations: 0 / 385.8 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.361e-05/0.00988, allocations: 8.031 kB / 385.8 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.352e-05/0.009914, allocations: 7.984 kB / 385.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.009927, allocations: 4 kB / 385.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.294e-05/0.01002, allocations: 184.2 kB / 386 MB, free: 10.55 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01002, allocations: 0 / 386 MB, free: 10.55 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001793/0.0102, allocations: 23.94 kB / 386 MB, free: 10.52 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.001004/0.0112, allocations: 433.8 kB / 386.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001366/0.01134, allocations: 55.53 kB / 386.5 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01134, allocations: 64 / 386.5 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.952e-05/0.01138, allocations: 39.67 kB / 386.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.01163, allocations: 23.97 kB / 386.5 MB, free: 10.1 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004142/0.01204, allocations: 233.8 kB / 386.8 MB, free: 9.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.621e-05/0.01209, allocations: 63.34 kB / 386.8 MB, free: 9.758 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.247e-05/0.01213, allocations: 25.27 kB / 386.8 MB, free: 9.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.671e-05/0.01217, allocations: 24.48 kB / 386.9 MB, free: 9.707 MB / 362.7 MB Notification: Performance of SimCode: time 1.453e-06/0.01217, allocations: 4.062 kB / 386.9 MB, free: 9.703 MB / 362.7 MB Notification: Performance of Templates: time 0.004036/0.01621, allocations: 1.861 MB / 388.7 MB, free: 7.867 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.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.321940111927688]