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.001449/0.001449, allocations: 92.27 kB / 20.96 MB, free: 3.445 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.001565/0.001565, allocations: 160.9 kB / 24.26 MB, free: 148 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.639/1.639, allocations: 177 MB / 204.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] 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.3926/0.3926, allocations: 34.25 MB / 295.2 MB, free: 0.6523 MB / 266.7 MB " [Timeout remaining time 179] 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.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|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.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|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.354e-06/2.354e-06, allocations: 0 / 377.3 MB, free: 2.824 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.549e-05/3.784e-05, allocations: 2.312 kB / 377.3 MB, free: 2.82 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.004253/0.00429, allocations: 2.18 MB / 379.5 MB, free: 0.625 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003195/0.007485, allocations: 1.275 MB / 380.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001483/0.007633, allocations: 7.938 kB / 380.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004882/0.008122, allocations: 135.2 kB / 380.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006392/0.008761, allocations: 266.7 kB / 381.2 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004442/0.009205, allocations: 195.5 kB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000632/0.009837, allocations: 482.5 kB / 381.8 MB, free: 14.28 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001615/0.009998, allocations: 41.12 kB / 381.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005351/0.01053, allocations: 387.1 kB / 382.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002333/0.01077, allocations: 135.5 kB / 382.4 MB, free: 13.72 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.057e-05/0.01082, allocations: 20 kB / 382.4 MB, free: 13.7 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001685/0.01099, allocations: 75.84 kB / 382.5 MB, free: 13.63 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002087/0.01119, allocations: 163.3 kB / 382.6 MB, free: 13.47 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000149/0.01134, allocations: 99.52 kB / 382.7 MB, free: 13.37 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000672/0.01202, allocations: 470.1 kB / 383.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.01202, allocations: 4 kB / 383.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.542e-06/0.01202, allocations: 0 / 383.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.01203, allocations: 0 / 383.2 MB, free: 12.91 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.001383/0.01341, allocations: 0.8262 MB / 384 MB, free: 12.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.01346, allocations: 12.02 kB / 384 MB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002255/0.01369, allocations: 80.47 kB / 384.1 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007161/0.0144, allocations: 390.2 kB / 384.5 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.776e-05/0.01444, allocations: 20.36 kB / 384.5 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.971e-05/0.0145, allocations: 12.38 kB / 384.5 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004813/0.01498, allocations: 197.5 kB / 384.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.015, allocations: 4.141 kB / 384.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.933e-05/0.01503, allocations: 8.375 kB / 384.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/0.01504, allocations: 11.92 kB / 384.7 MB, free: 11.28 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002838/0.01533, allocations: 103.8 kB / 384.8 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001148/0.01648, allocations: 0.7428 MB / 385.6 MB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000759/0.01724, allocations: 242.4 kB / 385.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002252/0.01746, allocations: 87.52 kB / 385.9 MB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.01749, allocations: 8 kB / 385.9 MB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004516/0.01794, allocations: 208.2 kB / 386.1 MB, free: 9.789 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 2.154e-06/0.01794, allocations: 4 kB / 386.1 MB, free: 9.785 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.003025/0.02097, allocations: 1.241 MB / 387.4 MB, free: 8.535 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003769/0.02134, allocations: 136.5 kB / 387.5 MB, free: 8.371 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/0.02264, allocations: 0.9693 MB / 388.5 MB, free: 7.391 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.828e-05/0.02269, allocations: 41.7 kB / 388.5 MB, free: 7.344 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002958/0.02298, allocations: 285 kB / 388.8 MB, free: 7.062 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001624/0.02314, allocations: 146.8 kB / 388.9 MB, free: 6.918 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001412/0.02329, allocations: 78.16 kB / 389 MB, free: 6.836 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002087/0.02349, allocations: 330 kB / 389.3 MB, free: 6.508 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000276/0.02377, allocations: 120.9 kB / 389.4 MB, free: 6.391 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003401/0.02411, allocations: 187.8 kB / 389.6 MB, free: 6.184 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006381/0.02475, allocations: 331 kB / 389.9 MB, free: 5.836 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.02475, allocations: 0 / 389.9 MB, free: 5.836 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001003/0.02575, allocations: 481 kB / 390.4 MB, free: 5.359 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.02578, allocations: 8 kB / 390.4 MB, free: 5.352 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.02579, allocations: 0 / 390.4 MB, free: 5.352 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.649e-05/0.02581, allocations: 4.125 kB / 390.4 MB, free: 5.348 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003063/0.02612, allocations: 91.89 kB / 390.5 MB, free: 5.258 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.416e-05/0.02613, allocations: 7.938 kB / 390.5 MB, free: 5.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001799/0.02631, allocations: 19.98 kB / 390.5 MB, free: 5.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.851e-05/0.02635, allocations: 20 kB / 390.6 MB, free: 5.211 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.0003691/0.02672, allocations: 248.2 kB / 390.8 MB, free: 4.961 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/0.02687, allocations: 95.42 kB / 390.9 MB, free: 4.867 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00118/0.02805, allocations: 0.5305 MB / 391.4 MB, free: 4.324 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.02806, allocations: 12 kB / 391.4 MB, free: 4.312 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.02807, allocations: 0 / 391.4 MB, free: 4.312 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.02808, allocations: 7.984 kB / 391.4 MB, free: 4.305 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002046/0.03012, allocations: 1.267 MB / 392.7 MB, free: 2.973 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.03013, allocations: 4 kB / 392.7 MB, free: 2.969 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002085/0.03034, allocations: 72.09 kB / 392.8 MB, free: 2.898 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.223e-06/0.03035, allocations: 4 kB / 392.8 MB, free: 2.895 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.688e-05/0.03038, allocations: 19.98 kB / 392.8 MB, free: 2.875 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.4e-05/0.0304, allocations: 11.94 kB / 392.8 MB, free: 2.863 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/0.0304, allocations: 4 kB / 392.8 MB, free: 2.859 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001277/0.03168, allocations: 0.8414 MB / 393.7 MB, free: 1.973 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002205/0.0319, allocations: 115.4 kB / 393.8 MB, free: 1.859 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.75e-05/0.03198, allocations: 19.98 kB / 393.8 MB, free: 1.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003114/0.03229, allocations: 23.98 kB / 393.8 MB, free: 1.816 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.901e-05/0.03239, allocations: 39.88 kB / 393.9 MB, free: 1.777 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-05/0.03244, allocations: 27.92 kB / 393.9 MB, free: 1.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001001/0.03344, allocations: 0.7138 MB / 394.6 MB, free: 1.039 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03344, allocations: 0 / 394.6 MB, free: 1.039 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009011/0.03434, allocations: 91.92 kB / 394.7 MB, free: 0.9492 MB / 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.002611/0.03695, allocations: 0.5613 MB / 395.3 MB, free: 0.582 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007593/0.03771, allocations: 311.1 kB / 395.6 MB, free: 284 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.03771, allocations: 0 / 395.6 MB, free: 284 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003513/0.03806, allocations: 163.7 kB / 395.7 MB, free: 120 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.0391, allocations: 134.1 kB / 395.8 MB, free: 15.99 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002179/0.04128, allocations: 1.256 MB / 397.1 MB, free: 14.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004098/0.04169, allocations: 333.3 kB / 397.4 MB, free: 14.32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002202/0.04191, allocations: 75.25 kB / 397.5 MB, free: 14.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/0.04205, allocations: 56.48 kB / 397.6 MB, free: 14.19 MB / 378.7 MB Notification: Performance of SimCode: time 8.52e-07/0.04205, allocations: 0 / 397.6 MB, free: 14.19 MB / 378.7 MB Notification: Performance of Templates: time 0.01404/0.0561, allocations: 5.788 MB / 403.3 MB, free: 8.48 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.348407501005568]