Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.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.001943/0.001943, allocations: 96.25 kB / 20.96 MB, free: 3.473 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.002294/0.002294, allocations: 156.9 kB / 24.27 MB, free: 172 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.566/1.566, 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.3461/0.3461, allocations: 34.25 MB / 295.2 MB, free: 0.6641 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 377.3 MB, free: 2.844 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.31e-05/3.493e-05, allocations: 10.25 kB / 377.3 MB, free: 2.832 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003457/0.003492, allocations: 1.714 MB / 379 MB, free: 1.105 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001932/0.005424, allocations: 0.9853 MB / 380 MB, free: 116 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.199e-05/0.005496, allocations: 0 / 380 MB, free: 116 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003167/0.005813, allocations: 51.62 kB / 380 MB, free: 64 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003715/0.006184, allocations: 99.62 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002206/0.006405, allocations: 79.58 kB / 380.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002113/0.006616, allocations: 115.5 kB / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.399e-05/0.00671, allocations: 8 kB / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.006828, allocations: 51.89 kB / 380.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.268e-05/0.006911, allocations: 27.84 kB / 380.4 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.129e-05/0.006932, allocations: 8 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.007037, allocations: 43.92 kB / 380.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.486e-05/0.007112, allocations: 23.86 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.267e-05/0.007175, allocations: 31.84 kB / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002413/0.007416, allocations: 127.6 kB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.007419, allocations: 4 kB / 380.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.00742, allocations: 3.938 kB / 380.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.007424, allocations: 0 / 380.7 MB, free: 15.45 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006262/0.00805, allocations: 369.3 kB / 381 MB, free: 15.06 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.008084, allocations: 8.031 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.703e-05/0.008151, allocations: 20.83 kB / 381 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000304/0.008455, allocations: 166.4 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.008468, allocations: 384 / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.108e-05/0.008499, allocations: 8.375 kB / 381.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.008664, allocations: 62.22 kB / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.008675, allocations: 192 / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.008684, allocations: 384 / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-06/0.008694, allocations: 7.938 kB / 381.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.275e-05/0.008776, allocations: 23.98 kB / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004088/0.009185, allocations: 240.5 kB / 381.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001931/0.009378, allocations: 58.61 kB / 381.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.28e-05/0.009441, allocations: 20.86 kB / 381.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.009456, allocations: 0 / 381.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001752/0.009631, allocations: 79.31 kB / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.009632, allocations: 0 / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006507/0.01028, allocations: 197.2 kB / 381.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.01033, allocations: 51.41 kB / 381.9 MB, free: 14.03 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003225/0.01065, allocations: 271 kB / 382.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.01068, allocations: 29.64 kB / 382.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.684e-05/0.01077, allocations: 116.1 kB / 382.3 MB, free: 13.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.968e-05/0.01081, allocations: 27.78 kB / 382.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.881e-05/0.01086, allocations: 25.66 kB / 382.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002029/0.01107, allocations: 330.8 kB / 382.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.73e-05/0.01113, allocations: 24 kB / 382.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.273e-05/0.01122, allocations: 37.7 kB / 382.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.01136, allocations: 57.7 kB / 382.8 MB, free: 13.08 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.01136, allocations: 4 kB / 382.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002359/0.0116, allocations: 113.5 kB / 383 MB, free: 12.96 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.01161, allocations: 8 kB / 383 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.01162, allocations: 0 / 383 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.01164, allocations: 0 / 383 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.01174, allocations: 23.95 kB / 383 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.01175, allocations: 4.156 kB / 383 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.146e-05/0.0118, allocations: 0 / 383 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.01181, allocations: 4 kB / 383 MB, free: 12.92 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 (10): * Single equations (assignments): 10 * 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.0001426/0.01195, allocations: 133.8 kB / 383.1 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.804e-05/0.01199, allocations: 19.84 kB / 383.1 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002988/0.01229, allocations: 135.4 kB / 383.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.01229, allocations: 0 / 383.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.01229, allocations: 0 / 383.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.0123, allocations: 0 / 383.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005499/0.01285, allocations: 370.9 kB / 383.6 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.01285, allocations: 4 kB / 383.6 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.697e-05/0.0129, allocations: 8 kB / 383.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.0129, allocations: 0 / 383.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.01291, allocations: 7.984 kB / 383.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.01291, allocations: 0 / 383.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01292, allocations: 0 / 383.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005465/0.01346, allocations: 224.2 kB / 383.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.526e-05/0.01349, allocations: 11.91 kB / 383.9 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.01351, allocations: 8.016 kB / 383.9 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.156e-05/0.01359, allocations: 4 kB / 383.9 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.203e-05/0.01365, allocations: 15.92 kB / 383.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.01366, allocations: 4 kB / 383.9 MB, free: 11.92 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002267/0.01389, allocations: 200.6 kB / 384.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01389, allocations: 0 / 384.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002859/0.01418, allocations: 27.92 kB / 384.1 MB, free: 11.7 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.002271/0.01645, allocations: 488.4 kB / 384.6 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002213/0.01667, allocations: 63.83 kB / 384.7 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.01667, allocations: 4 kB / 384.7 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.01678, allocations: 27.98 kB / 384.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003865/0.01716, allocations: 39.03 kB / 384.7 MB, free: 11.26 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006326/0.0178, allocations: 298.1 kB / 385 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001349/0.01793, allocations: 112.9 kB / 385.2 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.284e-05/0.01799, allocations: 21.27 kB / 385.2 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.346e-05/0.01804, allocations: 16.5 kB / 385.2 MB, free: 10.77 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01804, allocations: 0 / 385.2 MB, free: 10.77 MB / 362.7 MB Notification: Performance of Templates: time 0.005834/0.02387, allocations: 1.886 MB / 387.1 MB, free: 8.902 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.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.046683153021149]