Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.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.001516/0.001516, allocations: 88.28 kB / 20.96 MB, free: 3.449 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.0019/0.0019, allocations: 156.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.512/1.512, allocations: 177 MB / 204.4 MB, free: 5.617 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.3611/0.3611, allocations: 34.26 MB / 295.2 MB, free: 0.6562 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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 377.3 MB, free: 2.844 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.563e-05/2.703e-05, allocations: 4.844 kB / 377.3 MB, free: 2.84 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003304/0.003331, allocations: 1.719 MB / 379 MB, free: 1.105 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001996/0.005327, allocations: 0.9853 MB / 380 MB, free: 116 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.005439, allocations: 3.938 kB / 380 MB, free: 112 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005667/0.006005, allocations: 43.7 kB / 380 MB, free: 68 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004528/0.006458, allocations: 87.7 kB / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002898/0.006748, allocations: 83.59 kB / 380.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002344/0.006982, allocations: 115.6 kB / 380.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.862e-05/0.007081, allocations: 11.98 kB / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.007221, allocations: 47.91 kB / 380.4 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.979e-05/0.007321, allocations: 31.83 kB / 380.4 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.525e-05/0.007346, allocations: 4 kB / 380.4 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001432/0.007489, allocations: 43.92 kB / 380.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.071e-05/0.00756, allocations: 19.92 kB / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.29e-05/0.007623, allocations: 19.92 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003075/0.00793, allocations: 127.5 kB / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.007934, allocations: 0 / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.007935, allocations: 4 kB / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.007943, allocations: 0 / 380.6 MB, free: 15.48 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.0007405/0.008684, allocations: 345.6 kB / 381 MB, free: 15.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.008729, allocations: 12.03 kB / 381 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.345e-05/0.008803, allocations: 12.84 kB / 381 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003579/0.009161, allocations: 158 kB / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.009177, allocations: 384 / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.375e-05/0.009211, allocations: 8.312 kB / 381.2 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001904/0.009402, allocations: 54.23 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.009415, allocations: 192 / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.009427, allocations: 384 / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/0.00944, allocations: 11.94 kB / 381.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.998e-05/0.00953, allocations: 23.98 kB / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004434/0.009973, allocations: 236.6 kB / 381.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000209/0.01018, allocations: 50.62 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.574e-05/0.01026, allocations: 20.84 kB / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.01028, allocations: 4 kB / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001802/0.01046, allocations: 71.33 kB / 381.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.01046, allocations: 3.938 kB / 381.6 MB, free: 14.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006901/0.01115, allocations: 189.3 kB / 381.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.714e-05/0.0112, allocations: 55.39 kB / 381.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002536/0.01146, allocations: 214.4 kB / 382.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.01148, allocations: 25.7 kB / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.372e-05/0.01156, allocations: 104.1 kB / 382.2 MB, free: 13.76 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.596e-05/0.0116, allocations: 23.81 kB / 382.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.935e-05/0.01165, allocations: 25.7 kB / 382.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.01182, allocations: 326.8 kB / 382.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.373e-05/0.01189, allocations: 23.92 kB / 382.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.968e-05/0.01197, allocations: 37.7 kB / 382.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.01212, allocations: 65.69 kB / 382.7 MB, free: 13.24 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.01212, allocations: 0 / 382.7 MB, free: 13.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002182/0.01234, allocations: 109.5 kB / 382.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.01236, allocations: 4 kB / 382.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.01236, allocations: 0 / 382.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/0.01238, allocations: 4 kB / 382.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.625e-05/0.01248, allocations: 15.98 kB / 382.8 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.01249, allocations: 3.938 kB / 382.8 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.214e-05/0.01254, allocations: 8 kB / 382.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.01255, allocations: 4.031 kB / 382.8 MB, free: 13.09 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.0001234/0.01267, allocations: 125.8 kB / 383 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.938e-05/0.01271, allocations: 23.84 kB / 383 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002835/0.01299, allocations: 127.1 kB / 383.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-05/0.01301, allocations: 7.984 kB / 383.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.01302, allocations: 0 / 383.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.01302, allocations: 0 / 383.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005161/0.01354, allocations: 350.9 kB / 383.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.01354, allocations: 4.359 kB / 383.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.937e-05/0.01358, allocations: 12.03 kB / 383.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.01358, allocations: 4 kB / 383.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.0136, allocations: 8 kB / 383.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.0136, allocations: 0 / 383.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.0136, allocations: 0 / 383.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003026/0.0139, allocations: 216.2 kB / 383.7 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.379e-05/0.01393, allocations: 15.89 kB / 383.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.749e-05/0.01397, allocations: 7.938 kB / 383.7 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.756e-05/0.01404, allocations: 4 kB / 383.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.557e-05/0.01409, allocations: 7.984 kB / 383.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.01411, allocations: 8 kB / 383.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001705/0.01428, allocations: 159.2 kB / 383.9 MB, free: 11.95 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01428, allocations: 0 / 383.9 MB, free: 11.95 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002784/0.01456, allocations: 31.92 kB / 383.9 MB, free: 11.92 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.002328/0.01688, allocations: 481.8 kB / 384.4 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000254/0.01714, allocations: 67.84 kB / 384.5 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.01714, allocations: 0 / 384.5 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.543e-05/0.01722, allocations: 23.98 kB / 384.5 MB, free: 11.53 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000415/0.01764, allocations: 31.97 kB / 384.5 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006381/0.01828, allocations: 249.3 kB / 384.8 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001353/0.01841, allocations: 100.9 kB / 384.9 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.083e-05/0.01847, allocations: 17.27 kB / 384.9 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.94e-05/0.01852, allocations: 20.44 kB / 384.9 MB, free: 11.07 MB / 362.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01852, allocations: 0 / 384.9 MB, free: 11.07 MB / 362.7 MB Notification: Performance of Templates: time 0.005768/0.02429, allocations: 1.873 MB / 386.8 MB, free: 9.215 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.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: 4.96727514907252]