Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.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.001233/0.001233, 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.001352/0.001352, 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.029/1.029, 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.2646/0.2646, allocations: 34.87 MB / 296.3 MB, free: 0.5508 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 378.9 MB, free: 2.012 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.668e-05/2.817e-05, allocations: 3.016 kB / 378.9 MB, free: 2.008 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.005996/0.006024, allocations: 1.806 MB / 380.7 MB, free: 192 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004712/0.01074, allocations: 1.023 MB / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.01084, allocations: 0 / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000361/0.0112, allocations: 107.6 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003849/0.01158, allocations: 131.5 kB / 381.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002566/0.01184, allocations: 91.47 kB / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002142/0.01205, allocations: 135.7 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.418e-05/0.01215, allocations: 13.58 kB / 382.2 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.01226, allocations: 79.73 kB / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.01238, allocations: 67.86 kB / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.01239, allocations: 4 kB / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.01252, allocations: 71.89 kB / 382.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001752/0.01269, allocations: 31.86 kB / 382.4 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.77e-05/0.01274, allocations: 31.84 kB / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003292/0.01603, allocations: 135.4 kB / 382.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.01604, allocations: 0 / 382.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.01604, allocations: 0 / 382.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.01604, allocations: 4 kB / 382.6 MB, free: 14.27 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005061/0.01655, allocations: 487.6 kB / 383.1 MB, free: 13.76 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.01658, allocations: 8.031 kB / 383.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.853e-05/0.01664, allocations: 24.8 kB / 383.1 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/0.01685, allocations: 173.3 kB / 383.3 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.01687, allocations: 4.375 kB / 383.3 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.01689, allocations: 8.312 kB / 383.3 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.01704, allocations: 78.86 kB / 383.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.01705, allocations: 192 / 383.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.01706, allocations: 4.375 kB / 383.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.01707, allocations: 7.922 kB / 383.4 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.411e-05/0.01713, allocations: 27.97 kB / 383.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003722/0.0175, allocations: 323.7 kB / 383.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002185/0.01772, allocations: 74.97 kB / 383.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.719e-05/0.01776, allocations: 15.69 kB / 383.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.01778, allocations: 7.938 kB / 383.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000113/0.01789, allocations: 80.97 kB / 383.9 MB, free: 12.83 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.442e-06/0.01789, allocations: 0 / 383.9 MB, free: 12.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006482/0.01854, allocations: 269.1 kB / 384.1 MB, free: 12.56 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.01857, allocations: 55.41 kB / 384.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003255/0.02183, allocations: 270.8 kB / 384.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/0.02185, allocations: 29.7 kB / 384.5 MB, free: 12.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.414e-05/0.02193, allocations: 170.8 kB / 384.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.017e-05/0.02198, allocations: 51.72 kB / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.441e-05/0.02203, allocations: 39.36 kB / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003869/0.02242, allocations: 0.5078 MB / 385.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.989e-05/0.02248, allocations: 23.98 kB / 385.3 MB, free: 11.37 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.814e-05/0.02255, allocations: 47.36 kB / 385.3 MB, free: 11.31 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.02266, allocations: 74.36 kB / 385.4 MB, free: 11.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.02267, allocations: 0 / 385.4 MB, free: 11.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002224/0.02289, allocations: 141.6 kB / 385.5 MB, free: 11.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.0229, allocations: 14.62 kB / 385.5 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.02291, allocations: 0 / 385.5 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.02292, allocations: 4 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.02302, allocations: 27.92 kB / 385.6 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.02303, allocations: 0 / 385.6 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.626e-05/0.02308, allocations: 8 kB / 385.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.02309, allocations: 4 kB / 385.6 MB, free: 11.04 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 (16): * Single equations (assignments): 16 * 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.827e-05/0.02317, allocations: 168.5 kB / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.442e-05/0.02321, allocations: 27.86 kB / 385.8 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002774/0.02349, allocations: 163 kB / 385.9 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.02349, allocations: 4 kB / 385.9 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.02349, allocations: 0 / 385.9 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.0235, allocations: 3.984 kB / 385.9 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005213/0.02402, allocations: 492.6 kB / 386.4 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.02402, allocations: 0 / 386.4 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.478e-05/0.02409, allocations: 23.94 kB / 386.4 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.02409, allocations: 4 kB / 386.5 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.02411, allocations: 11.98 kB / 386.5 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.02411, allocations: 4 kB / 386.5 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.02411, allocations: 4 kB / 386.5 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002144/0.02433, allocations: 317.5 kB / 386.8 MB, free: 9.746 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.837e-05/0.02435, allocations: 15.91 kB / 386.8 MB, free: 9.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.382e-05/0.02437, allocations: 7.938 kB / 386.8 MB, free: 9.723 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.963e-05/0.02442, allocations: 8 kB / 386.8 MB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.626e-05/0.02446, allocations: 11.97 kB / 386.8 MB, free: 9.703 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.02447, allocations: 8 kB / 386.8 MB, free: 9.695 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.902e-05/0.02457, allocations: 193.4 kB / 387 MB, free: 9.508 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02457, allocations: 0 / 387 MB, free: 9.508 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001942/0.02476, allocations: 39.92 kB / 387.1 MB, free: 9.469 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.0009873/0.02575, allocations: 481.6 kB / 387.5 MB, free: 9.145 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001738/0.02592, allocations: 87.58 kB / 387.6 MB, free: 9.055 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.02593, allocations: 0 / 387.6 MB, free: 9.055 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.213e-05/0.02599, allocations: 59.59 kB / 387.7 MB, free: 8.992 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.02624, allocations: 43.05 kB / 387.7 MB, free: 8.953 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004202/0.02666, allocations: 317.8 kB / 388 MB, free: 8.609 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.529e-05/0.02671, allocations: 75.83 kB / 388.1 MB, free: 8.516 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.804e-05/0.02675, allocations: 21.59 kB / 388.1 MB, free: 8.492 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.139e-05/0.0268, allocations: 32.48 kB / 388.2 MB, free: 8.461 MB / 362.7 MB Notification: Performance of SimCode: time 6.41e-07/0.0268, allocations: 0 / 388.2 MB, free: 8.461 MB / 362.7 MB Notification: Performance of Templates: time 0.004375/0.03117, allocations: 2.54 MB / 390.7 MB, free: 5.961 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.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.1221493054181337]