Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.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.001543/0.001543, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001702/0.001702, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.419/1.419, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.2291/0.2291, allocations: 46.94 MB / 361.6 MB, free: 4.266 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.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002158/0.002158, allocations: 59.91 kB / 0.4975 GB, free: 7.324 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3279, allocations: 66.03 MB / 0.5619 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.003305/0.3312, allocations: 1.755 MB / 0.5636 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001908/0.3331, allocations: 1.049 MB / 0.5647 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.534e-05/0.3332, allocations: 0 / 0.5647 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003326/0.3335, allocations: 51.77 kB / 0.5647 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003253/0.3338, allocations: 99.59 kB / 0.5648 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002184/0.334, allocations: 79.67 kB / 0.5649 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001909/0.3342, allocations: 107.6 kB / 0.565 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.3343, allocations: 4 kB / 0.565 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.3344, allocations: 47.77 kB / 0.565 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.22e-05/0.3345, allocations: 35.8 kB / 0.5651 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.3345, allocations: 4 kB / 0.5651 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.833e-05/0.3346, allocations: 47.97 kB / 0.5651 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.202e-05/0.3347, allocations: 19.92 kB / 0.5651 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.304e-05/0.3348, allocations: 51.61 kB / 0.5652 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002354/0.335, allocations: 125.8 kB / 0.5653 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.335, allocations: 0 / 0.5653 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.335, allocations: 0 / 0.5653 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.335, allocations: 0 / 0.5653 GB, free: 0.9141 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006322/0.3356, allocations: 375.8 kB / 0.5657 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.3357, allocations: 8.031 kB / 0.5657 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.703e-05/0.3357, allocations: 16.89 kB / 0.5657 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002855/0.336, allocations: 147.2 kB / 0.5658 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.336, allocations: 8.312 kB / 0.5658 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.984e-05/0.3361, allocations: 8.125 kB / 0.5659 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.3362, allocations: 53.67 kB / 0.5659 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.3362, allocations: 3.984 kB / 0.5659 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.3363, allocations: 0 / 0.5659 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.3363, allocations: 0 / 0.5659 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.896e-05/0.3363, allocations: 23.92 kB / 0.5659 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004327/0.3368, allocations: 275.9 kB / 0.5662 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.337, allocations: 54.62 kB / 0.5662 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.372e-05/0.337, allocations: 20.84 kB / 0.5663 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.337, allocations: 3.938 kB / 0.5663 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001597/0.3372, allocations: 67.39 kB / 0.5663 GB, free: 15.74 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.3372, allocations: 0 / 0.5663 GB, free: 15.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005485/0.3377, allocations: 185.3 kB / 0.5665 GB, free: 15.55 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.3378, allocations: 51.41 kB / 0.5666 GB, free: 15.49 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002464/0.338, allocations: 239 kB / 0.5668 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.3381, allocations: 29.7 kB / 0.5668 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.47e-05/0.3381, allocations: 112.1 kB / 0.5669 GB, free: 15.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.316e-05/0.3382, allocations: 27.84 kB / 0.5669 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-05/0.3382, allocations: 21.72 kB / 0.567 GB, free: 15.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.3384, allocations: 330.8 kB / 0.5673 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.845e-05/0.3384, allocations: 23.92 kB / 0.5673 GB, free: 14.69 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.457e-05/0.3385, allocations: 33.7 kB / 0.5673 GB, free: 14.65 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.3386, allocations: 57.72 kB / 0.5674 GB, free: 14.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.3386, allocations: 4 kB / 0.5674 GB, free: 14.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001866/0.3388, allocations: 109.5 kB / 0.5675 GB, free: 14.47 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.3388, allocations: 8 kB / 0.5675 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-06/0.3388, allocations: 0 / 0.5675 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.3388, allocations: 0 / 0.5675 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.953e-05/0.3389, allocations: 19.98 kB / 0.5675 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.3389, allocations: 0 / 0.5675 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.345e-05/0.339, allocations: 3.938 kB / 0.5675 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-06/0.339, allocations: 7.938 kB / 0.5675 GB, free: 14.43 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 (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.0001154/0.3391, allocations: 137.8 kB / 0.5677 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.607e-05/0.3391, allocations: 15.91 kB / 0.5677 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002503/0.3394, allocations: 119.1 kB / 0.5678 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.3394, allocations: 4 kB / 0.5678 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.3394, allocations: 0 / 0.5678 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.3394, allocations: 3.938 kB / 0.5678 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004513/0.3398, allocations: 370.4 kB / 0.5682 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.3398, allocations: 4 kB / 0.5682 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.618e-05/0.3399, allocations: 11.88 kB / 0.5682 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.3399, allocations: 4 kB / 0.5682 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.3399, allocations: 3.938 kB / 0.5682 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3399, allocations: 0 / 0.5682 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.3399, allocations: 4 kB / 0.5682 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002753/0.3402, allocations: 204.5 kB / 0.5684 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.318e-05/0.3402, allocations: 15.89 kB / 0.5684 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.3402, allocations: 11.88 kB / 0.5684 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.834e-05/0.3403, allocations: 4.375 kB / 0.5684 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.777e-05/0.3403, allocations: 7.984 kB / 0.5684 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.3403, allocations: 4 kB / 0.5684 GB, free: 13.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001754/0.3405, allocations: 183.2 kB / 0.5686 GB, free: 13.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3405, allocations: 0 / 0.5686 GB, free: 13.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002486/0.3408, allocations: 20 kB / 0.5686 GB, free: 13.23 MB / 414.1 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 (8): * Single equations (assignments): 6 * 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.001674/0.3424, allocations: 459.7 kB / 0.5691 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001952/0.3426, allocations: 63.89 kB / 0.5691 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3426, allocations: 4.062 kB / 0.5691 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.198e-05/0.3427, allocations: 23.98 kB / 0.5691 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.3431, allocations: 37.09 kB / 0.5692 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005549/0.3436, allocations: 296.8 kB / 0.5695 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000458/0.3441, allocations: 0.708 MB / 0.5702 GB, free: 11.78 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.466e-05/0.3441, allocations: 27.48 kB / 0.5702 GB, free: 11.75 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3441, allocations: 0 / 0.5702 GB, free: 11.75 MB / 414.1 MB Notification: Performance of Templates: time 0.004198/0.3483, allocations: 2.016 MB / 0.5721 GB, free: 9.738 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.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.898685394087806]