Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,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.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 118.4 kB / 17.78 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 179 kB / 18.71 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2147/0.2147, allocations: 44.19 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 63.91 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4221/0.4236, allocations: 60.82 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.002851/0.4265, allocations: 1.567 MB / 0.5204 GB, free: 2.535 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006657/0.4272, allocations: 409.2 kB / 0.5208 GB, free: 2.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.951e-05/0.4273, allocations: 1.125 kB / 0.5208 GB, free: 2.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002093/0.4275, allocations: 21.53 kB / 0.5209 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001883/0.4277, allocations: 37.03 kB / 0.5209 GB, free: 2.238 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002902/0.428, allocations: 119.1 kB / 0.521 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.4282, allocations: 54.17 kB / 0.5211 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.4283, allocations: 13.03 kB / 0.5211 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.816e-05/0.4283, allocations: 22.95 kB / 0.5211 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.921e-05/0.4284, allocations: 28.19 kB / 0.5211 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.4284, allocations: 2.25 kB / 0.5211 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.978e-05/0.4285, allocations: 30 kB / 0.5211 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.12e-05/0.4286, allocations: 15.28 kB / 0.5212 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.643e-05/0.4286, allocations: 20.33 kB / 0.5212 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000164/0.4288, allocations: 79.94 kB / 0.5213 GB, free: 2.051 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.4288, allocations: 0.7031 kB / 0.5213 GB, free: 2.051 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.4288, allocations: 0 / 0.5213 GB, free: 2.051 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.4288, allocations: 0 / 0.5213 GB, free: 2.051 MB / 382.1 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.0003862/0.4292, allocations: 377.2 kB / 0.5216 GB, free: 1.672 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.4292, allocations: 8.688 kB / 0.5216 GB, free: 1.672 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.474e-05/0.4293, allocations: 4.5 kB / 0.5216 GB, free: 1.672 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.4294, allocations: 194.7 kB / 0.5218 GB, free: 1.457 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.936e-06/0.4294, allocations: 9.422 kB / 0.5218 GB, free: 1.449 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/0.4294, allocations: 6.594 kB / 0.5218 GB, free: 1.445 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.4296, allocations: 50.45 kB / 0.5219 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.4296, allocations: 0 / 0.5219 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.4296, allocations: 1.062 kB / 0.5219 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.4296, allocations: 0.5625 kB / 0.5219 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/0.4298, allocations: 23.8 kB / 0.5219 GB, free: 1.402 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003372/0.4301, allocations: 284 kB / 0.5222 GB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001929/0.4303, allocations: 46.19 kB / 0.5222 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.997e-05/0.4304, allocations: 14.36 kB / 0.5222 GB, free: 1.074 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.4304, allocations: 1.703 kB / 0.5222 GB, free: 1.074 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.268e-05/0.4304, allocations: 39.62 kB / 0.5223 GB, free: 1.027 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.4304, allocations: 0 / 0.5223 GB, free: 1.027 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005323/0.4309, allocations: 147.6 kB / 0.5224 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.162e-05/0.431, allocations: 56.75 kB / 0.5225 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.4311, allocations: 153.6 kB / 0.5226 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.725e-06/0.4311, allocations: 25.7 kB / 0.5226 GB, free: 0.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.531e-05/0.4312, allocations: 105 kB / 0.5227 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.103e-05/0.4312, allocations: 16.12 kB / 0.5228 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/0.4312, allocations: 19.3 kB / 0.5228 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.036e-05/0.4313, allocations: 327.3 kB / 0.5231 GB, free: 300 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.607e-05/0.4314, allocations: 20.61 kB / 0.5231 GB, free: 296 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.388e-05/0.4314, allocations: 20.91 kB / 0.5231 GB, free: 292 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.4316, allocations: 51.77 kB / 0.5232 GB, free: 272 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.4316, allocations: 0.7969 kB / 0.5232 GB, free: 272 kB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001786/0.4318, allocations: 88.81 kB / 0.5233 GB, free: 220 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.4318, allocations: 4.5 kB / 0.5233 GB, free: 220 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.4318, allocations: 5.938 kB / 0.5233 GB, free: 216 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.4318, allocations: 3.938 kB / 0.5233 GB, free: 212 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.287e-05/0.4319, allocations: 16.33 kB / 0.5233 GB, free: 208 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.4319, allocations: 1.062 kB / 0.5233 GB, free: 208 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.048e-05/0.4319, allocations: 5.141 kB / 0.5233 GB, free: 208 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.432, allocations: 5.031 kB / 0.5233 GB, free: 204 kB / 382.1 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.181e-05/0.432, allocations: 121.7 kB / 0.5234 GB, free: 80 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.227e-05/0.4321, allocations: 8.031 kB / 0.5234 GB, free: 76 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002299/0.4323, allocations: 98.69 kB / 0.5235 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.4323, allocations: 1.656 kB / 0.5235 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.4323, allocations: 0 / 0.5235 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.4323, allocations: 0.75 kB / 0.5235 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004626/0.4328, allocations: 353.9 kB / 0.5239 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.4328, allocations: 4 kB / 0.5239 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.918e-05/0.4329, allocations: 15.77 kB / 0.5239 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.4329, allocations: 2.016 kB / 0.5239 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.4329, allocations: 1.312 kB / 0.5239 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.4329, allocations: 3.938 kB / 0.5239 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.4329, allocations: 0.7969 kB / 0.5239 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002405/0.4332, allocations: 185.2 kB / 0.5241 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.31e-05/0.4332, allocations: 84.06 kB / 0.5241 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.4332, allocations: 1.156 kB / 0.5241 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.216e-05/0.4333, allocations: 15.89 kB / 0.5242 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.261e-05/0.4334, allocations: 5.422 kB / 0.5242 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.4334, allocations: 1.156 kB / 0.5242 GB, free: 15.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001049/0.4335, allocations: 118.1 kB / 0.5243 GB, free: 15.33 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4335, allocations: 0 / 0.5243 GB, free: 15.33 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00028/0.4338, allocations: 19.48 kB / 0.5243 GB, free: 15.32 MB / 398.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: 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.0009111/0.4347, allocations: 407.5 kB / 0.5247 GB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002149/0.4349, allocations: 55.95 kB / 0.5247 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4349, allocations: 2.219 kB / 0.5247 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.493e-05/0.435, allocations: 23.84 kB / 0.5248 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.4353, allocations: 13.67 kB / 0.5248 GB, free: 15.1 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004003/0.4357, allocations: 180.9 kB / 0.5249 GB, free: 14.96 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/0.436, allocations: 0.7007 MB / 0.5256 GB, free: 14.26 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.9e-05/0.4361, allocations: 11.23 kB / 0.5256 GB, free: 14.26 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.018e-05/0.4361, allocations: 12.67 kB / 0.5257 GB, free: 14.25 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4361, allocations: 0 / 0.5257 GB, free: 14.25 MB / 398.1 MB Notification: Performance of Templates: time 0.003792/0.4399, allocations: 1.132 MB / 0.5268 GB, free: 14.07 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches