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.001202/0.001202, allocations: 117.2 kB / 17.78 MB, free: 5.254 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.001298/0.001298, allocations: 185 kB / 18.72 MB, free: 4.332 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.377/1.377, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2299/0.2299, allocations: 44.2 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 63.91 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4125/0.4139, allocations: 60.81 MB / 0.5189 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test26): time 0.002922/0.4168, allocations: 1.658 MB / 0.5206 GB, free: 2.477 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007629/0.4176, allocations: 444.8 kB / 0.521 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.135e-05/0.4177, allocations: 5.094 kB / 0.521 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000272/0.4179, allocations: 61.97 kB / 0.521 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002041/0.4181, allocations: 60.67 kB / 0.5211 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003929/0.4185, allocations: 167.7 kB / 0.5213 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001731/0.4187, allocations: 83.14 kB / 0.5213 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.4188, allocations: 22.05 kB / 0.5214 GB, free: 2.012 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.569e-05/0.4189, allocations: 31.08 kB / 0.5214 GB, free: 2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.419, allocations: 42.5 kB / 0.5214 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.419, allocations: 3.75 kB / 0.5214 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.4191, allocations: 56.53 kB / 0.5215 GB, free: 1.965 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.763e-05/0.4192, allocations: 21.17 kB / 0.5215 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.94e-05/0.4192, allocations: 27.61 kB / 0.5215 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002179/0.4195, allocations: 111.4 kB / 0.5216 GB, free: 1.891 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.4195, allocations: 3.938 kB / 0.5216 GB, free: 1.887 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.4195, allocations: 1.062 kB / 0.5216 GB, free: 1.887 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.4195, allocations: 4 kB / 0.5216 GB, free: 1.883 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.0004628/0.4199, allocations: 407.9 kB / 0.522 GB, free: 1.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.42, allocations: 10.03 kB / 0.522 GB, free: 1.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.888e-05/0.42, allocations: 21.84 kB / 0.5221 GB, free: 1.465 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.4202, allocations: 195 kB / 0.5223 GB, free: 1.254 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.4202, allocations: 1.188 kB / 0.5223 GB, free: 1.254 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.802e-05/0.4202, allocations: 11.05 kB / 0.5223 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.4204, allocations: 66.8 kB / 0.5223 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.4204, allocations: 1 kB / 0.5223 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.4204, allocations: 4 kB / 0.5223 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.4204, allocations: 1.656 kB / 0.5223 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001554/0.4206, allocations: 46.08 kB / 0.5224 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004066/0.421, allocations: 310.8 kB / 0.5227 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002509/0.4213, allocations: 62.02 kB / 0.5227 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.938e-05/0.4213, allocations: 26.31 kB / 0.5228 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.4214, allocations: 1.156 kB / 0.5228 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.459e-05/0.4214, allocations: 32.48 kB / 0.5228 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.4214, allocations: 0 / 0.5228 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001456/0.4228, allocations: 430.1 kB / 0.5232 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.032e-05/0.4228, allocations: 52.94 kB / 0.5233 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.423, allocations: 177.5 kB / 0.5234 GB, free: 496 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.423, allocations: 34.7 kB / 0.5235 GB, free: 456 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.8e-05/0.4231, allocations: 103.3 kB / 0.5236 GB, free: 356 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.222e-05/0.4231, allocations: 40.91 kB / 0.5236 GB, free: 324 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.649e-05/0.4231, allocations: 26.77 kB / 0.5236 GB, free: 300 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.565e-05/0.4232, allocations: 325.6 kB / 0.5239 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.4234, allocations: 51.83 kB / 0.524 GB, free: 15.96 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.4235, allocations: 53.39 kB / 0.524 GB, free: 15.95 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002786/0.4238, allocations: 126.4 kB / 0.5241 GB, free: 15.9 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.4238, allocations: 3.938 kB / 0.5242 GB, free: 15.9 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003716/0.4242, allocations: 162.3 kB / 0.5243 GB, free: 15.83 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.4242, allocations: 4.031 kB / 0.5243 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.4242, allocations: 5 kB / 0.5243 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.4242, allocations: 0.6562 kB / 0.5243 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.4243, allocations: 37.81 kB / 0.5244 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.4243, allocations: 0.7969 kB / 0.5244 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.32e-05/0.4244, allocations: 12.36 kB / 0.5244 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.4244, allocations: 8.609 kB / 0.5244 GB, free: 15.8 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.0001108/0.4245, allocations: 126.2 kB / 0.5245 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.841e-05/0.4246, allocations: 11.25 kB / 0.5245 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004429/0.425, allocations: 193 kB / 0.5247 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.425, allocations: 1.188 kB / 0.5247 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.425, allocations: 2.453 kB / 0.5247 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.425, allocations: 4.5 kB / 0.5247 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007424/0.4258, allocations: 0.4943 MB / 0.5252 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.4258, allocations: 1.375 kB / 0.5252 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.4259, allocations: 30.11 kB / 0.5252 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.4259, allocations: 1.375 kB / 0.5252 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.4259, allocations: 2.312 kB / 0.5252 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.4259, allocations: 1.375 kB / 0.5252 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.4259, allocations: 1.375 kB / 0.5252 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003733/0.4263, allocations: 278.4 kB / 0.5255 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.861e-05/0.4263, allocations: 88.38 kB / 0.5256 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.4263, allocations: 7.453 kB / 0.5256 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.193e-05/0.4264, allocations: 8.828 kB / 0.5256 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.625e-05/0.4265, allocations: 12.73 kB / 0.5256 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.4265, allocations: 7.453 kB / 0.5256 GB, free: 14.88 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001057/0.4266, allocations: 137.3 kB / 0.5257 GB, free: 14.79 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4266, allocations: 0 / 0.5257 GB, free: 14.79 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000276/0.4269, allocations: 26.72 kB / 0.5258 GB, free: 14.78 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.00108/0.4279, allocations: 469.2 kB / 0.5262 GB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003564/0.4283, allocations: 114.2 kB / 0.5263 GB, free: 14.53 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.4283, allocations: 1.219 kB / 0.5263 GB, free: 14.53 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001697/0.4285, allocations: 72.2 kB / 0.5264 GB, free: 14.51 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/0.4288, allocations: 24.42 kB / 0.5264 GB, free: 14.5 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005533/0.4294, allocations: 284.5 kB / 0.5267 GB, free: 14.3 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/0.4297, allocations: 0.7185 MB / 0.5274 GB, free: 13.6 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.086e-05/0.4298, allocations: 29.58 kB / 0.5274 GB, free: 13.6 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.343e-05/0.4298, allocations: 16.23 kB / 0.5274 GB, free: 13.59 MB / 398.1 MB Notification: Performance of SimCode: time 3.9e-07/0.4298, allocations: 0 / 0.5274 GB, free: 13.59 MB / 398.1 MB Notification: Performance of Templates: time 0.004436/0.4342, allocations: 1.63 MB / 0.529 GB, free: 12.87 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test26/Test26.csv","/var/lib/jenkins/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