Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.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.CombiTable2Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 111.8 kB / 18.45 MB, free: 4.578 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.001053/0.001053, allocations: 182.3 kB / 19.38 MB, free: 3.664 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.351/1.351, 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.2148/0.2148, allocations: 44.18 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 67.91 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4131/0.4143, allocations: 60.82 MB / 0.5196 GB, free: 3.641 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test26): time 0.002973/0.4174, allocations: 1.647 MB / 0.5212 GB, free: 2.496 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000803/0.4182, allocations: 451.1 kB / 0.5216 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.518e-05/0.4183, allocations: 1.344 kB / 0.5216 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002827/0.4185, allocations: 65.41 kB / 0.5217 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000217/0.4188, allocations: 51.7 kB / 0.5217 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004291/0.4192, allocations: 176 kB / 0.5219 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.4194, allocations: 79.2 kB / 0.522 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.4195, allocations: 28.59 kB / 0.522 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.594e-05/0.4196, allocations: 32.52 kB / 0.522 GB, free: 2.012 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.4197, allocations: 41.12 kB / 0.5221 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.4197, allocations: 4.75 kB / 0.5221 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001165/0.4199, allocations: 51.72 kB / 0.5221 GB, free: 1.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.659e-05/0.4199, allocations: 21.38 kB / 0.5222 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.27e-05/0.42, allocations: 27.33 kB / 0.5222 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002095/0.4202, allocations: 111.4 kB / 0.5223 GB, free: 1.902 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.4202, allocations: 0 / 0.5223 GB, free: 1.902 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.4202, allocations: 1.312 kB / 0.5223 GB, free: 1.902 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.4203, allocations: 0 / 0.5223 GB, free: 1.902 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004571/0.4207, allocations: 414.7 kB / 0.5227 GB, free: 1.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.4208, allocations: 8.969 kB / 0.5227 GB, free: 1.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.222e-05/0.4208, allocations: 9.969 kB / 0.5227 GB, free: 1.496 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001621/0.421, allocations: 203.7 kB / 0.5229 GB, free: 1.277 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.421, allocations: 5.812 kB / 0.5229 GB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.981e-05/0.421, allocations: 11.25 kB / 0.5229 GB, free: 1.266 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.4212, allocations: 63.97 kB / 0.523 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.4212, allocations: 0 / 0.523 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.4213, allocations: 4 kB / 0.523 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.966e-06/0.4213, allocations: 1.219 kB / 0.523 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001486/0.4214, allocations: 43.2 kB / 0.523 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004267/0.4219, allocations: 321.6 kB / 0.5233 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002453/0.4221, allocations: 59.69 kB / 0.5234 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.199e-05/0.4222, allocations: 27.12 kB / 0.5234 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.4222, allocations: 5.156 kB / 0.5234 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.538e-05/0.4223, allocations: 32.2 kB / 0.5234 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.4223, allocations: 4 kB / 0.5234 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001443/0.4237, allocations: 421.7 kB / 0.5238 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/0.4237, allocations: 53.78 kB / 0.5239 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.4239, allocations: 177.8 kB / 0.5241 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.4239, allocations: 31.17 kB / 0.5241 GB, free: 480 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.26e-05/0.424, allocations: 104 kB / 0.5242 GB, free: 380 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.424, allocations: 42.09 kB / 0.5242 GB, free: 344 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.353e-05/0.4241, allocations: 24.09 kB / 0.5243 GB, free: 324 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.818e-05/0.4242, allocations: 325.6 kB / 0.5246 GB, free: 16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/0.4243, allocations: 51.91 kB / 0.5246 GB, free: 15.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.4244, allocations: 51.97 kB / 0.5247 GB, free: 15.97 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002983/0.4248, allocations: 131.8 kB / 0.5248 GB, free: 15.92 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.4248, allocations: 0 / 0.5248 GB, free: 15.92 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003668/0.4251, allocations: 166.3 kB / 0.525 GB, free: 15.85 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.4252, allocations: 3.688 kB / 0.525 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.4252, allocations: 6 kB / 0.525 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.4252, allocations: 4.656 kB / 0.525 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.4253, allocations: 24.08 kB / 0.525 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.4254, allocations: 5.797 kB / 0.525 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.461e-05/0.4254, allocations: 12.38 kB / 0.525 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.4254, allocations: 3.656 kB / 0.525 GB, free: 15.83 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 (11): * Single equations (assignments): 11 * 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.000156/0.4256, allocations: 127.1 kB / 0.5251 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.275e-05/0.4257, allocations: 10.45 kB / 0.5251 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005344/0.4262, allocations: 198.6 kB / 0.5253 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.4262, allocations: 1.5 kB / 0.5253 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.371e-06/0.4262, allocations: 0 / 0.5253 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.4262, allocations: 1.406 kB / 0.5253 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008745/0.4271, allocations: 0.4937 MB / 0.5258 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.4271, allocations: 2.375 kB / 0.5258 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.4272, allocations: 28.42 kB / 0.5258 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.4273, allocations: 5.531 kB / 0.5259 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.4273, allocations: 1.625 kB / 0.5259 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.4273, allocations: 2.312 kB / 0.5259 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.4273, allocations: 1.75 kB / 0.5259 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004649/0.4278, allocations: 274.7 kB / 0.5261 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.515e-05/0.4278, allocations: 84.42 kB / 0.5262 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.4279, allocations: 9.828 kB / 0.5262 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.727e-05/0.428, allocations: 14.58 kB / 0.5262 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.216e-05/0.4281, allocations: 12.73 kB / 0.5262 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.4281, allocations: 7.547 kB / 0.5262 GB, free: 14.9 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000152/0.4282, allocations: 136.7 kB / 0.5264 GB, free: 14.81 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4282, allocations: 0 / 0.5264 GB, free: 14.81 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002786/0.4285, allocations: 28.56 kB / 0.5264 GB, free: 14.8 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001225/0.4298, allocations: 453.7 kB / 0.5268 GB, free: 14.6 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004106/0.4302, allocations: 135.1 kB / 0.527 GB, free: 14.56 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.4302, allocations: 0 / 0.527 GB, free: 14.56 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001675/0.4304, allocations: 74.36 kB / 0.527 GB, free: 14.54 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003729/0.4307, allocations: 15.69 kB / 0.527 GB, free: 14.53 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006059/0.4314, allocations: 322.8 kB / 0.5274 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/0.4317, allocations: 0.7164 MB / 0.5281 GB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.148e-05/0.4318, allocations: 23.8 kB / 0.5281 GB, free: 13.57 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4318, allocations: 0 / 0.5281 GB, free: 13.57 MB / 398.1 MB Notification: Performance of Templates: time 0.004338/0.4361, allocations: 2.001 MB / 0.53 GB, free: 12.66 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches