Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001127/0.001126, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 222.9 MB / 241.6 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001435/0.001434, allocations: 110.3 kB / 291.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.375/0.375, allocations: 44.13 MB / 386.1 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 55.92 kB / 457.8 MB, free: 2.293 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3298, allocations: 60.8 MB / 0.5064 GB, free: 38.36 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.002642/0.3325, allocations: 1.774 MB / 0.5081 GB, free: 37.14 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.3337, allocations: 0.8761 MB / 0.509 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.64e-05/0.3337, allocations: 3.938 kB / 0.509 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003057/0.3341, allocations: 99.48 kB / 0.5091 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001596/0.3342, allocations: 72.91 kB / 0.5092 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002349/0.3345, allocations: 109.7 kB / 0.5093 GB, free: 36.44 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001366/0.3346, allocations: 111.1 kB / 0.5094 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.771e-05/0.3347, allocations: 21.78 kB / 0.5094 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.981e-05/0.3348, allocations: 50.89 kB / 0.5094 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.289e-05/0.3349, allocations: 61.66 kB / 0.5095 GB, free: 36.35 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.3349, allocations: 2.938 kB / 0.5095 GB, free: 36.35 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.411e-05/0.335, allocations: 50.94 kB / 0.5095 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.199e-05/0.3351, allocations: 37.62 kB / 0.5096 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.419e-05/0.3351, allocations: 39.16 kB / 0.5096 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000171/0.3353, allocations: 130.4 kB / 0.5097 GB, free: 36.24 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3353, allocations: 6.719 kB / 0.5098 GB, free: 36.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.3353, allocations: 0 / 0.5098 GB, free: 36.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.978e-06/0.3353, allocations: 0 / 0.5098 GB, free: 36.23 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004354/0.3358, allocations: 437.3 kB / 0.5102 GB, free: 35.81 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.3358, allocations: 11.22 kB / 0.5102 GB, free: 35.81 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.905e-05/0.3359, allocations: 14.22 kB / 0.5102 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.336, allocations: 227.6 kB / 0.5104 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.3361, allocations: 384 / 0.5104 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.099e-05/0.3361, allocations: 7.031 kB / 0.5104 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.3362, allocations: 58.89 kB / 0.5105 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.3362, allocations: 9.891 kB / 0.5105 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.3363, allocations: 4 kB / 0.5105 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.3363, allocations: 0 / 0.5105 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.3364, allocations: 20.12 kB / 0.5105 GB, free: 35.51 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003034/0.3367, allocations: 317.4 kB / 0.5108 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.3369, allocations: 63.11 kB / 0.5109 GB, free: 35.17 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.954e-05/0.337, allocations: 20.91 kB / 0.5109 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.337, allocations: 2.938 kB / 0.5109 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001565/0.3372, allocations: 64.05 kB / 0.511 GB, free: 35.1 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.3372, allocations: 0 / 0.511 GB, free: 35.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006303/0.3378, allocations: 251.1 kB / 0.5112 GB, free: 34.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.254e-05/0.3378, allocations: 55.34 kB / 0.5112 GB, free: 34.92 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.338, allocations: 237.9 kB / 0.5115 GB, free: 34.79 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.338, allocations: 28.67 kB / 0.5115 GB, free: 34.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.024e-05/0.3381, allocations: 113 kB / 0.5116 GB, free: 34.65 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.673e-05/0.3381, allocations: 36.73 kB / 0.5116 GB, free: 34.62 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.543e-05/0.3381, allocations: 29.83 kB / 0.5117 GB, free: 34.6 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.554e-05/0.3382, allocations: 325.1 kB / 0.512 GB, free: 34.28 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.888e-05/0.3383, allocations: 31.86 kB / 0.512 GB, free: 34.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.322e-05/0.3383, allocations: 45.5 kB / 0.5121 GB, free: 34.24 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001148/0.3384, allocations: 79.52 kB / 0.5121 GB, free: 34.19 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3385, allocations: 0 / 0.5121 GB, free: 34.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001732/0.3386, allocations: 126.2 kB / 0.5122 GB, free: 34.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.3387, allocations: 9.875 kB / 0.5123 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.3387, allocations: 0 / 0.5123 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.3387, allocations: 0 / 0.5123 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.156e-05/0.3388, allocations: 26.7 kB / 0.5123 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.3388, allocations: 3.938 kB / 0.5123 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.293e-05/0.3388, allocations: 6.594 kB / 0.5123 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.3388, allocations: 6.688 kB / 0.5123 GB, free: 34.11 MB / 378.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 (13): * Single equations (assignments): 13 * 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 7.096e-05/0.3389, allocations: 141.3 kB / 0.5124 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.115e-05/0.3389, allocations: 13.28 kB / 0.5124 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.375e-05/0.339, allocations: 29.25 kB / 0.5125 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.339, allocations: 3.984 kB / 0.5125 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.339, allocations: 6.969 kB / 0.5125 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.339, allocations: 0 / 0.5125 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000374/0.3394, allocations: 444 kB / 0.5129 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.3394, allocations: 2.969 kB / 0.5129 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.157e-05/0.3395, allocations: 27.06 kB / 0.5129 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3395, allocations: 4 kB / 0.5129 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.3395, allocations: 3 kB / 0.5129 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3395, allocations: 0 / 0.5129 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.3395, allocations: 3.219 kB / 0.5129 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003669/0.3399, allocations: 0.8304 MB / 0.5138 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.704e-05/0.3399, allocations: 86.86 kB / 0.5138 GB, free: 32.67 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.3399, allocations: 7.281 kB / 0.5138 GB, free: 32.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.853e-05/0.34, allocations: 2.875 kB / 0.5139 GB, free: 32.67 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/0.34, allocations: 12.7 kB / 0.5139 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.3401, allocations: 9.281 kB / 0.5139 GB, free: 32.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001033/0.3402, allocations: 183.1 kB / 0.514 GB, free: 32.56 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3402, allocations: 0 / 0.514 GB, free: 32.56 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003702/0.3405, allocations: 36.12 kB / 0.5141 GB, free: 32.54 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.0009918/0.3415, allocations: 0.5118 MB / 0.5146 GB, free: 32.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001804/0.3417, allocations: 75.03 kB / 0.5147 GB, free: 32.28 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3417, allocations: 0 / 0.5147 GB, free: 32.28 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.484e-05/0.3418, allocations: 48.3 kB / 0.5147 GB, free: 32.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003325/0.3422, allocations: 27.36 kB / 0.5147 GB, free: 32.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005482/0.3427, allocations: 465.9 kB / 0.5152 GB, free: 31.89 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001567/0.3429, allocations: 0.727 MB / 0.5159 GB, free: 31.18 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.095e-05/0.343, allocations: 22.5 kB / 0.5159 GB, free: 31.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.578e-05/0.343, allocations: 16.06 kB / 0.5159 GB, free: 31.17 MB / 378.7 MB Notification: Performance of SimCode: time 8.62e-07/0.343, allocations: 4 kB / 0.5159 GB, free: 31.17 MB / 378.7 MB Notification: Performance of Templates: time 0.00459/0.3476, allocations: 1.943 MB / 0.5178 GB, free: 30.96 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches