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.0009246/0.0009247, allocations: 92.47 kB / 17.35 MB, free: 6.371 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.001047/0.001047, allocations: 176 kB / 18.25 MB, free: 5.52 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.312/1.312, allocations: 223.3 MB / 242.3 MB, free: 196 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1848/0.1848, allocations: 44.25 MB / 337.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000307/0.0003071, allocations: 8 kB / 410.3 MB, free: 27.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1123, allocations: 61.93 MB / 472.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.0007981/0.1131, allocations: 254.7 kB / 472.5 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00054/0.1137, allocations: 167.4 kB / 472.7 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.711e-05/0.1137, allocations: 0 / 472.7 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.042e-05/0.1137, allocations: 4 kB / 472.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002455/0.114, allocations: 27.91 kB / 472.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.745e-06/0.114, allocations: 0 / 472.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.411e-05/0.1141, allocations: 19.92 kB / 472.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.516e-05/0.1141, allocations: 7.938 kB / 472.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.057e-05/0.1142, allocations: 4 kB / 472.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.716e-05/0.1142, allocations: 23.84 kB / 472.8 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.1143, allocations: 0 / 472.8 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.1144, allocations: 51.95 kB / 472.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.12e-05/0.1144, allocations: 7.922 kB / 472.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.961e-05/0.1144, allocations: 33.64 kB / 472.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001148/0.1146, allocations: 47.88 kB / 472.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.1146, allocations: 0 / 472.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1146, allocations: 0 / 472.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.257e-06/0.1146, allocations: 4 kB / 472.9 MB, free: 12.7 MB / 350.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.000319/0.1149, allocations: 323.9 kB / 473.2 MB, free: 12.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/0.115, allocations: 12.03 kB / 473.2 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.771e-05/0.115, allocations: 8.781 kB / 473.2 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.1152, allocations: 168.3 kB / 473.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.1152, allocations: 4.359 kB / 473.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.1152, allocations: 8.375 kB / 473.4 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.1154, allocations: 54.25 kB / 473.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.1154, allocations: 8.109 kB / 473.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.1154, allocations: 7.938 kB / 473.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.1154, allocations: 0 / 473.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.1155, allocations: 55.89 kB / 473.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001988/0.1157, allocations: 169.7 kB / 473.7 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.1159, allocations: 78.5 kB / 473.8 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.646e-05/0.116, allocations: 37.12 kB / 473.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003772/0.1163, allocations: 255.2 kB / 474.1 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.1164, allocations: 30.56 kB / 474.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.203e-06/0.1164, allocations: 4 kB / 474.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002445/0.1166, allocations: 113.5 kB / 474.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.1167, allocations: 51.41 kB / 474.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.215e-05/0.1168, allocations: 93.86 kB / 474.3 MB, free: 11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.1168, allocations: 29.7 kB / 474.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.16e-05/0.1168, allocations: 80.14 kB / 474.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.21e-05/0.1169, allocations: 35.53 kB / 474.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/0.1169, allocations: 13.72 kB / 474.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.641e-05/0.117, allocations: 318.8 kB / 474.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.163e-05/0.117, allocations: 15.98 kB / 474.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.775e-05/0.1171, allocations: 19.98 kB / 474.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.488e-05/0.1172, allocations: 53.48 kB / 474.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1172, allocations: 0 / 474.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001172/0.1173, allocations: 89.56 kB / 475 MB, free: 10.33 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.1173, allocations: 8 kB / 475 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1173, allocations: 3.938 kB / 475 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.1173, allocations: 3.984 kB / 475 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.518e-05/0.1174, allocations: 16 kB / 475 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.688e-06/0.1174, allocations: 0 / 475 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.662e-05/0.1175, allocations: 11.84 kB / 475 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-06/0.1175, allocations: 0 / 475 MB, free: 10.29 MB / 350.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 7.912e-05/0.1176, allocations: 117.8 kB / 475.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.236e-06/0.1176, allocations: 0 / 475.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001742/0.1178, allocations: 109.5 kB / 475.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.123e-06/0.1178, allocations: 0 / 475.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1178, allocations: 0 / 475.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.1178, allocations: 4 kB / 475.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.1179, allocations: 169.5 kB / 475.4 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1179, allocations: 3.984 kB / 475.4 MB, free: 9.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.362e-05/0.118, allocations: 23.94 kB / 475.4 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.118, allocations: 0 / 475.4 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.118, allocations: 3.938 kB / 475.5 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.118, allocations: 0 / 475.5 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.118, allocations: 0 / 475.5 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/0.1182, allocations: 113 kB / 475.6 MB, free: 9.668 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.541e-05/0.1182, allocations: 85.02 kB / 475.6 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.1182, allocations: 3.938 kB / 475.6 MB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.224e-05/0.1183, allocations: 4 kB / 475.7 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.271e-05/0.1183, allocations: 11.98 kB / 475.7 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.1183, allocations: 288 / 475.7 MB, free: 9.547 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.253e-05/0.1183, allocations: 79.28 kB / 475.7 MB, free: 9.469 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1183, allocations: 0 / 475.7 MB, free: 9.469 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000196/0.1185, allocations: 23.94 kB / 475.8 MB, free: 9.445 MB / 350.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.0001499/0.1187, allocations: 107.7 kB / 475.9 MB, free: 9.328 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001292/0.1188, allocations: 56.02 kB / 475.9 MB, free: 9.273 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1188, allocations: 4 kB / 475.9 MB, free: 9.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.229e-05/0.1189, allocations: 35.92 kB / 476 MB, free: 9.234 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000159/0.1191, allocations: 4.938 kB / 476 MB, free: 9.234 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003483/0.1194, allocations: 148.5 kB / 476.1 MB, free: 9.062 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.1197, allocations: 0.6848 MB / 476.8 MB, free: 8.352 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.767e-05/0.1197, allocations: 15.94 kB / 476.8 MB, free: 8.336 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.21e-05/0.1198, allocations: 11.44 kB / 476.8 MB, free: 8.324 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1198, allocations: 0 / 476.8 MB, free: 8.324 MB / 350.1 MB Notification: Performance of Templates: time 0.002613/0.1224, allocations: 0.6177 MB / 477.4 MB, free: 7.707 MB / 350.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches