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.001003/0.001003, allocations: 178.8 kB / 16.41 MB, free: 5.707 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.287/1.287, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0007326/0.0007326, allocations: 86.3 kB / 270.9 MB, free: 8.355 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.3475/0.3475, allocations: 43.56 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003347/0.0003347, allocations: 11.98 kB / 431.4 MB, free: 6.148 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1037, allocations: 58.85 MB / 490.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.0006211/0.1044, allocations: 300.3 kB / 490.5 MB, free: 10.93 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002843/0.1047, allocations: 117.2 kB / 490.6 MB, free: 10.81 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.075e-05/0.1047, allocations: 4 kB / 490.6 MB, free: 10.81 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.058e-05/0.1047, allocations: 0 / 490.6 MB, free: 10.81 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002253/0.105, allocations: 23.91 kB / 490.7 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.497e-06/0.105, allocations: 0 / 490.7 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.908e-05/0.105, allocations: 23.84 kB / 490.7 MB, free: 10.76 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.6e-05/0.1051, allocations: 7.938 kB / 490.7 MB, free: 10.75 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.833e-05/0.1051, allocations: 7.938 kB / 490.7 MB, free: 10.75 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.803e-05/0.1052, allocations: 15.92 kB / 490.7 MB, free: 10.73 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.002e-05/0.1052, allocations: 0 / 490.7 MB, free: 10.73 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.1053, allocations: 47.95 kB / 490.8 MB, free: 10.68 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.858e-06/0.1053, allocations: 7.984 kB / 490.8 MB, free: 10.68 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.726e-05/0.1054, allocations: 29.7 kB / 490.8 MB, free: 10.64 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 7.891e-05/0.1054, allocations: 27.95 kB / 490.8 MB, free: 10.61 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.1055, allocations: 0 / 490.8 MB, free: 10.61 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1055, allocations: 3.938 kB / 490.8 MB, free: 10.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.1055, allocations: 0 / 490.8 MB, free: 10.61 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.0002974/0.1058, allocations: 335.5 kB / 491.2 MB, free: 10.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.1058, allocations: 15.97 kB / 491.2 MB, free: 10.22 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.675e-05/0.1058, allocations: 0 / 491.2 MB, free: 10.22 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.106, allocations: 167 kB / 491.3 MB, free: 10.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.106, allocations: 8 kB / 491.4 MB, free: 10.01 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.106, allocations: 4 kB / 491.4 MB, free: 10 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.1061, allocations: 57.61 kB / 491.4 MB, free: 9.941 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.1062, allocations: 3.984 kB / 491.4 MB, free: 9.938 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.1062, allocations: 4 kB / 491.4 MB, free: 9.934 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.1062, allocations: 4 kB / 491.4 MB, free: 9.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.327e-05/0.1063, allocations: 47.95 kB / 491.5 MB, free: 9.883 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001666/0.1064, allocations: 181.5 kB / 491.6 MB, free: 9.656 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.1066, allocations: 78.84 kB / 491.7 MB, free: 9.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.581e-05/0.1066, allocations: 32.78 kB / 491.8 MB, free: 9.535 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003406/0.107, allocations: 259.3 kB / 492 MB, free: 9.227 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.107, allocations: 30.56 kB / 492 MB, free: 9.188 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.243e-06/0.107, allocations: 0 / 492 MB, free: 9.188 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002245/0.1073, allocations: 105.5 kB / 492.1 MB, free: 9.078 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.1073, allocations: 59.41 kB / 492.2 MB, free: 9.008 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.987e-05/0.1074, allocations: 93.86 kB / 492.3 MB, free: 8.906 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.1074, allocations: 25.7 kB / 492.3 MB, free: 8.875 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.357e-05/0.1074, allocations: 80.14 kB / 492.4 MB, free: 8.793 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.106e-05/0.1075, allocations: 35.45 kB / 492.4 MB, free: 8.758 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-06/0.1075, allocations: 4 kB / 492.4 MB, free: 8.754 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.1076, allocations: 314.8 kB / 492.7 MB, free: 8.438 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.472e-05/0.1077, allocations: 19.98 kB / 492.8 MB, free: 8.418 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.168e-05/0.1077, allocations: 20.12 kB / 492.8 MB, free: 8.398 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.476e-05/0.1078, allocations: 27.92 kB / 492.8 MB, free: 8.371 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.1078, allocations: 0 / 492.8 MB, free: 8.371 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001284/0.1079, allocations: 73.69 kB / 492.9 MB, free: 8.293 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.1079, allocations: 8 kB / 492.9 MB, free: 8.285 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1079, allocations: 0 / 492.9 MB, free: 8.285 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.1079, allocations: 0 / 492.9 MB, free: 8.285 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.1081, allocations: 19.94 kB / 492.9 MB, free: 8.266 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/0.1081, allocations: 3.984 kB / 492.9 MB, free: 8.262 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.604e-05/0.1081, allocations: 7.938 kB / 492.9 MB, free: 8.254 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.1081, allocations: 4 kB / 492.9 MB, free: 8.25 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.505e-05/0.1082, allocations: 126.4 kB / 493 MB, free: 8.117 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.082e-05/0.1082, allocations: 3.906 kB / 493 MB, free: 8.113 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000177/0.1084, allocations: 105.5 kB / 493.2 MB, free: 8.004 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1084, allocations: 0 / 493.2 MB, free: 8.004 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1084, allocations: 0 / 493.2 MB, free: 8.004 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.1084, allocations: 0 / 493.2 MB, free: 8.004 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.1086, allocations: 177.6 kB / 493.3 MB, free: 7.781 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1086, allocations: 4 kB / 493.3 MB, free: 7.777 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.869e-05/0.1086, allocations: 19.94 kB / 493.3 MB, free: 7.758 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.1087, allocations: 4 kB / 493.4 MB, free: 7.754 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.1087, allocations: 3.984 kB / 493.4 MB, free: 7.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1087, allocations: 0 / 493.4 MB, free: 7.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.1087, allocations: 0 / 493.4 MB, free: 7.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001387/0.1088, allocations: 120.9 kB / 493.5 MB, free: 7.613 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.029e-05/0.1089, allocations: 81.05 kB / 493.6 MB, free: 7.516 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.1089, allocations: 11.98 kB / 493.6 MB, free: 7.504 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.476e-05/0.1089, allocations: 0 / 493.6 MB, free: 7.504 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.487e-05/0.1089, allocations: 4 kB / 493.6 MB, free: 7.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.1089, allocations: 4 kB / 493.6 MB, free: 7.496 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.372e-05/0.109, allocations: 75.28 kB / 493.6 MB, free: 7.422 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.109, allocations: 0 / 493.6 MB, free: 7.422 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001864/0.1092, allocations: 19.98 kB / 493.7 MB, free: 7.402 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.0001167/0.1093, allocations: 103.2 kB / 493.8 MB, free: 7.293 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001211/0.1095, allocations: 56.02 kB / 493.8 MB, free: 7.238 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1095, allocations: 0 / 493.8 MB, free: 7.238 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.233e-05/0.1095, allocations: 35.92 kB / 493.9 MB, free: 7.203 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001439/0.1097, allocations: 8.516 kB / 493.9 MB, free: 7.195 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003254/0.11, allocations: 176.3 kB / 494 MB, free: 6.988 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002432/0.1103, allocations: 0.6887 MB / 494.7 MB, free: 6.273 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.643e-05/0.1103, allocations: 15.44 kB / 494.7 MB, free: 6.262 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.1103, allocations: 0 / 494.7 MB, free: 6.262 MB / 378.7 MB Notification: Performance of Templates: time 0.001976/0.1123, allocations: 0.8018 MB / 495.5 MB, free: 5.461 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