Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000993/0.0009931, allocations: 118.4 kB / 17.78 MB, free: 5.258 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.0009455/0.0009455, allocations: 183.8 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.232/1.232, 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.1888/0.1888, allocations: 44.19 MB / 336.8 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 67.89 kB / 470.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3025, allocations: 60.81 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001383/0.3039, allocations: 0.511 MB / 0.5194 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001287/0.3052, allocations: 1.351 MB / 0.5207 GB, free: 2.332 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.162e-05/0.3052, allocations: 4 kB / 0.5207 GB, free: 2.328 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.41e-05/0.3052, allocations: 0 / 0.5207 GB, free: 2.328 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.962e-05/0.3053, allocations: 1 kB / 0.5207 GB, free: 2.328 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000593/0.3059, allocations: 219.8 kB / 0.5209 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.265e-05/0.3059, allocations: 9.906 kB / 0.5209 GB, free: 2.254 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.071e-05/0.306, allocations: 1.906 kB / 0.5209 GB, free: 2.254 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.81e-05/0.306, allocations: 6.875 kB / 0.5209 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.389e-05/0.306, allocations: 2.734 kB / 0.5209 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.306, allocations: 1.188 kB / 0.5209 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004411/0.3065, allocations: 274.8 kB / 0.5212 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.207e-05/0.3065, allocations: 8.594 kB / 0.5212 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.71e-05/0.3065, allocations: 2.609 kB / 0.5212 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002206/0.3068, allocations: 144.6 kB / 0.5213 GB, free: 2.141 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3068, allocations: 0 / 0.5213 GB, free: 2.141 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3068, allocations: 0 / 0.5213 GB, free: 2.141 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.3068, allocations: 1.062 kB / 0.5213 GB, free: 2.141 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002638/0.307, allocations: 330.5 kB / 0.5217 GB, free: 1.785 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.3071, allocations: 9.359 kB / 0.5217 GB, free: 1.785 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.894e-05/0.3071, allocations: 1.906 kB / 0.5217 GB, free: 1.785 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.164e-05/0.3072, allocations: 171.4 kB / 0.5218 GB, free: 1.582 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.3072, allocations: 4.375 kB / 0.5218 GB, free: 1.578 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.653e-06/0.3072, allocations: 1.219 kB / 0.5218 GB, free: 1.578 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.457e-05/0.3073, allocations: 38.73 kB / 0.5219 GB, free: 1.539 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.3073, allocations: 0 / 0.5219 GB, free: 1.539 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-06/0.3073, allocations: 5.906 kB / 0.5219 GB, free: 1.535 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.3073, allocations: 0 / 0.5219 GB, free: 1.535 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.85e-05/0.3074, allocations: 2.312 kB / 0.5219 GB, free: 1.535 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001021/0.3075, allocations: 146.8 kB / 0.522 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.253e-05/0.3075, allocations: 28.95 kB / 0.522 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.611e-05/0.3075, allocations: 6.75 kB / 0.522 GB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.826e-06/0.3075, allocations: 1.062 kB / 0.5221 GB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.635e-05/0.3076, allocations: 36.56 kB / 0.5221 GB, free: 1.262 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.21e-07/0.3076, allocations: 0 / 0.5221 GB, free: 1.262 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001095/0.3077, allocations: 37 kB / 0.5221 GB, free: 1.227 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.992e-05/0.3077, allocations: 52.94 kB / 0.5222 GB, free: 1.164 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.279e-05/0.3078, allocations: 101.7 kB / 0.5223 GB, free: 1.059 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.422e-06/0.3078, allocations: 25.7 kB / 0.5223 GB, free: 1.027 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.216e-05/0.3078, allocations: 81.97 kB / 0.5224 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.826e-05/0.3078, allocations: 5.594 kB / 0.5224 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.396e-05/0.3078, allocations: 11.64 kB / 0.5224 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.563e-05/0.3079, allocations: 316.9 kB / 0.5227 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.003e-05/0.3079, allocations: 1.438 kB / 0.5227 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.484e-06/0.3079, allocations: 6.188 kB / 0.5227 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.086e-05/0.3079, allocations: 12.05 kB / 0.5227 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.3079, allocations: 0 / 0.5227 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.528e-05/0.308, allocations: 38 kB / 0.5227 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.308, allocations: 9.516 kB / 0.5228 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.308, allocations: 0.9688 kB / 0.5228 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.308, allocations: 0 / 0.5228 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.174e-05/0.3081, allocations: 3.297 kB / 0.5228 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.3081, allocations: 0 / 0.5228 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.321e-05/0.3081, allocations: 8.781 kB / 0.5228 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.3081, allocations: 1.312 kB / 0.5228 GB, free: 0.5469 MB / 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 (1): * Single equations (assignments): 1 * 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 3.966e-05/0.3082, allocations: 112 kB / 0.5229 GB, free: 440 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.248e-06/0.3082, allocations: 9.234 kB / 0.5229 GB, free: 432 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.265e-05/0.3083, allocations: 47.69 kB / 0.5229 GB, free: 388 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.3083, allocations: 5.156 kB / 0.5229 GB, free: 384 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.3083, allocations: 0.75 kB / 0.5229 GB, free: 384 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-06/0.3083, allocations: 0 / 0.5229 GB, free: 384 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.555e-05/0.3084, allocations: 150.8 kB / 0.5231 GB, free: 188 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.3084, allocations: 2.297 kB / 0.5231 GB, free: 188 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.61e-07/0.3084, allocations: 0 / 0.5231 GB, free: 188 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3084, allocations: 3.938 kB / 0.5231 GB, free: 184 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.059e-06/0.3084, allocations: 1.125 kB / 0.5231 GB, free: 184 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.3084, allocations: 1.75 kB / 0.5231 GB, free: 184 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.3084, allocations: 0 / 0.5231 GB, free: 184 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.23e-05/0.3085, allocations: 63.83 kB / 0.5231 GB, free: 112 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.256e-05/0.3085, allocations: 85.64 kB / 0.5232 GB, free: 8 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.042e-05/0.3085, allocations: 5.781 kB / 0.5232 GB, free: 4 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.032e-05/0.3086, allocations: 3.031 kB / 0.5232 GB, free: 4 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.103e-05/0.3086, allocations: 4.547 kB / 0.5232 GB, free: 0 / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.3086, allocations: 1.094 kB / 0.5232 GB, free: 0 / 382.1 MB Notification: Performance of sorting global known variables: time 4.671e-05/0.3086, allocations: 78.8 kB / 0.5233 GB, free: 15.93 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.432e-06/0.3086, allocations: 4.125 kB / 0.5233 GB, free: 15.92 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002285/0.3089, allocations: 43.09 kB / 0.5234 GB, free: 15.91 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002375/0.3091, allocations: 136.5 kB / 0.5235 GB, free: 15.82 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 6.404e-05/0.3092, allocations: 5.219 kB / 0.5235 GB, free: 15.82 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3092, allocations: 0 / 0.5235 GB, free: 15.82 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.789e-05/0.3092, allocations: 29.75 kB / 0.5235 GB, free: 15.79 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/0.3094, allocations: 1.875 kB / 0.5235 GB, free: 15.79 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001793/0.3096, allocations: 92.89 kB / 0.5236 GB, free: 15.68 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002142/0.3098, allocations: 0.6766 MB / 0.5243 GB, free: 14.98 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.469e-05/0.3098, allocations: 1.859 kB / 0.5243 GB, free: 14.98 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.258e-05/0.3098, allocations: 8.656 kB / 0.5243 GB, free: 14.97 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3098, allocations: 0 / 0.5243 GB, free: 14.97 MB / 398.1 MB Notification: Performance of Templates: time 0.003079/0.3129, allocations: 1.066 MB / 0.5253 GB, free: 14.86 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches