Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.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.002588/0.002588, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.003164/0.003164, allocations: 160.8 kB / 24.27 MB, free: 156 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.541/1.541, allocations: 177 MB / 204.5 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.3818/0.3818, allocations: 34.26 MB / 295.2 MB, free: 0.6406 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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 377.3 MB, free: 2.836 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.304e-05/3.452e-05, allocations: 2.312 kB / 377.3 MB, free: 2.832 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.00346/0.003495, allocations: 1.737 MB / 379 MB, free: 1.082 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002256/0.00575, allocations: 0.997 MB / 380 MB, free: 80 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.942e-05/0.00583, allocations: 0 / 380 MB, free: 80 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003454/0.006175, allocations: 43.66 kB / 380.1 MB, free: 36 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000361/0.006536, allocations: 99.64 kB / 380.2 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000218/0.006754, allocations: 75.66 kB / 380.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002285/0.006982, allocations: 119.4 kB / 380.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.111e-05/0.007074, allocations: 4 kB / 380.4 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.007199, allocations: 47.91 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.081e-05/0.00729, allocations: 31.83 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.3e-05/0.007313, allocations: 4 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.007421, allocations: 47.86 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.023e-05/0.007492, allocations: 23.92 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.071e-05/0.007542, allocations: 19.92 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002443/0.007787, allocations: 119.6 kB / 380.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.00779, allocations: 0 / 380.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.007791, allocations: 0 / 380.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.007796, allocations: 3.938 kB / 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.0006877/0.008484, allocations: 447.6 kB / 381.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.008521, allocations: 8.031 kB / 381.1 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.824e-05/0.008589, allocations: 20.83 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002764/0.008865, allocations: 153.1 kB / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.008883, allocations: 4.375 kB / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.008901, allocations: 384 / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.009065, allocations: 58.23 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.009077, allocations: 192 / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.009087, allocations: 384 / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/0.009094, allocations: 7.938 kB / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.924e-05/0.009173, allocations: 15.98 kB / 381.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004766/0.00965, allocations: 307.6 kB / 381.7 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001962/0.009846, allocations: 59.17 kB / 381.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.709e-05/0.009913, allocations: 23.67 kB / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.009941, allocations: 0 / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001794/0.01012, allocations: 76.98 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.01012, allocations: 7.938 kB / 381.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006205/0.01074, allocations: 169.5 kB / 382 MB, free: 13.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.886e-05/0.0108, allocations: 59.34 kB / 382 MB, free: 13.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002914/0.01109, allocations: 250.4 kB / 382.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.01112, allocations: 25.7 kB / 382.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.01125, allocations: 154.8 kB / 382.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.613e-05/0.0113, allocations: 31.78 kB / 382.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.071e-05/0.01136, allocations: 27.38 kB / 382.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.00029/0.01165, allocations: 0.504 MB / 383 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.191e-05/0.01172, allocations: 23.98 kB / 383 MB, free: 12.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.643e-05/0.0118, allocations: 43.36 kB / 383.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.01196, allocations: 71.3 kB / 383.2 MB, free: 12.73 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.01197, allocations: 384 / 383.2 MB, free: 12.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000218/0.01218, allocations: 101.6 kB / 383.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.0122, allocations: 8 kB / 383.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.01221, allocations: 0 / 383.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.01223, allocations: 4 kB / 383.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.01233, allocations: 19.92 kB / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.01233, allocations: 160 / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.278e-05/0.01238, allocations: 4 kB / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.01239, allocations: 8.031 kB / 383.3 MB, free: 12.58 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.000141/0.01253, allocations: 164.6 kB / 383.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.476e-05/0.01256, allocations: 23.83 kB / 383.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00028/0.01284, allocations: 115.1 kB / 383.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.01285, allocations: 3.984 kB / 383.6 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.01285, allocations: 0 / 383.6 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.01286, allocations: 0 / 383.6 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000569/0.01343, allocations: 416.9 kB / 384 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.01343, allocations: 0 / 384 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.079e-05/0.01348, allocations: 24.02 kB / 384 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.01348, allocations: 0 / 384 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.01349, allocations: 0 / 384 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.0135, allocations: 4 kB / 384 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.0135, allocations: 3.938 kB / 384 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004059/0.01391, allocations: 263.5 kB / 384.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.79e-05/0.01394, allocations: 11.91 kB / 384.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.044e-05/0.01397, allocations: 7.938 kB / 384.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.115e-05/0.01404, allocations: 3.984 kB / 384.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.806e-05/0.01411, allocations: 11.98 kB / 384.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.776e-05/0.01414, allocations: 7.984 kB / 384.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001966/0.01433, allocations: 179.2 kB / 384.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01433, allocations: 0 / 384.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002847/0.01462, allocations: 23.94 kB / 384.5 MB, free: 11.25 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.003388/0.018, allocations: 496.8 kB / 385 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002308/0.01824, allocations: 71.55 kB / 385.1 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.01824, allocations: 0 / 385.1 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.11e-05/0.01833, allocations: 39.61 kB / 385.1 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003779/0.01871, allocations: 35.09 kB / 385.2 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005401/0.01925, allocations: 226 kB / 385.4 MB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.01936, allocations: 96.42 kB / 385.5 MB, free: 10.42 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.822e-05/0.01942, allocations: 17.27 kB / 385.5 MB, free: 10.4 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.187e-05/0.01947, allocations: 20.5 kB / 385.5 MB, free: 10.38 MB / 362.7 MB Notification: Performance of SimCode: time 8.01e-07/0.01947, allocations: 0 / 385.5 MB, free: 10.38 MB / 362.7 MB Notification: Performance of Templates: time 0.006586/0.02605, allocations: 1.866 MB / 387.4 MB, free: 8.531 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.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.0708381969016045]