Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001899/0.001899, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002072/0.002072, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.564/1.564, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3622/0.3622, allocations: 32.8 MB / 293.9 MB, free: 1.211 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 375.3 MB, free: 4.898 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.49e-05/3.691e-05, allocations: 2.312 kB / 375.3 MB, free: 4.895 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.0036/0.003637, allocations: 1.751 MB / 377.1 MB, free: 3.129 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002155/0.005792, allocations: 0.9898 MB / 378.1 MB, free: 2.133 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.828e-05/0.00587, allocations: 4 kB / 378.1 MB, free: 2.129 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003431/0.006213, allocations: 51.7 kB / 378.1 MB, free: 2.078 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003513/0.006564, allocations: 103.5 kB / 378.2 MB, free: 1.977 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002479/0.006812, allocations: 83.53 kB / 378.3 MB, free: 1.895 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002047/0.007017, allocations: 107.7 kB / 378.4 MB, free: 1.789 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.485e-05/0.007112, allocations: 11.97 kB / 378.4 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.007233, allocations: 51.78 kB / 378.5 MB, free: 1.727 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.185e-05/0.007325, allocations: 31.89 kB / 378.5 MB, free: 1.695 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.445e-05/0.00735, allocations: 4 kB / 378.5 MB, free: 1.691 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.007455, allocations: 39.94 kB / 378.6 MB, free: 1.652 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.866e-05/0.007534, allocations: 35.84 kB / 378.6 MB, free: 1.617 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.354e-05/0.007587, allocations: 15.94 kB / 378.6 MB, free: 1.602 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002777/0.007865, allocations: 135.5 kB / 378.7 MB, free: 1.469 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.007869, allocations: 0 / 378.7 MB, free: 1.469 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.00787, allocations: 0 / 378.7 MB, free: 1.469 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.007876, allocations: 7.938 kB / 378.8 MB, free: 1.461 MB / 346.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.0007471/0.008623, allocations: 483.3 kB / 379.2 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.008663, allocations: 12.03 kB / 379.2 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.585e-05/0.008728, allocations: 16.84 kB / 379.3 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/0.009006, allocations: 165.3 kB / 379.4 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.00902, allocations: 384 / 379.4 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/0.009043, allocations: 4.375 kB / 379.4 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.009189, allocations: 54.23 kB / 379.5 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.009203, allocations: 3.938 kB / 379.5 MB, free: 0.668 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.009213, allocations: 0 / 379.5 MB, free: 0.668 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.009217, allocations: 4 kB / 379.5 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.829e-05/0.009295, allocations: 19.92 kB / 379.5 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005168/0.009812, allocations: 315.8 kB / 379.8 MB, free: 308 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001889/0.01, allocations: 59.17 kB / 379.9 MB, free: 236 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.297e-05/0.01006, allocations: 31.55 kB / 379.9 MB, free: 200 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.01008, allocations: 7.938 kB / 379.9 MB, free: 192 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001637/0.01025, allocations: 69.05 kB / 380 MB, free: 108 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.01025, allocations: 0 / 380 MB, free: 108 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006374/0.01089, allocations: 185.3 kB / 380.2 MB, free: 15.92 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/0.01094, allocations: 59.39 kB / 380.2 MB, free: 15.85 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003087/0.01125, allocations: 298.7 kB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.01127, allocations: 25.7 kB / 380.5 MB, free: 15.51 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.01141, allocations: 174.8 kB / 380.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.957e-05/0.01145, allocations: 27.78 kB / 380.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.918e-05/0.01151, allocations: 35.36 kB / 380.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002835/0.01179, allocations: 0.5079 MB / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.055e-05/0.01185, allocations: 19.98 kB / 381.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.521e-05/0.01193, allocations: 39.36 kB / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.01205, allocations: 67.25 kB / 381.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.01205, allocations: 4 kB / 381.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002196/0.01227, allocations: 109.5 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.01229, allocations: 9.875 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.01229, allocations: 0 / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.01231, allocations: 0 / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.01241, allocations: 20.36 kB / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.01242, allocations: 4 kB / 381.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.665e-05/0.01247, allocations: 4 kB / 381.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.01248, allocations: 4 kB / 381.5 MB, free: 14.45 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.0001364/0.01261, allocations: 171.4 kB / 381.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.529e-05/0.01265, allocations: 23.94 kB / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002713/0.01292, allocations: 119.3 kB / 381.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.01292, allocations: 0 / 381.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.01292, allocations: 0 / 381.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.01293, allocations: 3.984 kB / 381.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005977/0.01353, allocations: 436.9 kB / 382.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01353, allocations: 0 / 382.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.873e-05/0.01358, allocations: 15.94 kB / 382.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.01358, allocations: 0 / 382.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.01359, allocations: 4 kB / 382.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.0136, allocations: 4.031 kB / 382.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.0136, allocations: 11.92 kB / 382.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003569/0.01396, allocations: 275.4 kB / 382.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.98e-05/0.01399, allocations: 11.91 kB / 382.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.01401, allocations: 4 kB / 382.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.918e-05/0.0141, allocations: 4 kB / 382.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.671e-05/0.01416, allocations: 7.984 kB / 382.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-05/0.01418, allocations: 4 kB / 382.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001995/0.01438, allocations: 212.5 kB / 382.8 MB, free: 13.08 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01438, allocations: 0 / 382.8 MB, free: 13.08 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003445/0.01472, allocations: 23.92 kB / 382.8 MB, free: 13.06 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.003697/0.01842, allocations: 495.7 kB / 383.3 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002676/0.01869, allocations: 71.53 kB / 383.4 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.01869, allocations: 4.062 kB / 383.4 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.689e-05/0.01878, allocations: 39.61 kB / 383.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004096/0.01919, allocations: 34.27 kB / 383.5 MB, free: 12.63 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006228/0.01982, allocations: 278.4 kB / 383.7 MB, free: 12.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/0.01994, allocations: 105.1 kB / 383.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.623e-05/0.02, allocations: 25.34 kB / 383.9 MB, free: 12.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.343e-05/0.02006, allocations: 24.48 kB / 383.9 MB, free: 12.16 MB / 362.7 MB Notification: Performance of SimCode: time 6.31e-07/0.02006, allocations: 0 / 383.9 MB, free: 12.16 MB / 362.7 MB Notification: Performance of Templates: time 0.006449/0.02651, allocations: 1.879 MB / 385.8 MB, free: 10.3 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.103687094990164]