Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 113.7 kB / 18.46 MB, free: 4.617 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.001229/0.00123, allocations: 187.1 kB / 19.39 MB, free: 3.691 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.322/1.322, allocations: 222.9 MB / 243.1 MB, free: 15.02 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.2044/0.2044, allocations: 44.18 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 59.91 kB / 471.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.3004, allocations: 60.82 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001527/0.302, allocations: 0.5436 MB / 0.5201 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003567/0.3023, allocations: 153.8 kB / 0.5202 GB, free: 3.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.625e-05/0.3024, allocations: 0 / 0.5202 GB, free: 3.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.148e-05/0.3024, allocations: 0 / 0.5202 GB, free: 3.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002313/0.3026, allocations: 34.67 kB / 0.5203 GB, free: 3.164 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.747e-06/0.3026, allocations: 5.406 kB / 0.5203 GB, free: 3.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.536e-05/0.3027, allocations: 24.23 kB / 0.5203 GB, free: 3.148 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.392e-05/0.3027, allocations: 6.656 kB / 0.5203 GB, free: 3.145 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.115e-05/0.3028, allocations: 20.72 kB / 0.5203 GB, free: 3.129 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.566e-05/0.3028, allocations: 12.75 kB / 0.5203 GB, free: 3.125 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.3028, allocations: 1.125 kB / 0.5203 GB, free: 3.125 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001162/0.303, allocations: 48.95 kB / 0.5204 GB, free: 3.113 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.048e-05/0.303, allocations: 10.61 kB / 0.5204 GB, free: 3.105 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.772e-05/0.303, allocations: 6.609 kB / 0.5204 GB, free: 3.102 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001112/0.3031, allocations: 46.12 kB / 0.5204 GB, free: 3.082 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3031, allocations: 4 kB / 0.5204 GB, free: 3.078 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3031, allocations: 1.125 kB / 0.5204 GB, free: 3.078 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.3032, allocations: 0 / 0.5204 GB, free: 3.078 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0002343/0.3034, allocations: 335.3 kB / 0.5208 GB, free: 2.715 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.3034, allocations: 12.88 kB / 0.5208 GB, free: 2.711 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.446e-05/0.3035, allocations: 7.828 kB / 0.5208 GB, free: 2.707 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.405e-05/0.3035, allocations: 166.8 kB / 0.5209 GB, free: 2.512 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.3036, allocations: 2.625 kB / 0.5209 GB, free: 2.512 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.3036, allocations: 6.531 kB / 0.5209 GB, free: 2.508 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.3037, allocations: 63.77 kB / 0.521 GB, free: 2.461 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.3037, allocations: 192 / 0.521 GB, free: 2.461 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.3037, allocations: 5.25 kB / 0.521 GB, free: 2.457 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.3037, allocations: 1.094 kB / 0.521 GB, free: 2.457 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.3039, allocations: 53.45 kB / 0.5211 GB, free: 2.445 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001279/0.304, allocations: 170.2 kB / 0.5212 GB, free: 2.246 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.3041, allocations: 81.05 kB / 0.5213 GB, free: 2.199 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.053e-05/0.3042, allocations: 30.61 kB / 0.5213 GB, free: 2.184 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002758/0.3045, allocations: 255.7 kB / 0.5216 GB, free: 1.898 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.762e-05/0.3045, allocations: 36.44 kB / 0.5216 GB, free: 1.855 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.243e-06/0.3045, allocations: 0 / 0.5216 GB, free: 1.855 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002084/0.3047, allocations: 109.2 kB / 0.5217 GB, free: 1.793 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.823e-05/0.3047, allocations: 54.03 kB / 0.5218 GB, free: 1.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.641e-05/0.3048, allocations: 96.7 kB / 0.5219 GB, free: 1.629 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.544e-06/0.3048, allocations: 25.7 kB / 0.5219 GB, free: 1.598 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.009e-05/0.3048, allocations: 85.36 kB / 0.522 GB, free: 1.512 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.211e-05/0.3048, allocations: 35.95 kB / 0.522 GB, free: 1.484 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.335e-05/0.3049, allocations: 21.2 kB / 0.522 GB, free: 1.465 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.896e-05/0.3049, allocations: 318.8 kB / 0.5223 GB, free: 1.148 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.376e-05/0.305, allocations: 15.22 kB / 0.5223 GB, free: 1.145 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.01e-05/0.305, allocations: 17.75 kB / 0.5224 GB, free: 1.141 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.168e-05/0.3051, allocations: 51.17 kB / 0.5224 GB, free: 1.113 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.3051, allocations: 4 kB / 0.5224 GB, free: 1.109 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001143/0.3052, allocations: 84.48 kB / 0.5225 GB, free: 1.059 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.3052, allocations: 5.438 kB / 0.5225 GB, free: 1.059 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.3052, allocations: 1.094 kB / 0.5225 GB, free: 1.059 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.3053, allocations: 3.938 kB / 0.5225 GB, free: 1.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.3054, allocations: 15.7 kB / 0.5225 GB, free: 1.055 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.3054, allocations: 1.641 kB / 0.5225 GB, free: 1.055 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.829e-05/0.3054, allocations: 13 kB / 0.5225 GB, free: 1.043 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.3054, allocations: 2.406 kB / 0.5225 GB, free: 1.043 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 (10): * Single equations (assignments): 10 * 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 5.214e-05/0.3055, allocations: 121.1 kB / 0.5226 GB, free: 0.918 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.228e-05/0.3055, allocations: 2.125 kB / 0.5226 GB, free: 0.918 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001779/0.3057, allocations: 100.7 kB / 0.5227 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.3057, allocations: 2.203 kB / 0.5227 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3057, allocations: 3.938 kB / 0.5228 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.917e-05/0.3057, allocations: 90.95 kB / 0.5228 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.3058, allocations: 4.969 kB / 0.5228 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.685e-05/0.3058, allocations: 5.656 kB / 0.5228 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.9e-05/0.3058, allocations: 5.422 kB / 0.5229 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001356/0.3059, allocations: 166.7 kB / 0.523 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001385/0.3061, allocations: 256.8 kB / 0.5233 GB, free: 388 kB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.62e-05/0.3061, allocations: 33.84 kB / 0.5233 GB, free: 372 kB / 382.1 MB Notification: Performance of sorting global known variables: time 1.505e-05/0.3062, allocations: 76.89 kB / 0.5234 GB, free: 296 kB / 382.1 MB Notification: Performance of Backend: time 3.6e-07/0.3062, allocations: 0 / 0.5234 GB, free: 296 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000383/0.3066, allocations: 124.8 kB / 0.5235 GB, free: 212 kB / 382.1 MB Notification: Performance of SimCode: time 0.000354/0.3069, allocations: 0.5591 MB / 0.524 GB, free: 15.62 MB / 398.1 MB Notification: Performance of Templates: time 0.003259/0.3102, allocations: 0.935 MB / 0.5249 GB, free: 15.52 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches