Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.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.001018/0.001018, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001083/0.001083, allocations: 163.8 kB / 24.99 MB, free: 9.324 MB / 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.044/1.044, allocations: 177 MB / 205.2 MB, free: 5.223 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.2555/0.2555, allocations: 34.87 MB / 296.6 MB, free: 0.5312 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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.927e-06/8.927e-06, allocations: 4 kB / 378.8 MB, free: 2.324 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.799e-05/3.692e-05, allocations: 2.312 kB / 378.8 MB, free: 2.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.003351/0.003388, allocations: 1.744 MB / 380.6 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001809/0.005197, allocations: 1.012 MB / 381.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.255e-05/0.005289, allocations: 4 kB / 381.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00037/0.005659, allocations: 55.62 kB / 381.7 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003826/0.006042, allocations: 95.53 kB / 381.7 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002457/0.006288, allocations: 79.61 kB / 381.8 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002174/0.006505, allocations: 107.6 kB / 381.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.006613, allocations: 7.984 kB / 381.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.006742, allocations: 51.84 kB / 382 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.757e-05/0.00683, allocations: 27.84 kB / 382 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.361e-05/0.006854, allocations: 4 kB / 382 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.00696, allocations: 43.92 kB / 382.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.942e-05/0.00703, allocations: 31.91 kB / 382.1 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.986e-05/0.00708, allocations: 19.92 kB / 382.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002336/0.007313, allocations: 103.6 kB / 382.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.007316, allocations: 0 / 382.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.007317, allocations: 0 / 382.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.007323, allocations: 4 kB / 382.2 MB, free: 14.92 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.0006175/0.00794, allocations: 451.8 kB / 382.7 MB, free: 14.44 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.007987, allocations: 12.03 kB / 382.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.193e-05/0.008049, allocations: 8.891 kB / 382.7 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002323/0.008281, allocations: 160.9 kB / 382.8 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.008302, allocations: 4.375 kB / 382.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.239e-05/0.008325, allocations: 4.375 kB / 382.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.008493, allocations: 58.94 kB / 382.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.008506, allocations: 192 / 382.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.00852, allocations: 8.359 kB / 382.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.008531, allocations: 3.938 kB / 382.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.33e-05/0.008594, allocations: 15.94 kB / 382.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004042/0.008998, allocations: 283.8 kB / 383.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001497/0.009148, allocations: 51.17 kB / 383.3 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.827e-05/0.009196, allocations: 23.67 kB / 383.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.009213, allocations: 0 / 383.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001487/0.009361, allocations: 76.92 kB / 383.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.009363, allocations: 3.938 kB / 383.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000558/0.009921, allocations: 157.3 kB / 383.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.009965, allocations: 51.41 kB / 383.6 MB, free: 13.42 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002111/0.01018, allocations: 237.9 kB / 383.8 MB, free: 13.17 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.01019, allocations: 29.69 kB / 383.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.553e-05/0.01027, allocations: 150.8 kB / 384 MB, free: 12.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.753e-05/0.01031, allocations: 35.77 kB / 384 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.055e-05/0.01036, allocations: 31.38 kB / 384 MB, free: 12.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.01052, allocations: 0.4923 MB / 384.5 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.545e-05/0.01057, allocations: 15.98 kB / 384.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.38e-05/0.01062, allocations: 35.36 kB / 384.6 MB, free: 12.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.101e-05/0.01071, allocations: 51.38 kB / 384.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.01071, allocations: 4 kB / 384.6 MB, free: 12.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001667/0.01088, allocations: 93.5 kB / 384.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.0109, allocations: 4 kB / 384.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.0109, allocations: 4.031 kB / 384.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.01091, allocations: 0 / 384.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.01102, allocations: 16 kB / 384.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.01103, allocations: 0 / 384.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.11e-05/0.01108, allocations: 11.94 kB / 384.8 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.01109, allocations: 4 kB / 384.8 MB, free: 12.14 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 9.898e-05/0.01119, allocations: 162 kB / 384.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.92e-05/0.01122, allocations: 15.89 kB / 384.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000229/0.01145, allocations: 111.2 kB / 385 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.01145, allocations: 0 / 385 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.01145, allocations: 4 kB / 385.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.01146, allocations: 0 / 385.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004377/0.01189, allocations: 392.9 kB / 385.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.0119, allocations: 4.375 kB / 385.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.413e-05/0.01195, allocations: 19.92 kB / 385.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.01195, allocations: 0 / 385.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.01197, allocations: 8 kB / 385.5 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.01197, allocations: 0 / 385.5 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.01197, allocations: 0 / 385.5 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005182/0.01249, allocations: 255.4 kB / 385.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.053e-05/0.01251, allocations: 15.94 kB / 385.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.825e-05/0.01254, allocations: 11.94 kB / 385.7 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.504e-05/0.01262, allocations: 7.969 kB / 385.8 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.212e-05/0.01267, allocations: 4 kB / 385.8 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.017e-05/0.01269, allocations: 7.984 kB / 385.8 MB, free: 11.06 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000124/0.01281, allocations: 180.2 kB / 385.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01281, allocations: 0 / 385.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003096/0.01312, allocations: 27.92 kB / 386 MB, free: 10.86 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.001425/0.01455, allocations: 426.9 kB / 386.4 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00017/0.01472, allocations: 59.55 kB / 386.4 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01472, allocations: 0 / 386.4 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.303e-05/0.01478, allocations: 35.59 kB / 386.5 MB, free: 10.47 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/0.01516, allocations: 35.06 kB / 386.5 MB, free: 10.44 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004955/0.01565, allocations: 221.9 kB / 386.7 MB, free: 10.19 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.676e-05/0.01571, allocations: 71.33 kB / 386.8 MB, free: 10.1 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.392e-05/0.01576, allocations: 13.42 kB / 386.8 MB, free: 10.08 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.877e-05/0.01581, allocations: 20.48 kB / 386.8 MB, free: 10.06 MB / 362.7 MB Notification: Performance of SimCode: time 1.072e-06/0.01581, allocations: 0 / 386.8 MB, free: 10.06 MB / 362.7 MB Notification: Performance of Templates: time 0.003966/0.01978, allocations: 1.876 MB / 388.7 MB, free: 8.211 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.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.2168965560849756]