Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 108.7 kB / 18.44 MB, free: 4.727 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.00109/0.00109, allocations: 185.2 kB / 19.37 MB, free: 3.805 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.348/1.348, allocations: 222.9 MB / 243.1 MB, free: 15.14 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.2111/0.2111, allocations: 44.18 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 67.91 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4111/0.4123, allocations: 60.81 MB / 0.5196 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.003153/0.4155, allocations: 1.593 MB / 0.5211 GB, free: 2.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000785/0.4164, allocations: 431.1 kB / 0.5215 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.337e-05/0.4164, allocations: 1.25 kB / 0.5215 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007622/0.4172, allocations: 451 kB / 0.522 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004865/0.4177, allocations: 256.2 kB / 0.5222 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005425/0.4183, allocations: 164.6 kB / 0.5224 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003234/0.4186, allocations: 159.2 kB / 0.5225 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.4188, allocations: 12.97 kB / 0.5225 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.4189, allocations: 109.7 kB / 0.5226 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003048/0.4192, allocations: 206.4 kB / 0.5228 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.71e-05/0.4193, allocations: 2.719 kB / 0.5228 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.538e-05/0.4194, allocations: 27.3 kB / 0.5228 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001213/0.4195, allocations: 79.2 kB / 0.5229 GB, free: 2.008 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.898e-05/0.4196, allocations: 98.41 kB / 0.523 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003452/0.4199, allocations: 247.9 kB / 0.5233 GB, free: 1.816 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.4199, allocations: 4 kB / 0.5233 GB, free: 1.812 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.42, allocations: 0 / 0.5233 GB, free: 1.812 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.645e-06/0.42, allocations: 0 / 0.5233 GB, free: 1.812 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000643/0.4206, allocations: 0.6144 MB / 0.5239 GB, free: 1.273 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.4207, allocations: 9.5 kB / 0.5239 GB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.586e-05/0.4207, allocations: 42.06 kB / 0.5239 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002389/0.421, allocations: 290.9 kB / 0.5242 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.893e-06/0.421, allocations: 384 / 0.5242 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.421, allocations: 10.12 kB / 0.5242 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.4212, allocations: 54.36 kB / 0.5242 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.4212, allocations: 3.938 kB / 0.5242 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.4212, allocations: 1.812 kB / 0.5242 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.4212, allocations: 0 / 0.5242 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.991e-05/0.4213, allocations: 27.66 kB / 0.5243 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004649/0.4218, allocations: 387.4 kB / 0.5246 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.182e-05/0.4219, allocations: 38.72 kB / 0.5247 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.768e-05/0.4219, allocations: 14.86 kB / 0.5247 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.4219, allocations: 9.609 kB / 0.5247 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.448e-05/0.422, allocations: 31.36 kB / 0.5247 GB, free: 0.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.153e-06/0.422, allocations: 0 / 0.5247 GB, free: 0.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002562/0.4222, allocations: 99.42 kB / 0.5248 GB, free: 452 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.464e-05/0.4223, allocations: 55.53 kB / 0.5249 GB, free: 384 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009143/0.4232, allocations: 0.8648 MB / 0.5257 GB, free: 52 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.4232, allocations: 25.7 kB / 0.5258 GB, free: 20 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002084/0.4234, allocations: 223.2 kB / 0.526 GB, free: 15.84 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.917e-05/0.4234, allocations: 6.5 kB / 0.526 GB, free: 15.84 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.455e-05/0.4235, allocations: 11.94 kB / 0.526 GB, free: 15.82 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.4237, allocations: 364.3 kB / 0.5263 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.039e-05/0.4237, allocations: 12.5 kB / 0.5263 GB, free: 15.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.022e-05/0.4238, allocations: 17.78 kB / 0.5264 GB, free: 15.47 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.273e-05/0.4238, allocations: 26.86 kB / 0.5264 GB, free: 15.46 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.4239, allocations: 0 / 0.5264 GB, free: 15.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001662/0.424, allocations: 95.14 kB / 0.5265 GB, free: 15.4 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.4241, allocations: 4.844 kB / 0.5265 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.4241, allocations: 0 / 0.5265 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.4241, allocations: 1.188 kB / 0.5265 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.78e-05/0.4242, allocations: 8.281 kB / 0.5265 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.4242, allocations: 0 / 0.5265 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.436e-05/0.4242, allocations: 1.969 kB / 0.5265 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.4242, allocations: 1.25 kB / 0.5265 GB, free: 15.39 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 (2): * Single equations (assignments): 2 * 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.0001931/0.4244, allocations: 217.2 kB / 0.5267 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.744e-05/0.4245, allocations: 42.31 kB / 0.5267 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002105/0.4247, allocations: 108.4 kB / 0.5268 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.279e-06/0.4247, allocations: 8.016 kB / 0.5269 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.4248, allocations: 1.375 kB / 0.5269 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.4248, allocations: 0 / 0.5269 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002963/0.4251, allocations: 286.2 kB / 0.5271 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.4251, allocations: 1.375 kB / 0.5271 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.42e-05/0.4251, allocations: 8.109 kB / 0.5271 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.257e-06/0.4251, allocations: 0 / 0.5271 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.4251, allocations: 5.312 kB / 0.5271 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.4251, allocations: 0 / 0.5271 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.4252, allocations: 3.938 kB / 0.5271 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001889/0.4253, allocations: 193.3 kB / 0.5273 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.934e-05/0.4254, allocations: 110.3 kB / 0.5274 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.481e-05/0.4255, allocations: 0 / 0.5274 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.949e-05/0.4255, allocations: 1.375 kB / 0.5274 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.293e-05/0.4256, allocations: 1.375 kB / 0.5274 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.4256, allocations: 1.375 kB / 0.5274 GB, free: 14.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006383/0.4262, allocations: 0.6554 MB / 0.5281 GB, free: 14.25 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4262, allocations: 0 / 0.5281 GB, free: 14.25 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002529/0.4265, allocations: 15 kB / 0.5281 GB, free: 14.25 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.000849/0.4274, allocations: 343.9 kB / 0.5284 GB, free: 14.07 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00015/0.4275, allocations: 27.48 kB / 0.5284 GB, free: 14.06 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4275, allocations: 0 / 0.5284 GB, free: 14.06 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.893e-05/0.4276, allocations: 16.92 kB / 0.5285 GB, free: 14.05 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004179/0.428, allocations: 23.19 kB / 0.5285 GB, free: 14.05 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.4292, allocations: 0.7991 MB / 0.5293 GB, free: 13.6 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004314/0.4297, allocations: 0.821 MB / 0.5301 GB, free: 12.84 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.312e-05/0.4297, allocations: 14.91 kB / 0.5301 GB, free: 12.82 MB / 398.1 MB Notification: Performance of SimCode: time 3.606e-06/0.4297, allocations: 0 / 0.5301 GB, free: 12.82 MB / 398.1 MB Notification: Performance of Templates: time 0.007439/0.4372, allocations: 3.476 MB / 0.5335 GB, free: 10.98 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches