Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.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.0009898/0.0009898, allocations: 91.5 kB / 21.19 MB, free: 3.371 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.0009111/0.0009111, allocations: 156.5 kB / 24.55 MB, free: 16 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.087/1.087, allocations: 177 MB / 204.8 MB, free: 5.582 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.2848/0.2848, 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.Test78,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.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,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.Test78") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 6.041e-06/6.041e-06, allocations: 4 kB / 378.9 MB, free: 2.008 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.272e-05/3.876e-05, allocations: 2.875 kB / 378.9 MB, free: 2.004 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.002706/0.002745, allocations: 1.944 MB / 380.8 MB, free: 48 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001619/0.004364, allocations: 1.11 MB / 381.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000115/0.004479, allocations: 7.938 kB / 381.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004616/0.00494, allocations: 259.2 kB / 382.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004621/0.005402, allocations: 239 kB / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003083/0.005711, allocations: 123.5 kB / 382.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003505/0.006061, allocations: 279.2 kB / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.006175, allocations: 17.95 kB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001991/0.006374, allocations: 155.6 kB / 383 MB, free: 13.87 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001899/0.006564, allocations: 191.6 kB / 383.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.318e-05/0.006587, allocations: 8 kB / 383.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001355/0.006722, allocations: 75.83 kB / 383.2 MB, free: 13.6 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.934e-05/0.006812, allocations: 71.7 kB / 383.3 MB, free: 13.53 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.608e-05/0.006878, allocations: 43.8 kB / 383.4 MB, free: 13.49 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00028/0.007158, allocations: 199.2 kB / 383.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.007162, allocations: 0 / 383.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.007164, allocations: 0 / 383.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.007171, allocations: 0 / 383.6 MB, free: 13.29 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006432/0.007814, allocations: 0.6273 MB / 384.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.007855, allocations: 8.031 kB / 384.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.826e-05/0.007923, allocations: 44.7 kB / 384.2 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002958/0.008219, allocations: 234.9 kB / 384.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.712e-05/0.008246, allocations: 8.359 kB / 384.5 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.749e-05/0.008283, allocations: 8.375 kB / 384.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002213/0.008505, allocations: 118.2 kB / 384.6 MB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.008516, allocations: 192 / 384.6 MB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.008532, allocations: 4.375 kB / 384.6 MB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.699e-05/0.008549, allocations: 11.94 kB / 384.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.109e-05/0.00861, allocations: 27.91 kB / 384.6 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005525/0.009162, allocations: 0.522 MB / 385.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002713/0.009434, allocations: 114.1 kB / 385.3 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.45e-05/0.009488, allocations: 43.42 kB / 385.3 MB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.009506, allocations: 4 kB / 385.3 MB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001603/0.009666, allocations: 112.3 kB / 385.4 MB, free: 11.24 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.834e-06/0.009668, allocations: 0 / 385.4 MB, free: 11.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.000874/0.01054, allocations: 485.6 kB / 385.9 MB, free: 10.76 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.01059, allocations: 81.11 kB / 386 MB, free: 10.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002972/0.01089, allocations: 434.7 kB / 386.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/0.01091, allocations: 33.7 kB / 386.4 MB, free: 10.19 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.01102, allocations: 223.3 kB / 386.7 MB, free: 9.961 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.235e-05/0.01109, allocations: 75.38 kB / 386.7 MB, free: 9.887 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.595e-05/0.01114, allocations: 47.36 kB / 386.8 MB, free: 9.832 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.0113, allocations: 0.5313 MB / 387.3 MB, free: 9.289 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.045e-05/0.01136, allocations: 31.98 kB / 387.3 MB, free: 9.258 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.348e-05/0.01143, allocations: 84.91 kB / 387.4 MB, free: 9.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.01156, allocations: 130.6 kB / 387.5 MB, free: 9.016 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.01156, allocations: 0 / 387.5 MB, free: 9.016 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002516/0.01182, allocations: 209.3 kB / 387.7 MB, free: 8.805 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.01183, allocations: 4 kB / 387.8 MB, free: 8.801 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.01184, allocations: 4.016 kB / 387.8 MB, free: 8.797 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.01186, allocations: 4 kB / 387.8 MB, free: 8.793 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.769e-05/0.01195, allocations: 40.05 kB / 387.8 MB, free: 8.754 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.01196, allocations: 7.984 kB / 387.8 MB, free: 8.746 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.196e-05/0.01201, allocations: 15.92 kB / 387.8 MB, free: 8.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.01203, allocations: 12 kB / 387.8 MB, free: 8.719 MB / 362.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 9.541e-05/0.01212, allocations: 164.5 kB / 388 MB, free: 8.547 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.039e-05/0.01216, allocations: 47.77 kB / 388 MB, free: 8.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003031/0.01247, allocations: 236.5 kB / 388.3 MB, free: 8.266 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.01247, allocations: 4 kB / 388.3 MB, free: 8.262 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.01248, allocations: 3.984 kB / 388.3 MB, free: 8.258 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.01248, allocations: 4 kB / 388.3 MB, free: 8.254 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006205/0.0131, allocations: 0.7645 MB / 389 MB, free: 7.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.01311, allocations: 0 / 389 MB, free: 7.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.945e-05/0.01317, allocations: 31.92 kB / 389.1 MB, free: 7.398 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.01317, allocations: 4 kB / 389.1 MB, free: 7.395 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.01319, allocations: 11.98 kB / 389.1 MB, free: 7.383 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.01319, allocations: 7.938 kB / 389.1 MB, free: 7.375 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.01319, allocations: 3.938 kB / 389.1 MB, free: 7.371 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003217/0.01351, allocations: 0.5145 MB / 389.6 MB, free: 6.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.753e-05/0.01354, allocations: 31.75 kB / 389.7 MB, free: 6.789 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.893e-05/0.01357, allocations: 8 kB / 389.7 MB, free: 6.781 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.96e-05/0.01365, allocations: 8 kB / 389.7 MB, free: 6.773 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.24e-05/0.0137, allocations: 23.97 kB / 389.7 MB, free: 6.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.01372, allocations: 11.98 kB / 389.7 MB, free: 6.738 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001809/0.0139, allocations: 299.1 kB / 390 MB, free: 6.449 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0139, allocations: 0 / 390 MB, free: 6.449 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002528/0.01416, allocations: 47.94 kB / 390 MB, free: 6.402 MB / 362.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.001105/0.01526, allocations: 494 kB / 390.5 MB, free: 6.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002092/0.01547, allocations: 127.4 kB / 390.6 MB, free: 5.941 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.303e-06/0.01548, allocations: 4 kB / 390.7 MB, free: 5.938 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.077e-05/0.01556, allocations: 75.66 kB / 390.7 MB, free: 5.859 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.01593, allocations: 62.88 kB / 390.8 MB, free: 5.801 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007526/0.01669, allocations: 0.5248 MB / 391.3 MB, free: 5.219 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.921e-05/0.01676, allocations: 104.5 kB / 391.4 MB, free: 5.098 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8e-05/0.01684, allocations: 37.92 kB / 391.5 MB, free: 5.059 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.107e-05/0.01691, allocations: 36.48 kB / 391.5 MB, free: 5.023 MB / 362.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01691, allocations: 0 / 391.5 MB, free: 5.023 MB / 362.7 MB Notification: Performance of Templates: time 0.005476/0.02238, allocations: 3.363 MB / 394.9 MB, free: 1.711 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.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.426399551797658]