Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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 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 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_3.2.3_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_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.001485/0.001485, allocations: 99.89 kB / 16.26 MB, free: 5.93 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.001761/0.001761, allocations: 190.1 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.33/1.33, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2037/0.2037, allocations: 43.52 MB / 313.9 MB, free: 0.5195 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 67.28 kB / 382.7 MB, free: 56.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1029, allocations: 57.78 MB / 440.5 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001768/0.1047, allocations: 0.5732 MB / 441.1 MB, free: 6.336 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002991/0.1051, allocations: 120 kB / 441.2 MB, free: 6.219 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.935e-05/0.1051, allocations: 0 / 441.2 MB, free: 6.219 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.594e-05/0.1051, allocations: 3.938 kB / 441.2 MB, free: 6.215 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002447/0.1054, allocations: 43.81 kB / 441.2 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.978e-06/0.1054, allocations: 4 kB / 441.3 MB, free: 6.168 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.593e-05/0.1055, allocations: 15.94 kB / 441.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.954e-05/0.1055, allocations: 11.98 kB / 441.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.008e-05/0.1055, allocations: 11.94 kB / 441.3 MB, free: 6.129 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.027e-05/0.1056, allocations: 11.86 kB / 441.3 MB, free: 6.117 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.1056, allocations: 4 kB / 441.3 MB, free: 6.113 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.1057, allocations: 47.95 kB / 441.4 MB, free: 6.066 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.111e-05/0.1057, allocations: 11.97 kB / 441.4 MB, free: 6.055 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.788e-05/0.1058, allocations: 11.88 kB / 441.4 MB, free: 6.043 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 9.883e-05/0.1059, allocations: 39.88 kB / 441.4 MB, free: 6.004 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1059, allocations: 0 / 441.4 MB, free: 6.004 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1059, allocations: 4 kB / 441.4 MB, free: 6 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.1059, allocations: 4 kB / 441.4 MB, free: 5.996 MB / 318.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.0002752/0.1062, allocations: 339.7 kB / 441.8 MB, free: 5.613 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.1062, allocations: 12.03 kB / 441.8 MB, free: 5.602 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.756e-05/0.1063, allocations: 0.9375 kB / 441.8 MB, free: 5.602 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.801e-05/0.1064, allocations: 168.3 kB / 441.9 MB, free: 5.398 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.1064, allocations: 384 / 441.9 MB, free: 5.398 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.1064, allocations: 8.375 kB / 441.9 MB, free: 5.391 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.1065, allocations: 58.23 kB / 442 MB, free: 5.328 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.1066, allocations: 192 / 442 MB, free: 5.328 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.1066, allocations: 7.938 kB / 442 MB, free: 5.32 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.1066, allocations: 0 / 442 MB, free: 5.32 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.66e-05/0.1067, allocations: 55.89 kB / 442.1 MB, free: 5.266 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001527/0.1068, allocations: 177.5 kB / 442.2 MB, free: 5.043 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.107, allocations: 74.56 kB / 442.3 MB, free: 4.961 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.645e-05/0.107, allocations: 32.84 kB / 442.3 MB, free: 4.926 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002805/0.1073, allocations: 255.3 kB / 442.6 MB, free: 4.621 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/0.1073, allocations: 42.78 kB / 442.6 MB, free: 4.57 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.032e-06/0.1074, allocations: 3.938 kB / 442.6 MB, free: 4.566 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002068/0.1076, allocations: 109.5 kB / 442.7 MB, free: 4.453 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.857e-05/0.1076, allocations: 51.41 kB / 442.8 MB, free: 4.391 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.383e-05/0.1076, allocations: 89.86 kB / 442.9 MB, free: 4.293 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.967e-06/0.1077, allocations: 33.83 kB / 442.9 MB, free: 4.254 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.224e-05/0.1077, allocations: 88.08 kB / 443 MB, free: 4.164 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.456e-05/0.1077, allocations: 35.45 kB / 443 MB, free: 4.129 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.05e-05/0.1077, allocations: 17.72 kB / 443 MB, free: 4.105 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.466e-05/0.1078, allocations: 322.8 kB / 443.4 MB, free: 3.781 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.949e-05/0.1078, allocations: 12 kB / 443.4 MB, free: 3.77 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.788e-05/0.1079, allocations: 19.98 kB / 443.4 MB, free: 3.75 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.775e-05/0.108, allocations: 48.8 kB / 443.4 MB, free: 3.699 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.108, allocations: 4 kB / 443.4 MB, free: 3.695 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001025/0.1081, allocations: 78.25 kB / 443.5 MB, free: 3.613 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.1081, allocations: 11.98 kB / 443.5 MB, free: 3.602 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.1081, allocations: 3.938 kB / 443.5 MB, free: 3.598 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.1081, allocations: 3.938 kB / 443.5 MB, free: 3.594 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.963e-05/0.1082, allocations: 16 kB / 443.6 MB, free: 3.578 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.1082, allocations: 96 / 443.6 MB, free: 3.578 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.563e-05/0.1083, allocations: 11.84 kB / 443.6 MB, free: 3.566 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.1083, allocations: 0 / 443.6 MB, free: 3.566 MB / 318.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.552e-05/0.1083, allocations: 125.8 kB / 443.7 MB, free: 3.434 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.147e-05/0.1084, allocations: 0 / 443.7 MB, free: 3.434 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001707/0.1085, allocations: 105.5 kB / 443.8 MB, free: 3.32 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1086, allocations: 0 / 443.8 MB, free: 3.32 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1086, allocations: 0 / 443.8 MB, free: 3.32 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1086, allocations: 0 / 443.8 MB, free: 3.32 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/0.1087, allocations: 177.5 kB / 444 MB, free: 3.098 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1087, allocations: 0 / 444 MB, free: 3.098 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.193e-05/0.1088, allocations: 19.94 kB / 444 MB, free: 3.078 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.1088, allocations: 3.984 kB / 444 MB, free: 3.074 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.1088, allocations: 7.938 kB / 444 MB, free: 3.066 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1088, allocations: 0 / 444 MB, free: 3.066 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1088, allocations: 0 / 444 MB, free: 3.066 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001177/0.1089, allocations: 113 kB / 444.1 MB, free: 2.938 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.279e-05/0.109, allocations: 85.05 kB / 444.2 MB, free: 2.836 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.109, allocations: 7.938 kB / 444.2 MB, free: 2.828 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.313e-05/0.109, allocations: 0 / 444.2 MB, free: 2.828 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.315e-05/0.109, allocations: 15.98 kB / 444.2 MB, free: 2.812 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.109, allocations: 0 / 444.2 MB, free: 2.812 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.894e-05/0.1091, allocations: 79.28 kB / 444.3 MB, free: 2.734 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1091, allocations: 3.938 kB / 444.3 MB, free: 2.73 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000204/0.1093, allocations: 20 kB / 444.3 MB, free: 2.711 MB / 318.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 (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 Backend phase and start with SimCode phase: time 0.0001133/0.1094, allocations: 99.23 kB / 444.4 MB, free: 2.602 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001442/0.1096, allocations: 64.05 kB / 444.5 MB, free: 2.539 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1096, allocations: 0 / 444.5 MB, free: 2.539 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.038e-05/0.1096, allocations: 40.02 kB / 444.5 MB, free: 2.5 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001506/0.1098, allocations: 8 kB / 444.5 MB, free: 2.492 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003142/0.1101, allocations: 129 kB / 444.7 MB, free: 2.34 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001241/0.1102, allocations: 0.6807 MB / 445.3 MB, free: 1.633 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.442e-05/0.1103, allocations: 8 kB / 445.3 MB, free: 1.625 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.188e-05/0.1103, allocations: 11.44 kB / 445.4 MB, free: 1.613 MB / 318.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1103, allocations: 0 / 445.4 MB, free: 1.613 MB / 318.1 MB Notification: Performance of Templates: time 0.002718/0.113, allocations: 0.6433 MB / 446 MB, free: 0.9727 MB / 318.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches