Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008354/0.0008355, allocations: 173.5 kB / 16.72 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.166/1.166, allocations: 205.4 MB / 222.9 MB, free: 8.938 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007187/0.0007188, allocations: 90.41 kB / 271.2 MB, free: 8.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2971/0.2971, allocations: 43.57 MB / 363.1 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000396/0.0003961, allocations: 12 kB / 432 MB, free: 5.598 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09756/0.09797, allocations: 58.85 MB / 490.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.0006637/0.09867, allocations: 300.4 kB / 491.1 MB, free: 10.37 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002825/0.09897, allocations: 117.1 kB / 491.2 MB, free: 10.25 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.211e-05/0.099, allocations: 0 / 491.2 MB, free: 10.25 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.279e-05/0.09902, allocations: 3.938 kB / 491.2 MB, free: 10.25 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001996/0.09923, allocations: 31.91 kB / 491.3 MB, free: 10.22 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.725e-06/0.09924, allocations: 0 / 491.3 MB, free: 10.22 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.686e-05/0.0993, allocations: 15.92 kB / 491.3 MB, free: 10.2 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.807e-05/0.09935, allocations: 4 kB / 491.3 MB, free: 10.2 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.009e-05/0.09939, allocations: 15.91 kB / 491.3 MB, free: 10.18 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.922e-05/0.09944, allocations: 15.92 kB / 491.3 MB, free: 10.17 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.989e-06/0.09946, allocations: 0 / 491.3 MB, free: 10.17 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.09957, allocations: 47.95 kB / 491.4 MB, free: 10.12 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.033e-05/0.09959, allocations: 7.938 kB / 491.4 MB, free: 10.11 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.942e-05/0.09962, allocations: 37.62 kB / 491.4 MB, free: 10.07 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 7.385e-05/0.0997, allocations: 27.95 kB / 491.4 MB, free: 10.04 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.09972, allocations: 8 kB / 491.4 MB, free: 10.04 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.09972, allocations: 0 / 491.4 MB, free: 10.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.09973, allocations: 0 / 491.4 MB, free: 10.04 MB / 378.7 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.0003035/0.1, allocations: 335.7 kB / 491.8 MB, free: 9.656 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.1001, allocations: 8.031 kB / 491.8 MB, free: 9.648 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.047e-05/0.1001, allocations: 8.875 kB / 491.8 MB, free: 9.641 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.1003, allocations: 164.4 kB / 491.9 MB, free: 9.441 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.1003, allocations: 4.312 kB / 491.9 MB, free: 9.438 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.1003, allocations: 4.375 kB / 491.9 MB, free: 9.434 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.1004, allocations: 62.23 kB / 492 MB, free: 9.367 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.1004, allocations: 192 / 492 MB, free: 9.367 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.1004, allocations: 7.938 kB / 492 MB, free: 9.359 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1005, allocations: 0 / 492 MB, free: 9.359 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.776e-05/0.1006, allocations: 51.95 kB / 492.1 MB, free: 9.309 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001689/0.1007, allocations: 177.5 kB / 492.2 MB, free: 9.086 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.1009, allocations: 74.56 kB / 492.3 MB, free: 9.004 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.685e-05/0.1009, allocations: 32.84 kB / 492.3 MB, free: 8.969 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003151/0.1012, allocations: 255.3 kB / 492.6 MB, free: 8.664 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.1013, allocations: 34.5 kB / 492.6 MB, free: 8.621 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.1013, allocations: 0 / 492.6 MB, free: 8.621 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002191/0.1015, allocations: 105.8 kB / 492.7 MB, free: 8.512 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.1015, allocations: 59.39 kB / 492.8 MB, free: 8.441 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.896e-05/0.1016, allocations: 93.86 kB / 492.9 MB, free: 8.34 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.1016, allocations: 29.64 kB / 492.9 MB, free: 8.305 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.448e-05/0.1017, allocations: 84.12 kB / 493 MB, free: 8.219 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.763e-05/0.1017, allocations: 35.45 kB / 493 MB, free: 8.184 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.372e-06/0.1017, allocations: 4 kB / 493 MB, free: 8.18 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.1018, allocations: 314.8 kB / 493.3 MB, free: 7.863 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.108e-05/0.1019, allocations: 15.98 kB / 493.4 MB, free: 7.848 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.923e-05/0.1019, allocations: 20 kB / 493.4 MB, free: 7.828 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.16e-05/0.102, allocations: 48.97 kB / 493.4 MB, free: 7.777 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.102, allocations: 4 kB / 493.4 MB, free: 7.773 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000112/0.1021, allocations: 82.19 kB / 493.5 MB, free: 7.688 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.1022, allocations: 4 kB / 493.5 MB, free: 7.684 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.525e-06/0.1022, allocations: 3.938 kB / 493.5 MB, free: 7.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.1022, allocations: 4 kB / 493.5 MB, free: 7.676 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.1023, allocations: 20.02 kB / 493.5 MB, free: 7.656 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.1023, allocations: 3.938 kB / 493.5 MB, free: 7.652 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.522e-05/0.1023, allocations: 3.938 kB / 493.5 MB, free: 7.648 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.1024, allocations: 8 kB / 493.6 MB, free: 7.641 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.538e-05/0.1024, allocations: 113.8 kB / 493.7 MB, free: 7.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.478e-06/0.1025, allocations: 11.84 kB / 493.7 MB, free: 7.508 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001896/0.1027, allocations: 101.5 kB / 493.8 MB, free: 7.406 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.1027, allocations: 4 kB / 493.8 MB, free: 7.402 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1027, allocations: 0 / 493.8 MB, free: 7.402 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.1027, allocations: 3.984 kB / 493.8 MB, free: 7.398 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.1028, allocations: 165.7 kB / 493.9 MB, free: 7.188 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.1028, allocations: 0 / 493.9 MB, free: 7.188 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.158e-05/0.1029, allocations: 15.98 kB / 494 MB, free: 7.172 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1029, allocations: 4 kB / 494 MB, free: 7.168 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.1029, allocations: 15.92 kB / 494 MB, free: 7.152 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1029, allocations: 4 kB / 494 MB, free: 7.148 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1029, allocations: 0 / 494 MB, free: 7.148 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.1031, allocations: 105 kB / 494.1 MB, free: 7.027 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.357e-05/0.1031, allocations: 89.03 kB / 494.2 MB, free: 6.922 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.1031, allocations: 7.938 kB / 494.2 MB, free: 6.914 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.252e-05/0.1032, allocations: 0 / 494.2 MB, free: 6.914 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.84e-05/0.1032, allocations: 8 kB / 494.2 MB, free: 6.906 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-06/0.1032, allocations: 4 kB / 494.2 MB, free: 6.902 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.239e-05/0.1033, allocations: 79.22 kB / 494.3 MB, free: 6.824 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1033, allocations: 0 / 494.3 MB, free: 6.824 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001792/0.1034, allocations: 19.98 kB / 494.3 MB, free: 6.805 MB / 378.7 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001238/0.1036, allocations: 115.2 kB / 494.4 MB, free: 6.684 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001174/0.1037, allocations: 52.05 kB / 494.5 MB, free: 6.633 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.1037, allocations: 8.094 kB / 494.5 MB, free: 6.625 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.89e-05/0.1038, allocations: 27.98 kB / 494.5 MB, free: 6.598 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001284/0.1039, allocations: 7.609 kB / 494.5 MB, free: 6.594 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003242/0.1042, allocations: 180.2 kB / 494.7 MB, free: 6.383 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002289/0.1045, allocations: 0.6809 MB / 495.4 MB, free: 5.676 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.878e-05/0.1045, allocations: 15.44 kB / 495.4 MB, free: 5.66 MB / 378.7 MB Notification: Performance of SimCode: time 4.21e-07/0.1045, allocations: 4 kB / 495.4 MB, free: 5.656 MB / 378.7 MB Notification: Performance of Templates: time 0.00195/0.1065, allocations: 0.7979 MB / 496.2 MB, free: 4.859 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches