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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 113.3 kB / 18.45 MB, free: 4.602 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.001008/0.001008, allocations: 181.1 kB / 19.37 MB, free: 3.684 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.306/1.306, allocations: 222.9 MB / 243.1 MB, free: 15.08 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.2076/0.2076, allocations: 44.18 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 63.91 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4315/0.4329, allocations: 60.81 MB / 0.5196 GB, free: 3.641 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.003237/0.4362, allocations: 1.599 MB / 0.5211 GB, free: 2.531 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008585/0.4371, allocations: 411.4 kB / 0.5215 GB, free: 2.266 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.794e-05/0.4371, allocations: 1.094 kB / 0.5215 GB, free: 2.266 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004327/0.4376, allocations: 121 kB / 0.5216 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000287/0.4379, allocations: 90.11 kB / 0.5217 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003784/0.4383, allocations: 111.1 kB / 0.5218 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002008/0.4385, allocations: 86.19 kB / 0.5219 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.4386, allocations: 20.36 kB / 0.5219 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.17e-05/0.4387, allocations: 51.92 kB / 0.522 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000172/0.4389, allocations: 84.22 kB / 0.5221 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.317e-05/0.4389, allocations: 3.406 kB / 0.5221 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.4391, allocations: 46.47 kB / 0.5221 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.788e-05/0.4391, allocations: 24.06 kB / 0.5221 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.369e-05/0.4392, allocations: 35.45 kB / 0.5222 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002418/0.4394, allocations: 115.9 kB / 0.5223 GB, free: 1.988 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.4394, allocations: 1.031 kB / 0.5223 GB, free: 1.988 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4395, allocations: 0 / 0.5223 GB, free: 1.988 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.4395, allocations: 0 / 0.5223 GB, free: 1.988 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004878/0.44, allocations: 433.2 kB / 0.5227 GB, free: 1.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.44, allocations: 9.984 kB / 0.5227 GB, free: 1.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.299e-05/0.4401, allocations: 10.69 kB / 0.5227 GB, free: 1.566 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/0.4402, allocations: 205.3 kB / 0.5229 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.554e-06/0.4403, allocations: 1.406 kB / 0.5229 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.671e-05/0.4403, allocations: 6.969 kB / 0.5229 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.4404, allocations: 58.05 kB / 0.523 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.4405, allocations: 3.984 kB / 0.523 GB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.4405, allocations: 5.156 kB / 0.523 GB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.4405, allocations: 4 kB / 0.523 GB, free: 1.289 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.96e-05/0.4406, allocations: 27.06 kB / 0.523 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003875/0.441, allocations: 306 kB / 0.5233 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.879e-05/0.4411, allocations: 49.25 kB / 0.5234 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.879e-05/0.4412, allocations: 23.89 kB / 0.5234 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.4412, allocations: 4.609 kB / 0.5234 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.377e-05/0.4412, allocations: 32.58 kB / 0.5234 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.4412, allocations: 0 / 0.5234 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009528/0.4422, allocations: 244.2 kB / 0.5236 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.812e-05/0.4422, allocations: 53.28 kB / 0.5237 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002808/0.4425, allocations: 273.3 kB / 0.524 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.4425, allocations: 30.45 kB / 0.524 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.18e-05/0.4426, allocations: 115.2 kB / 0.5241 GB, free: 460 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/0.4426, allocations: 22.42 kB / 0.5241 GB, free: 444 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-05/0.4427, allocations: 19.95 kB / 0.5241 GB, free: 424 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.933e-05/0.4427, allocations: 328.7 kB / 0.5245 GB, free: 96 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.838e-05/0.4428, allocations: 34.2 kB / 0.5245 GB, free: 84 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.929e-05/0.4429, allocations: 30.52 kB / 0.5245 GB, free: 76 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001707/0.4431, allocations: 72.31 kB / 0.5246 GB, free: 48 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.4431, allocations: 0 / 0.5246 GB, free: 48 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002525/0.4434, allocations: 122.3 kB / 0.5247 GB, free: 15.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.4434, allocations: 8.953 kB / 0.5247 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.4434, allocations: 4 kB / 0.5247 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.4434, allocations: 3.938 kB / 0.5247 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.4435, allocations: 22.14 kB / 0.5247 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.4436, allocations: 7.875 kB / 0.5247 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.206e-05/0.4436, allocations: 5.875 kB / 0.5247 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.4436, allocations: 2.75 kB / 0.5248 GB, free: 15.96 MB / 398.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 (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 0.0001322/0.4438, allocations: 134.5 kB / 0.5249 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.033e-05/0.4438, allocations: 14.03 kB / 0.5249 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003218/0.4441, allocations: 134.6 kB / 0.525 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.4441, allocations: 0.6562 kB / 0.525 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.4442, allocations: 3.938 kB / 0.525 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.4442, allocations: 3.266 kB / 0.525 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006078/0.4448, allocations: 421.7 kB / 0.5254 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.4448, allocations: 4.594 kB / 0.5254 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.889e-05/0.4449, allocations: 28.11 kB / 0.5255 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.4449, allocations: 1.438 kB / 0.5255 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.4449, allocations: 2.125 kB / 0.5255 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.4449, allocations: 1.344 kB / 0.5255 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4449, allocations: 0 / 0.5255 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002953/0.4452, allocations: 215.5 kB / 0.5257 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.661e-05/0.4453, allocations: 93 kB / 0.5258 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.4453, allocations: 2.031 kB / 0.5258 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.873e-05/0.4454, allocations: 13.44 kB / 0.5258 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.693e-05/0.4455, allocations: 5.391 kB / 0.5258 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.4455, allocations: 7.141 kB / 0.5258 GB, free: 15.1 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002184/0.4457, allocations: 204.6 kB / 0.526 GB, free: 14.99 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4457, allocations: 1.219 kB / 0.526 GB, free: 14.99 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002728/0.446, allocations: 23.81 kB / 0.526 GB, free: 14.98 MB / 398.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: 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.001187/0.4472, allocations: 457.6 kB / 0.5264 GB, free: 14.77 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002678/0.4475, allocations: 86.91 kB / 0.5265 GB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.4475, allocations: 0 / 0.5265 GB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.825e-05/0.4476, allocations: 37.78 kB / 0.5266 GB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004184/0.448, allocations: 18.62 kB / 0.5266 GB, free: 14.72 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006661/0.4487, allocations: 335.9 kB / 0.5269 GB, free: 14.49 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00036/0.4491, allocations: 0.7177 MB / 0.5276 GB, free: 13.79 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.65e-05/0.4491, allocations: 19.38 kB / 0.5276 GB, free: 13.78 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4492, allocations: 0 / 0.5276 GB, free: 13.78 MB / 398.1 MB Notification: Performance of Templates: time 0.004653/0.4538, allocations: 1.894 MB / 0.5295 GB, free: 12.99 MB / 398.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches