Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.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.001057/0.001057, allocations: 87.67 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.001038/0.001038, 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.023/1.023, allocations: 177 MB / 204.8 MB, free: 5.566 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.3016/0.3016, allocations: 34.86 MB / 296.3 MB, free: 476 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.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.[0-9,]+.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.[0-9,]+.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.[0-9,]+.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.[0-9,]+.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.875e-06/2.875e-06, allocations: 4 kB / 378.9 MB, free: 1.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.828e-05/3.116e-05, allocations: 2.312 kB / 378.9 MB, free: 1.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.01001/0.01004, allocations: 2.26 MB / 381.1 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001967/0.012, allocations: 1.313 MB / 382.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001505/0.01215, allocations: 0 / 382.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004136/0.01257, allocations: 143.2 kB / 382.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005136/0.01308, allocations: 270.7 kB / 382.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00348/0.01656, allocations: 187.5 kB / 383 MB, free: 13.77 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005531/0.01711, allocations: 482.4 kB / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001471/0.01726, allocations: 37.27 kB / 383.5 MB, free: 13.26 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000446/0.01771, allocations: 395.1 kB / 383.9 MB, free: 12.87 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001822/0.01789, allocations: 135.5 kB / 384.1 MB, free: 12.74 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.274e-05/0.01793, allocations: 20 kB / 384.1 MB, free: 12.72 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001664/0.0181, allocations: 79.84 kB / 384.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001513/0.01825, allocations: 159.4 kB / 384.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.01836, allocations: 99.52 kB / 384.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004193/0.02255, allocations: 382.3 kB / 384.8 MB, free: 12.01 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.02256, allocations: 0 / 384.8 MB, free: 12.01 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.02256, allocations: 0 / 384.8 MB, free: 12.01 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.02257, allocations: 4 kB / 384.8 MB, free: 12.01 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001069/0.02364, allocations: 0.9457 MB / 385.7 MB, free: 11.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.02369, allocations: 8.031 kB / 385.7 MB, free: 11.01 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001356/0.02382, allocations: 88.42 kB / 385.8 MB, free: 10.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004827/0.02431, allocations: 381 kB / 386.2 MB, free: 10.53 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.1e-05/0.02434, allocations: 12.38 kB / 386.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.832e-05/0.02439, allocations: 16.38 kB / 386.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003072/0.02469, allocations: 181.6 kB / 386.4 MB, free: 10.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/0.02472, allocations: 20.08 kB / 386.4 MB, free: 10.28 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.02473, allocations: 384 / 386.4 MB, free: 10.28 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.02475, allocations: 7.938 kB / 386.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/0.02487, allocations: 59.94 kB / 386.5 MB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009354/0.0258, allocations: 0.9688 MB / 387.5 MB, free: 9.191 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002531/0.02833, allocations: 232.5 kB / 387.7 MB, free: 8.914 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.02844, allocations: 78.84 kB / 387.8 MB, free: 8.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.02847, allocations: 7.938 kB / 387.8 MB, free: 8.812 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002711/0.02874, allocations: 189.3 kB / 388 MB, free: 8.598 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 4.168e-06/0.02874, allocations: 3.984 kB / 388 MB, free: 8.594 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.001851/0.03059, allocations: 1.12 MB / 389.1 MB, free: 7.465 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.674e-05/0.03066, allocations: 136.5 kB / 389.2 MB, free: 7.301 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005625/0.03122, allocations: 0.7574 MB / 390 MB, free: 6.527 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.068e-05/0.03125, allocations: 37.7 kB / 390 MB, free: 6.484 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001854/0.03144, allocations: 351.7 kB / 390.3 MB, free: 6.137 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.49e-05/0.03153, allocations: 142.8 kB / 390.5 MB, free: 5.996 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.62e-05/0.03162, allocations: 87.8 kB / 390.6 MB, free: 5.902 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.03178, allocations: 0.4926 MB / 391.1 MB, free: 5.402 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.03188, allocations: 64.95 kB / 391.1 MB, free: 5.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/0.03203, allocations: 166.4 kB / 391.3 MB, free: 5.145 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00024/0.03227, allocations: 249.6 kB / 391.5 MB, free: 4.867 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.03227, allocations: 4 kB / 391.5 MB, free: 4.863 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004047/0.03268, allocations: 380.8 kB / 391.9 MB, free: 4.484 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.0327, allocations: 12.12 kB / 391.9 MB, free: 4.473 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.03271, allocations: 0 / 391.9 MB, free: 4.473 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.451e-05/0.03273, allocations: 4 kB / 391.9 MB, free: 4.469 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/0.03289, allocations: 91.83 kB / 392 MB, free: 4.379 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.0329, allocations: 4.234 kB / 392 MB, free: 4.375 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.251e-05/0.03298, allocations: 19.98 kB / 392 MB, free: 4.355 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.033, allocations: 23.98 kB / 392.1 MB, free: 4.332 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0001209/0.03312, allocations: 182.9 kB / 392.2 MB, free: 4.145 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.607e-05/0.0332, allocations: 103.4 kB / 392.3 MB, free: 4.043 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004968/0.0337, allocations: 435.8 kB / 392.8 MB, free: 3.605 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.0337, allocations: 8 kB / 392.8 MB, free: 3.598 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.03371, allocations: 0 / 392.8 MB, free: 3.598 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.03371, allocations: 3.984 kB / 392.8 MB, free: 3.594 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/0.03478, allocations: 1.433 MB / 394.2 MB, free: 2.082 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.03479, allocations: 4.25 kB / 394.2 MB, free: 2.078 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001211/0.03491, allocations: 75.84 kB / 394.3 MB, free: 2.004 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.03492, allocations: 8 kB / 394.3 MB, free: 1.996 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.03493, allocations: 12 kB / 394.3 MB, free: 1.984 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/0.03494, allocations: 8 kB / 394.3 MB, free: 1.977 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.03494, allocations: 7.922 kB / 394.3 MB, free: 1.969 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005752/0.03552, allocations: 0.9652 MB / 395.3 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.03564, allocations: 107.4 kB / 395.4 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.428e-05/0.03568, allocations: 16 kB / 395.4 MB, free: 0.8203 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.03582, allocations: 19.98 kB / 395.4 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.493e-05/0.03589, allocations: 43.94 kB / 395.5 MB, free: 0.7578 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-05/0.03592, allocations: 31.86 kB / 395.5 MB, free: 0.7266 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003428/0.03626, allocations: 0.4912 MB / 396 MB, free: 248 kB / 362.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.03626, allocations: 0 / 396 MB, free: 248 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003572/0.03662, allocations: 95.88 kB / 396.1 MB, free: 152 kB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001113/0.03773, allocations: 0.5009 MB / 396.6 MB, free: 15.79 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003359/0.03807, allocations: 243.7 kB / 396.8 MB, free: 15.55 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.247e-06/0.03807, allocations: 4 kB / 396.8 MB, free: 15.55 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.03821, allocations: 141.1 kB / 397 MB, free: 15.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005806/0.03879, allocations: 145 kB / 397.1 MB, free: 15.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.03985, allocations: 1.038 MB / 398.1 MB, free: 14.15 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.03996, allocations: 162.2 kB / 398.3 MB, free: 13.98 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00013/0.04009, allocations: 83.22 kB / 398.4 MB, free: 13.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.842e-05/0.04018, allocations: 52.48 kB / 398.4 MB, free: 13.84 MB / 378.7 MB Notification: Performance of SimCode: time 7.41e-07/0.04018, allocations: 0 / 398.4 MB, free: 13.84 MB / 378.7 MB Notification: Performance of Templates: time 0.008597/0.04878, allocations: 5.806 MB / 404.2 MB, free: 8.121 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.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.5497568733990192]