Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.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.CombiTable2Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 113.2 kB / 17.78 MB, free: 5.277 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.001576/0.001576, allocations: 180.2 kB / 18.71 MB, free: 4.355 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.423/1.423, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2114/0.2114, allocations: 44.2 MB / 336.8 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 59.91 kB / 470.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4058/0.407, allocations: 60.82 MB / 0.5189 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test28): time 0.003128/0.4102, allocations: 1.65 MB / 0.5205 GB, free: 2.461 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000768/0.411, allocations: 419.2 kB / 0.5209 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.778e-05/0.411, allocations: 1.094 kB / 0.5209 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002721/0.4113, allocations: 53.69 kB / 0.521 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002446/0.4116, allocations: 59.64 kB / 0.5211 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00043/0.412, allocations: 133.2 kB / 0.5212 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001773/0.4122, allocations: 75.31 kB / 0.5213 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.4123, allocations: 27.7 kB / 0.5213 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.852e-05/0.4124, allocations: 31.83 kB / 0.5213 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.4125, allocations: 46.28 kB / 0.5214 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.4126, allocations: 7.281 kB / 0.5214 GB, free: 2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.4127, allocations: 47.7 kB / 0.5214 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.472e-05/0.4128, allocations: 20.31 kB / 0.5214 GB, free: 1.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.587e-05/0.4128, allocations: 35.55 kB / 0.5215 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002057/0.413, allocations: 106.2 kB / 0.5216 GB, free: 1.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.413, allocations: 1.031 kB / 0.5216 GB, free: 1.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.413, allocations: 4 kB / 0.5216 GB, free: 1.906 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.413, allocations: 0 / 0.5216 GB, free: 1.906 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.0004208/0.4135, allocations: 412.5 kB / 0.522 GB, free: 1.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.4135, allocations: 13.81 kB / 0.522 GB, free: 1.496 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.488e-05/0.4136, allocations: 12.97 kB / 0.522 GB, free: 1.488 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.4137, allocations: 199.5 kB / 0.5222 GB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.973e-06/0.4137, allocations: 5.812 kB / 0.5222 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.508e-05/0.4138, allocations: 15.02 kB / 0.5222 GB, free: 1.258 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.4139, allocations: 63.23 kB / 0.5223 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.4139, allocations: 1.719 kB / 0.5223 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.4139, allocations: 0 / 0.5223 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.414, allocations: 1.094 kB / 0.5223 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.4141, allocations: 36.34 kB / 0.5223 GB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003201/0.4144, allocations: 298.5 kB / 0.5226 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000215/0.4146, allocations: 62.05 kB / 0.5226 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.275e-05/0.4147, allocations: 24.36 kB / 0.5227 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.4148, allocations: 1.531 kB / 0.5227 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/0.4148, allocations: 36.53 kB / 0.5227 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.4148, allocations: 0 / 0.5227 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0014/0.4162, allocations: 390.2 kB / 0.5231 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.601e-05/0.4162, allocations: 52.41 kB / 0.5231 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.4164, allocations: 180.1 kB / 0.5233 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.4164, allocations: 25.7 kB / 0.5233 GB, free: 496 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.074e-05/0.4165, allocations: 108.7 kB / 0.5234 GB, free: 392 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.307e-05/0.4165, allocations: 38.72 kB / 0.5235 GB, free: 360 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.407e-05/0.4166, allocations: 34.42 kB / 0.5235 GB, free: 328 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.768e-05/0.4166, allocations: 322.3 kB / 0.5238 GB, free: 4 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/0.4168, allocations: 43.52 kB / 0.5238 GB, free: 15.99 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.4169, allocations: 40.8 kB / 0.5239 GB, free: 15.98 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000237/0.4172, allocations: 104.5 kB / 0.524 GB, free: 15.94 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.4172, allocations: 1.469 kB / 0.524 GB, free: 15.94 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000322/0.4175, allocations: 142.5 kB / 0.5241 GB, free: 15.87 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.4175, allocations: 4.781 kB / 0.5241 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.996e-06/0.4175, allocations: 4.969 kB / 0.5241 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.4176, allocations: 5 kB / 0.5241 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.4177, allocations: 29.2 kB / 0.5242 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.4177, allocations: 1.25 kB / 0.5242 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.051e-05/0.4178, allocations: 12.61 kB / 0.5242 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.4178, allocations: 3.469 kB / 0.5242 GB, free: 15.86 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.0001079/0.4179, allocations: 129.4 kB / 0.5243 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.37e-05/0.4179, allocations: 9.797 kB / 0.5243 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003944/0.4183, allocations: 164.5 kB / 0.5245 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.4184, allocations: 1.438 kB / 0.5245 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.4184, allocations: 1.469 kB / 0.5245 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.4184, allocations: 0.6562 kB / 0.5245 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006923/0.4191, allocations: 477.6 kB / 0.5249 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.4191, allocations: 5.406 kB / 0.5249 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.989e-05/0.4192, allocations: 32.52 kB / 0.525 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.4192, allocations: 1.469 kB / 0.525 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.4192, allocations: 2.297 kB / 0.525 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4192, allocations: 1.469 kB / 0.525 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.4192, allocations: 1.375 kB / 0.525 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003379/0.4196, allocations: 245.4 kB / 0.5252 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.094e-05/0.4196, allocations: 93.25 kB / 0.5253 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.4196, allocations: 2.578 kB / 0.5253 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.702e-05/0.4197, allocations: 8.531 kB / 0.5253 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.903e-05/0.4198, allocations: 17.02 kB / 0.5253 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/0.4198, allocations: 8.172 kB / 0.5253 GB, free: 14.95 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001017/0.4199, allocations: 142.7 kB / 0.5255 GB, free: 14.86 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.593e-06/0.4199, allocations: 0 / 0.5255 GB, free: 14.86 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002509/0.4202, allocations: 29.5 kB / 0.5255 GB, free: 14.85 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.0009526/0.4211, allocations: 464.8 kB / 0.5259 GB, free: 14.63 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003042/0.4215, allocations: 107.5 kB / 0.526 GB, free: 14.6 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4215, allocations: 1.375 kB / 0.526 GB, free: 14.6 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001394/0.4216, allocations: 63.11 kB / 0.5261 GB, free: 14.58 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003625/0.422, allocations: 20.81 kB / 0.5261 GB, free: 14.58 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004991/0.4225, allocations: 265.8 kB / 0.5264 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.4228, allocations: 0.7138 MB / 0.5271 GB, free: 13.68 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.527e-05/0.4229, allocations: 13.84 kB / 0.5271 GB, free: 13.68 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.99e-05/0.4229, allocations: 14.97 kB / 0.5271 GB, free: 13.67 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4229, allocations: 0 / 0.5271 GB, free: 13.67 MB / 398.1 MB Notification: Performance of Templates: time 0.004775/0.4277, allocations: 1.547 MB / 0.5286 GB, free: 13.06 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches