Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.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.CombiTable1Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001084/0.001084, 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.3/1.3, allocations: 222.9 MB / 241.6 MB, free: 11 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.001003/0.001003, allocations: 101.5 kB / 291.9 MB, free: 10.97 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.3492/0.3492, allocations: 44.14 MB / 386.1 MB, free: 38.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 59.91 kB / 457.7 MB, free: 2.328 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3352, allocations: 60.8 MB / 0.5064 GB, free: 38.29 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.002701/0.338, allocations: 1.638 MB / 0.508 GB, free: 37.17 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006948/0.3387, allocations: 416.6 kB / 0.5084 GB, free: 36.9 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.303e-05/0.3388, allocations: 0 / 0.5084 GB, free: 36.9 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003051/0.3391, allocations: 123.7 kB / 0.5085 GB, free: 36.88 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001415/0.3393, allocations: 77.58 kB / 0.5086 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002465/0.3395, allocations: 98.89 kB / 0.5087 GB, free: 36.82 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.3397, allocations: 88.84 kB / 0.5088 GB, free: 36.79 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.9e-05/0.3398, allocations: 16.86 kB / 0.5088 GB, free: 36.78 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.08e-05/0.3398, allocations: 36.42 kB / 0.5088 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/0.3399, allocations: 83.7 kB / 0.5089 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.34, allocations: 2.875 kB / 0.5089 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.362e-05/0.3401, allocations: 47.78 kB / 0.5089 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.478e-05/0.3401, allocations: 32.03 kB / 0.509 GB, free: 36.72 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.463e-05/0.3402, allocations: 29.5 kB / 0.509 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001438/0.3403, allocations: 113.6 kB / 0.5091 GB, free: 36.65 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3403, allocations: 0 / 0.5091 GB, free: 36.65 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.3403, allocations: 0 / 0.5091 GB, free: 36.65 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.3403, allocations: 3.938 kB / 0.5091 GB, free: 36.65 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004141/0.3408, allocations: 433.4 kB / 0.5095 GB, free: 36.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.3408, allocations: 8.562 kB / 0.5095 GB, free: 36.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.504e-05/0.3408, allocations: 14.72 kB / 0.5095 GB, free: 36.22 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.341, allocations: 209.3 kB / 0.5097 GB, free: 36 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.785e-06/0.341, allocations: 384 / 0.5097 GB, free: 36 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.341, allocations: 7.188 kB / 0.5097 GB, free: 35.99 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.3412, allocations: 55.86 kB / 0.5098 GB, free: 35.95 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.3412, allocations: 2.688 kB / 0.5098 GB, free: 35.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.3412, allocations: 0 / 0.5098 GB, free: 35.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.3412, allocations: 0 / 0.5098 GB, free: 35.95 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.18e-05/0.3413, allocations: 35.89 kB / 0.5098 GB, free: 35.94 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003476/0.3417, allocations: 304.3 kB / 0.5101 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.368e-05/0.3418, allocations: 50.52 kB / 0.5102 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.599e-05/0.3418, allocations: 20.19 kB / 0.5102 GB, free: 35.6 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.3419, allocations: 5.094 kB / 0.5102 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.657e-05/0.3419, allocations: 31.59 kB / 0.5102 GB, free: 35.55 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3419, allocations: 0 / 0.5102 GB, free: 35.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000803/0.3427, allocations: 252.6 kB / 0.5105 GB, free: 35.45 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.498e-05/0.3427, allocations: 51.41 kB / 0.5105 GB, free: 35.39 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.3429, allocations: 272.8 kB / 0.5108 GB, free: 35.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.3429, allocations: 29.64 kB / 0.5108 GB, free: 35.21 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.479e-05/0.343, allocations: 112.2 kB / 0.5109 GB, free: 35.11 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.494e-05/0.343, allocations: 29.97 kB / 0.5109 GB, free: 35.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.249e-05/0.3431, allocations: 23.34 kB / 0.511 GB, free: 35.06 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.35e-05/0.3431, allocations: 327.2 kB / 0.5113 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.434e-05/0.3432, allocations: 29.47 kB / 0.5113 GB, free: 34.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.407e-05/0.3433, allocations: 31.86 kB / 0.5113 GB, free: 34.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.3434, allocations: 72.05 kB / 0.5114 GB, free: 34.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3434, allocations: 0 / 0.5114 GB, free: 34.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001846/0.3436, allocations: 115.3 kB / 0.5115 GB, free: 34.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.234e-05/0.3437, allocations: 5.719 kB / 0.5115 GB, free: 34.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.3437, allocations: 4 kB / 0.5115 GB, free: 34.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.3437, allocations: 0 / 0.5115 GB, free: 34.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.989e-05/0.3438, allocations: 21.72 kB / 0.5115 GB, free: 34.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.3438, allocations: 7.938 kB / 0.5116 GB, free: 34.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.945e-05/0.3438, allocations: 10.3 kB / 0.5116 GB, free: 34.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.3439, allocations: 3 kB / 0.5116 GB, free: 34.62 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.386e-05/0.3439, allocations: 134.8 kB / 0.5117 GB, free: 34.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.203e-05/0.344, allocations: 13.44 kB / 0.5117 GB, free: 34.49 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002409/0.3442, allocations: 139.7 kB / 0.5118 GB, free: 34.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.3442, allocations: 2.812 kB / 0.5118 GB, free: 34.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.3442, allocations: 7.875 kB / 0.5119 GB, free: 34.42 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3443, allocations: 0 / 0.5119 GB, free: 34.42 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004063/0.3447, allocations: 428.1 kB / 0.5123 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3447, allocations: 0 / 0.5123 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-05/0.3447, allocations: 22.02 kB / 0.5123 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.3448, allocations: 0 / 0.5123 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.3448, allocations: 0 / 0.5123 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3448, allocations: 2.906 kB / 0.5123 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3448, allocations: 0 / 0.5123 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004028/0.3452, allocations: 0.8169 MB / 0.5131 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.699e-05/0.3452, allocations: 91.48 kB / 0.5132 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.3452, allocations: 2.625 kB / 0.5132 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.967e-05/0.3453, allocations: 5.703 kB / 0.5132 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.742e-05/0.3454, allocations: 5.938 kB / 0.5132 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-06/0.3454, allocations: 2.938 kB / 0.5132 GB, free: 33.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001211/0.3455, allocations: 207.3 kB / 0.5134 GB, free: 33.07 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.623e-06/0.3455, allocations: 0 / 0.5134 GB, free: 33.07 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000337/0.3458, allocations: 37.38 kB / 0.5134 GB, free: 33.05 MB / 378.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0008684/0.3467, allocations: 450.6 kB / 0.5138 GB, free: 32.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001956/0.3469, allocations: 66.95 kB / 0.5139 GB, free: 32.83 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3469, allocations: 0 / 0.5139 GB, free: 32.83 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.106e-05/0.347, allocations: 43.03 kB / 0.514 GB, free: 32.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.3473, allocations: 21.55 kB / 0.514 GB, free: 32.81 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004904/0.3478, allocations: 483.4 kB / 0.5144 GB, free: 32.44 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001306/0.348, allocations: 0.7188 MB / 0.5151 GB, free: 31.74 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.208e-05/0.3481, allocations: 22.83 kB / 0.5152 GB, free: 31.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.836e-05/0.3481, allocations: 23.41 kB / 0.5152 GB, free: 31.72 MB / 378.7 MB Notification: Performance of SimCode: time 1.8e-07/0.3481, allocations: 0 / 0.5152 GB, free: 31.72 MB / 378.7 MB Notification: Performance of Templates: time 0.003338/0.3514, allocations: 1.354 MB / 0.5165 GB, free: 31.55 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches