Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.001782/0.001782, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 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.00227/0.00227, allocations: 215.6 kB / 24.48 MB, free: 3.84 MB / 14.72 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.481/1.481, allocations: 230.6 MB / 258.2 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2265/0.2265, allocations: 46.97 MB / 361.6 MB, free: 4.035 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002117/0.002117, allocations: 71.89 kB / 0.4974 GB, free: 7.145 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3167, allocations: 66.03 MB / 0.5619 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.00302/0.3197, allocations: 1.671 MB / 0.5635 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001688/0.3214, allocations: 0.9481 MB / 0.5644 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.348e-05/0.3214, allocations: 0 / 0.5644 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002855/0.3217, allocations: 63.73 kB / 0.5645 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003163/0.322, allocations: 111.6 kB / 0.5646 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001738/0.3222, allocations: 71.67 kB / 0.5647 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001821/0.3224, allocations: 107.7 kB / 0.5648 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.912e-05/0.3224, allocations: 4.234 kB / 0.5648 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.641e-05/0.3225, allocations: 47.78 kB / 0.5648 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.3226, allocations: 47.77 kB / 0.5649 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.3226, allocations: 7.938 kB / 0.5649 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.718e-05/0.3227, allocations: 35.98 kB / 0.5649 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.861e-05/0.3228, allocations: 19.91 kB / 0.5649 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.335e-05/0.3229, allocations: 27.86 kB / 0.565 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001995/0.3231, allocations: 110 kB / 0.5651 GB, free: 0.875 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3231, allocations: 0 / 0.5651 GB, free: 0.875 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3231, allocations: 0 / 0.5651 GB, free: 0.875 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.3231, allocations: 0 / 0.5651 GB, free: 0.875 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005401/0.3236, allocations: 341.5 kB / 0.5654 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.3236, allocations: 12.03 kB / 0.5654 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.463e-05/0.3237, allocations: 12.84 kB / 0.5654 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.3239, allocations: 147.1 kB / 0.5656 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.3239, allocations: 384 / 0.5656 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.324, allocations: 12.06 kB / 0.5656 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.3241, allocations: 49.67 kB / 0.5656 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.3241, allocations: 0 / 0.5656 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.3241, allocations: 0 / 0.5656 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3241, allocations: 0 / 0.5656 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.091e-05/0.3242, allocations: 23.92 kB / 0.5656 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001703/0.3244, allocations: 129.3 kB / 0.5658 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.3245, allocations: 50.61 kB / 0.5658 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.72e-05/0.3246, allocations: 20.84 kB / 0.5658 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.3246, allocations: 8 kB / 0.5658 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001449/0.3248, allocations: 71.31 kB / 0.5659 GB, free: 15.9 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.253e-06/0.3248, allocations: 0 / 0.5659 GB, free: 15.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002857/0.325, allocations: 101.6 kB / 0.566 GB, free: 15.8 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.3251, allocations: 51.41 kB / 0.566 GB, free: 15.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002047/0.3253, allocations: 202.3 kB / 0.5662 GB, free: 15.53 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.3253, allocations: 29.7 kB / 0.5663 GB, free: 15.49 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.364e-05/0.3254, allocations: 96.14 kB / 0.5664 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.419e-05/0.3254, allocations: 19.89 kB / 0.5664 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.562e-05/0.3254, allocations: 17.72 kB / 0.5664 GB, free: 15.35 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.3256, allocations: 326.8 kB / 0.5667 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.169e-05/0.3256, allocations: 15.98 kB / 0.5667 GB, free: 15.01 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.153e-05/0.3257, allocations: 33.64 kB / 0.5668 GB, free: 14.97 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.3258, allocations: 53.64 kB / 0.5668 GB, free: 14.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3258, allocations: 0 / 0.5668 GB, free: 14.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001736/0.326, allocations: 89.45 kB / 0.5669 GB, free: 14.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.326, allocations: 10.5 kB / 0.5669 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.326, allocations: 320 / 0.5669 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.326, allocations: 4.031 kB / 0.5669 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.067e-05/0.3261, allocations: 8 kB / 0.5669 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.3261, allocations: 8 kB / 0.5669 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.582e-05/0.3262, allocations: 7.922 kB / 0.5669 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.3262, allocations: 4 kB / 0.5669 GB, free: 14.78 MB / 414.1 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 (7): * Single equations (assignments): 7 * 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.0001038/0.3263, allocations: 121.8 kB / 0.567 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.919e-05/0.3263, allocations: 11.89 kB / 0.5671 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002142/0.3265, allocations: 98.69 kB / 0.5672 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.3265, allocations: 0 / 0.5672 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.3265, allocations: 4 kB / 0.5672 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.3265, allocations: 4 kB / 0.5672 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001461/0.3267, allocations: 137.2 kB / 0.5673 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3267, allocations: 0 / 0.5673 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.784e-05/0.3267, allocations: 7.984 kB / 0.5673 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.3267, allocations: 3.938 kB / 0.5673 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.3267, allocations: 3.938 kB / 0.5673 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.3267, allocations: 4 kB / 0.5673 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3267, allocations: 0 / 0.5673 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001922/0.3269, allocations: 113 kB / 0.5674 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.536e-05/0.3269, allocations: 19.84 kB / 0.5674 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.327, allocations: 4 kB / 0.5674 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.792e-05/0.327, allocations: 7.984 kB / 0.5674 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.545e-05/0.327, allocations: 0 / 0.5674 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.327, allocations: 4 kB / 0.5675 GB, free: 14.17 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001333/0.3272, allocations: 156.2 kB / 0.5676 GB, free: 14.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3272, allocations: 0 / 0.5676 GB, free: 14.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002159/0.3274, allocations: 19.98 kB / 0.5676 GB, free: 14 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001602/0.329, allocations: 444.8 kB / 0.568 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001795/0.3292, allocations: 51.92 kB / 0.5681 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3292, allocations: 0 / 0.5681 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.433e-05/0.3292, allocations: 19.98 kB / 0.5681 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002675/0.3295, allocations: 29.86 kB / 0.5681 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004558/0.33, allocations: 239.6 kB / 0.5684 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.516e-05/0.33, allocations: 89.31 kB / 0.5685 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.091e-05/0.3301, allocations: 15.44 kB / 0.5685 GB, free: 13.25 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3301, allocations: 4.062 kB / 0.5685 GB, free: 13.25 MB / 414.1 MB Notification: Performance of Templates: time 0.003669/0.3338, allocations: 1.752 MB / 0.5702 GB, free: 11.5 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.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: 7.7878102427348495]