Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001846/0.001846, 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.319/1.319, allocations: 222.9 MB / 241.6 MB, free: 10.96 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.0009888/0.0009886, allocations: 104.8 kB / 291.9 MB, free: 10.93 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.3882/0.3882, allocations: 44.13 MB / 386.1 MB, free: 38.05 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 55.91 kB / 457.7 MB, free: 2.297 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3316, allocations: 60.81 MB / 0.5064 GB, free: 38.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.002663/0.3343, allocations: 1.612 MB / 0.508 GB, free: 37.12 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006629/0.335, allocations: 418.8 kB / 0.5084 GB, free: 36.84 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.34e-05/0.3351, allocations: 0 / 0.5084 GB, free: 36.84 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002019/0.3353, allocations: 15.94 kB / 0.5084 GB, free: 36.84 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000118/0.3354, allocations: 27.78 kB / 0.5084 GB, free: 36.82 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002386/0.3357, allocations: 102.9 kB / 0.5085 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001345/0.3358, allocations: 58.58 kB / 0.5086 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.016e-05/0.3359, allocations: 8.25 kB / 0.5086 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.674e-05/0.336, allocations: 15 kB / 0.5086 GB, free: 36.74 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.364e-05/0.336, allocations: 26.33 kB / 0.5086 GB, free: 36.72 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.336, allocations: 1.406 kB / 0.5086 GB, free: 36.72 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.637e-05/0.3361, allocations: 28.41 kB / 0.5086 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.849e-05/0.3362, allocations: 21.06 kB / 0.5087 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.372e-05/0.3362, allocations: 23.41 kB / 0.5087 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.3364, allocations: 77.95 kB / 0.5088 GB, free: 36.65 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3364, allocations: 0 / 0.5088 GB, free: 36.65 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3364, allocations: 0 / 0.5088 GB, free: 36.65 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.3364, allocations: 1.188 kB / 0.5088 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003887/0.3368, allocations: 383.3 kB / 0.5091 GB, free: 36.26 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.3369, allocations: 10.03 kB / 0.5091 GB, free: 36.26 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.466e-05/0.3369, allocations: 8.188 kB / 0.5091 GB, free: 36.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.3371, allocations: 194.2 kB / 0.5093 GB, free: 36.04 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.3371, allocations: 1.469 kB / 0.5093 GB, free: 36.04 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.3371, allocations: 2.531 kB / 0.5093 GB, free: 36.04 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.3372, allocations: 55.36 kB / 0.5094 GB, free: 36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.3373, allocations: 0 / 0.5094 GB, free: 36 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.3373, allocations: 5.219 kB / 0.5094 GB, free: 35.99 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.3373, allocations: 0 / 0.5094 GB, free: 35.99 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.844e-05/0.3374, allocations: 25.05 kB / 0.5094 GB, free: 35.99 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003303/0.3377, allocations: 280.3 kB / 0.5097 GB, free: 35.7 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001926/0.3379, allocations: 44.64 kB / 0.5097 GB, free: 35.67 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.909e-05/0.338, allocations: 20.78 kB / 0.5097 GB, free: 35.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.338, allocations: 0 / 0.5097 GB, free: 35.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.696e-05/0.338, allocations: 37.98 kB / 0.5098 GB, free: 35.62 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.338, allocations: 0 / 0.5098 GB, free: 35.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005208/0.3386, allocations: 152.6 kB / 0.5099 GB, free: 35.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.608e-05/0.3386, allocations: 54.16 kB / 0.51 GB, free: 35.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.3387, allocations: 150.3 kB / 0.5101 GB, free: 35.37 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.858e-06/0.3387, allocations: 29.7 kB / 0.5101 GB, free: 35.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.834e-05/0.3388, allocations: 102.5 kB / 0.5102 GB, free: 35.24 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.3388, allocations: 14.62 kB / 0.5103 GB, free: 35.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.021e-05/0.3388, allocations: 19.88 kB / 0.5103 GB, free: 35.21 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.358e-05/0.3389, allocations: 324.8 kB / 0.5106 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.512e-05/0.339, allocations: 18.88 kB / 0.5106 GB, free: 34.88 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.711e-05/0.3391, allocations: 19.3 kB / 0.5106 GB, free: 34.88 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.3392, allocations: 60.02 kB / 0.5107 GB, free: 34.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3392, allocations: 0 / 0.5107 GB, free: 34.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001623/0.3394, allocations: 85.52 kB / 0.5108 GB, free: 34.81 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.3394, allocations: 6.75 kB / 0.5108 GB, free: 34.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3394, allocations: 3.031 kB / 0.5108 GB, free: 34.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.3394, allocations: 0 / 0.5108 GB, free: 34.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.642e-05/0.3395, allocations: 16.05 kB / 0.5108 GB, free: 34.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.3395, allocations: 0 / 0.5108 GB, free: 34.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.743e-05/0.3395, allocations: 6.906 kB / 0.5108 GB, free: 34.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.3395, allocations: 14.28 kB / 0.5108 GB, free: 34.79 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 (5): * Single equations (assignments): 5 * 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 6.432e-05/0.3396, allocations: 120 kB / 0.5109 GB, free: 34.67 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.868e-05/0.3396, allocations: 6.688 kB / 0.5109 GB, free: 34.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002275/0.3399, allocations: 101.4 kB / 0.511 GB, free: 34.61 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.3399, allocations: 2.781 kB / 0.511 GB, free: 34.61 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.3399, allocations: 0 / 0.511 GB, free: 34.61 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.3399, allocations: 3.328 kB / 0.511 GB, free: 34.61 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003576/0.3403, allocations: 352.3 kB / 0.5114 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.3403, allocations: 3.938 kB / 0.5114 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-05/0.3403, allocations: 14.97 kB / 0.5114 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3404, allocations: 0 / 0.5114 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.3404, allocations: 0 / 0.5114 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.3404, allocations: 3.938 kB / 0.5114 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3404, allocations: 0 / 0.5114 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004152/0.3408, allocations: 0.7669 MB / 0.5121 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.711e-05/0.3408, allocations: 80.64 kB / 0.5122 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.3409, allocations: 0 / 0.5122 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.424e-05/0.3409, allocations: 7.219 kB / 0.5122 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.001e-05/0.341, allocations: 4 kB / 0.5122 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.341, allocations: 2.906 kB / 0.5122 GB, free: 33.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.506e-05/0.3411, allocations: 124.2 kB / 0.5123 GB, free: 33.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3411, allocations: 0 / 0.5123 GB, free: 33.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003244/0.3414, allocations: 17.73 kB / 0.5124 GB, free: 33.33 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0008837/0.3423, allocations: 406.3 kB / 0.5127 GB, free: 33.14 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001909/0.3425, allocations: 52.92 kB / 0.5128 GB, free: 33.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3425, allocations: 0 / 0.5128 GB, free: 33.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.469e-05/0.3426, allocations: 30.66 kB / 0.5128 GB, free: 33.11 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.3429, allocations: 19.02 kB / 0.5128 GB, free: 33.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004353/0.3434, allocations: 322.3 kB / 0.5132 GB, free: 32.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001491/0.3435, allocations: 0.6927 MB / 0.5138 GB, free: 32.13 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.369e-05/0.3436, allocations: 11.98 kB / 0.5138 GB, free: 32.13 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.588e-05/0.3436, allocations: 17.09 kB / 0.5139 GB, free: 32.12 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3436, allocations: 0 / 0.5139 GB, free: 32.12 MB / 378.7 MB Notification: Performance of Templates: time 0.003337/0.347, allocations: 1.078 MB / 0.5149 GB, free: 31.97 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches