Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001283, allocations: 113.8 kB / 17.78 MB, free: 5.285 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.00147/0.001471, allocations: 179.1 kB / 18.71 MB, free: 4.367 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.542/1.542, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2402/0.2402, allocations: 44.18 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001446, allocations: 59.91 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4342/0.4356, allocations: 60.83 MB / 0.5189 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.003557/0.4393, allocations: 1.584 MB / 0.5205 GB, free: 2.508 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000812/0.4401, allocations: 413.8 kB / 0.5209 GB, free: 2.238 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.106e-05/0.4402, allocations: 1.188 kB / 0.5209 GB, free: 2.238 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003614/0.4406, allocations: 69.31 kB / 0.5209 GB, free: 2.223 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002564/0.4408, allocations: 65.33 kB / 0.521 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003496/0.4412, allocations: 111.4 kB / 0.5211 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001992/0.4414, allocations: 73.42 kB / 0.5212 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.4415, allocations: 14.14 kB / 0.5212 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.39e-05/0.4416, allocations: 32.02 kB / 0.5212 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000135/0.4418, allocations: 52.38 kB / 0.5213 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.4418, allocations: 2.875 kB / 0.5213 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.4419, allocations: 38.89 kB / 0.5213 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.122e-05/0.442, allocations: 22.81 kB / 0.5213 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.793e-05/0.442, allocations: 30.38 kB / 0.5214 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000227/0.4423, allocations: 98.27 kB / 0.5215 GB, free: 1.988 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.4423, allocations: 1.25 kB / 0.5215 GB, free: 1.988 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.4423, allocations: 0 / 0.5215 GB, free: 1.988 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.994e-06/0.4423, allocations: 0 / 0.5215 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.0005278/0.4428, allocations: 403.7 kB / 0.5218 GB, free: 1.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.4429, allocations: 9.766 kB / 0.5219 GB, free: 1.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.188e-05/0.443, allocations: 9.812 kB / 0.5219 GB, free: 1.586 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001873/0.4431, allocations: 197.5 kB / 0.522 GB, free: 1.371 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.4432, allocations: 5.812 kB / 0.5221 GB, free: 1.367 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.063e-05/0.4432, allocations: 5.844 kB / 0.5221 GB, free: 1.363 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.4434, allocations: 54.55 kB / 0.5221 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.4434, allocations: 0 / 0.5221 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.4434, allocations: 4.656 kB / 0.5221 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.4434, allocations: 1.469 kB / 0.5221 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.4435, allocations: 29.84 kB / 0.5221 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004121/0.444, allocations: 304 kB / 0.5224 GB, free: 1.016 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.4441, allocations: 44.42 kB / 0.5225 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.475e-05/0.4441, allocations: 16.84 kB / 0.5225 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.4442, allocations: 0 / 0.5225 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.4442, allocations: 39.66 kB / 0.5225 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.4442, allocations: 4.688 kB / 0.5225 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009673/0.4452, allocations: 231 kB / 0.5228 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.4452, allocations: 60.78 kB / 0.5228 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001958/0.4454, allocations: 193.7 kB / 0.523 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.4454, allocations: 27.17 kB / 0.523 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.918e-05/0.4455, allocations: 103.4 kB / 0.5231 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.944e-05/0.4455, allocations: 26.17 kB / 0.5231 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.4456, allocations: 24.42 kB / 0.5232 GB, free: 480 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.51e-05/0.4457, allocations: 321.5 kB / 0.5235 GB, free: 156 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.4458, allocations: 39.25 kB / 0.5235 GB, free: 140 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.14e-05/0.4458, allocations: 29.95 kB / 0.5235 GB, free: 132 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/0.446, allocations: 77.53 kB / 0.5236 GB, free: 100 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.446, allocations: 0 / 0.5236 GB, free: 100 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002257/0.4463, allocations: 108.4 kB / 0.5237 GB, free: 44 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.4463, allocations: 10.31 kB / 0.5237 GB, free: 40 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.4463, allocations: 0 / 0.5237 GB, free: 40 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.4463, allocations: 4.656 kB / 0.5237 GB, free: 36 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.4464, allocations: 18.39 kB / 0.5238 GB, free: 36 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.4464, allocations: 3.938 kB / 0.5238 GB, free: 32 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.122e-05/0.4465, allocations: 8.75 kB / 0.5238 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.4465, allocations: 7.562 kB / 0.5238 GB, free: 24 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 (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.0001313/0.4466, allocations: 119.8 kB / 0.5239 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.695e-05/0.4467, allocations: 9.141 kB / 0.5239 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003046/0.447, allocations: 135.3 kB / 0.524 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.447, allocations: 1.25 kB / 0.524 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-06/0.447, allocations: 3.938 kB / 0.524 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.447, allocations: 0.7031 kB / 0.524 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000597/0.4476, allocations: 415.4 kB / 0.5244 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.4476, allocations: 0.5625 kB / 0.5244 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.234e-05/0.4477, allocations: 20.36 kB / 0.5244 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.4477, allocations: 6.141 kB / 0.5245 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.4477, allocations: 1.5 kB / 0.5245 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4478, allocations: 0 / 0.5245 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.4478, allocations: 6.062 kB / 0.5245 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002832/0.448, allocations: 212.7 kB / 0.5247 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.145e-05/0.4481, allocations: 93.56 kB / 0.5248 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.4481, allocations: 1.281 kB / 0.5248 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.479e-05/0.4482, allocations: 8.609 kB / 0.5248 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.158e-05/0.4483, allocations: 7.031 kB / 0.5248 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.4483, allocations: 1.312 kB / 0.5248 GB, free: 15.18 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001416/0.4484, allocations: 148.1 kB / 0.5249 GB, free: 15.09 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4484, allocations: 0 / 0.5249 GB, free: 15.09 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002659/0.4487, allocations: 27.59 kB / 0.5249 GB, free: 15.08 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.001108/0.4498, allocations: 461.5 kB / 0.5254 GB, free: 14.87 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000259/0.4501, allocations: 76.33 kB / 0.5255 GB, free: 14.85 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4501, allocations: 4 kB / 0.5255 GB, free: 14.84 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.4502, allocations: 41.59 kB / 0.5255 GB, free: 14.83 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/0.4506, allocations: 31.42 kB / 0.5255 GB, free: 14.82 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005134/0.4511, allocations: 241.3 kB / 0.5258 GB, free: 14.64 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.4514, allocations: 0.7075 MB / 0.5264 GB, free: 13.95 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.873e-05/0.4515, allocations: 20.27 kB / 0.5265 GB, free: 13.94 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.529e-05/0.4515, allocations: 14.42 kB / 0.5265 GB, free: 13.93 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4515, allocations: 0 / 0.5265 GB, free: 13.93 MB / 398.1 MB Notification: Performance of Templates: time 0.004198/0.4557, allocations: 1.367 MB / 0.5278 GB, free: 13.51 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches