Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.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.001405/0.001405, allocations: 88.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.001624/0.001624, allocations: 160.2 kB / 24.91 MB, free: 8.723 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 1.068/1.068, allocations: 177 MB / 205.2 MB, free: 5.465 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.2955/0.2955, allocations: 34.86 MB / 296.6 MB, free: 452 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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 326.1 MB, free: 7.012 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.758e-05/2.965e-05, allocations: 7.406 kB / 326.1 MB, free: 7.004 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.004002/0.004032, allocations: 1.969 MB / 328 MB, free: 5.023 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002111/0.006143, allocations: 1.103 MB / 329.1 MB, free: 3.914 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001511/0.006294, allocations: 8 kB / 329.1 MB, free: 3.906 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004682/0.006762, allocations: 159.3 kB / 329.3 MB, free: 3.75 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005763/0.007339, allocations: 191.2 kB / 329.5 MB, free: 3.562 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004066/0.007745, allocations: 123.4 kB / 329.6 MB, free: 3.441 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003539/0.008099, allocations: 251.2 kB / 329.9 MB, free: 3.195 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.008213, allocations: 22.59 kB / 329.9 MB, free: 3.176 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000214/0.008427, allocations: 139.6 kB / 330 MB, free: 3.039 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001723/0.008599, allocations: 107.8 kB / 330.1 MB, free: 2.934 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.579e-05/0.008625, allocations: 12 kB / 330.1 MB, free: 2.922 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001515/0.008776, allocations: 71.89 kB / 330.2 MB, free: 2.852 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.123e-05/0.008857, allocations: 59.72 kB / 330.3 MB, free: 2.793 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.374e-05/0.008921, allocations: 39.84 kB / 330.3 MB, free: 2.754 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003098/0.009231, allocations: 183.3 kB / 330.5 MB, free: 2.574 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.009236, allocations: 0 / 330.5 MB, free: 2.574 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.009238, allocations: 0 / 330.5 MB, free: 2.574 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.009246, allocations: 0 / 330.5 MB, free: 2.574 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000668/0.009914, allocations: 456.4 kB / 330.9 MB, free: 2.105 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/0.009968, allocations: 12.03 kB / 330.9 MB, free: 2.094 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.792e-05/0.01004, allocations: 24.86 kB / 331 MB, free: 2.07 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003275/0.01036, allocations: 201.9 kB / 331.2 MB, free: 1.848 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.857e-05/0.01039, allocations: 8.359 kB / 331.2 MB, free: 1.84 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.155e-05/0.01042, allocations: 8.375 kB / 331.2 MB, free: 1.832 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002045/0.01063, allocations: 107.4 kB / 331.3 MB, free: 1.711 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.01064, allocations: 4.125 kB / 331.3 MB, free: 1.707 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.01066, allocations: 8.375 kB / 331.3 MB, free: 1.699 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.01067, allocations: 3.938 kB / 331.3 MB, free: 1.695 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.768e-05/0.01072, allocations: 29.62 kB / 331.3 MB, free: 1.664 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004226/0.01115, allocations: 300.8 kB / 331.6 MB, free: 1.348 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002625/0.01141, allocations: 182.6 kB / 331.8 MB, free: 1.148 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.43e-05/0.01145, allocations: 29.95 kB / 331.8 MB, free: 1.109 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.01147, allocations: 4 kB / 331.8 MB, free: 1.105 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001619/0.01163, allocations: 109.5 kB / 331.9 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 2.275e-06/0.01164, allocations: 0 / 331.9 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008135/0.01245, allocations: 326.3 kB / 332.2 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.01249, allocations: 81.11 kB / 332.3 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002519/0.01275, allocations: 296.6 kB / 332.6 MB, free: 260 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.01277, allocations: 29.7 kB / 332.6 MB, free: 224 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.117e-05/0.01283, allocations: 113.2 kB / 332.8 MB, free: 104 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.027e-05/0.0129, allocations: 71.42 kB / 332.8 MB, free: 32 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.812e-05/0.01298, allocations: 37.78 kB / 332.9 MB, free: 15.98 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.01309, allocations: 346.7 kB / 333.2 MB, free: 15.64 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.775e-05/0.01313, allocations: 26.81 kB / 333.2 MB, free: 15.61 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.697e-05/0.0132, allocations: 64.05 kB / 333.3 MB, free: 15.54 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001276/0.01333, allocations: 104.8 kB / 333.4 MB, free: 15.43 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.01333, allocations: 0 / 333.4 MB, free: 15.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000195/0.01353, allocations: 139.1 kB / 333.5 MB, free: 15.28 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.01355, allocations: 4 kB / 333.5 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.01356, allocations: 0 / 333.5 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.01357, allocations: 4 kB / 333.5 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.01371, allocations: 44.02 kB / 333.6 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.01372, allocations: 11.94 kB / 333.6 MB, free: 15.22 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.862e-05/0.01379, allocations: 8 kB / 333.6 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.0138, allocations: 8 kB / 333.6 MB, free: 15.2 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 0.0001141/0.01392, allocations: 120.6 kB / 333.7 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.858e-05/0.01396, allocations: 27.97 kB / 333.8 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002452/0.0142, allocations: 151.3 kB / 333.9 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.01421, allocations: 4 kB / 333.9 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.01421, allocations: 7.922 kB / 333.9 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.01422, allocations: 0 / 333.9 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005488/0.01476, allocations: 0.5633 MB / 334.5 MB, free: 14.28 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.01477, allocations: 0 / 334.5 MB, free: 14.28 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.01e-05/0.01486, allocations: 35.98 kB / 334.5 MB, free: 14.24 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.01486, allocations: 0 / 334.5 MB, free: 14.24 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.01488, allocations: 4 kB / 334.5 MB, free: 14.24 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.01488, allocations: 11.88 kB / 334.5 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.01488, allocations: 240 / 334.5 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000294/0.01518, allocations: 413.5 kB / 334.9 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.138e-05/0.01521, allocations: 27.81 kB / 335 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.312e-05/0.01524, allocations: 7.938 kB / 335 MB, free: 13.76 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.01537, allocations: 15.92 kB / 335 MB, free: 13.74 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.082e-05/0.01542, allocations: 23.97 kB / 335 MB, free: 13.72 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.119e-05/0.01544, allocations: 8 kB / 335 MB, free: 13.71 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001289/0.01557, allocations: 119.5 kB / 335.1 MB, free: 13.59 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01557, allocations: 0 / 335.1 MB, free: 13.59 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000348/0.01592, allocations: 55.92 kB / 335.2 MB, free: 13.54 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002086/0.01801, allocations: 0.6462 MB / 335.8 MB, free: 13.2 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001945/0.0182, allocations: 99.09 kB / 335.9 MB, free: 13.1 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.01821, allocations: 7.938 kB / 335.9 MB, free: 13.09 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.434e-05/0.01829, allocations: 60.69 kB / 336 MB, free: 13.03 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004411/0.01873, allocations: 66.2 kB / 336.1 MB, free: 12.97 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007218/0.01946, allocations: 452.6 kB / 336.5 MB, free: 12.48 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.822e-05/0.01954, allocations: 96.3 kB / 336.6 MB, free: 12.37 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001146/0.01966, allocations: 49.89 kB / 336.6 MB, free: 12.31 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001478/0.01981, allocations: 87.38 kB / 336.7 MB, free: 12.23 MB / 314.7 MB Notification: Performance of SimCode: time 1.282e-06/0.01981, allocations: 4 kB / 336.7 MB, free: 12.22 MB / 314.7 MB Notification: Performance of Templates: time 0.007855/0.02766, allocations: 3.634 MB / 340.4 MB, free: 8.656 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.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.0797212556935847]