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.001087/0.001087, allocations: 103.8 kB / 15.98 MB, free: 6.352 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.001101/0.001101, allocations: 192.5 kB / 16.91 MB, free: 6.191 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.371/1.371, allocations: 205.1 MB / 222.8 MB, free: 4.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3158/0.3158, allocations: 43.5 MB / 313.6 MB, free: 8.52 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.001404/0.001404, allocations: 63.91 kB / 382.2 MB, free: 8.602 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1072, allocations: 57.78 MB / 440 MB, free: 14.72 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.002003/0.1092, allocations: 0.6321 MB / 440.6 MB, free: 14.08 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003519/0.1096, allocations: 129.1 kB / 440.8 MB, free: 13.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.233e-05/0.1096, allocations: 4 kB / 440.8 MB, free: 13.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.41e-05/0.1096, allocations: 0 / 440.8 MB, free: 13.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002299/0.1099, allocations: 23.92 kB / 440.8 MB, free: 13.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.086e-06/0.1099, allocations: 3.938 kB / 440.8 MB, free: 13.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.903e-05/0.1099, allocations: 19.97 kB / 440.8 MB, free: 13.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.866e-05/0.11, allocations: 11.98 kB / 440.8 MB, free: 13.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.863e-05/0.11, allocations: 11.88 kB / 440.8 MB, free: 13.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.736e-05/0.1101, allocations: 15.92 kB / 440.8 MB, free: 13.87 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.708e-06/0.1101, allocations: 0 / 440.8 MB, free: 13.87 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.1102, allocations: 51.95 kB / 440.9 MB, free: 13.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.223e-05/0.1102, allocations: 7.922 kB / 440.9 MB, free: 13.81 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.838e-05/0.1102, allocations: 11.92 kB / 440.9 MB, free: 13.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001031/0.1103, allocations: 39.89 kB / 441 MB, free: 13.76 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1104, allocations: 4 kB / 441 MB, free: 13.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1104, allocations: 3.938 kB / 441 MB, free: 13.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.1104, allocations: 0 / 441 MB, free: 13.75 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.0002919/0.1107, allocations: 343.7 kB / 441.3 MB, free: 13.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.1107, allocations: 8.031 kB / 441.3 MB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.863e-05/0.1107, allocations: 0.9375 kB / 441.3 MB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.1109, allocations: 164.4 kB / 441.5 MB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.1109, allocations: 4.375 kB / 441.5 MB, free: 13.15 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.1109, allocations: 4.375 kB / 441.5 MB, free: 13.15 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.1111, allocations: 66.11 kB / 441.5 MB, free: 13.08 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.1111, allocations: 192 / 441.5 MB, free: 13.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.1111, allocations: 7.938 kB / 441.6 MB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.1111, allocations: 4 kB / 441.6 MB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.876e-05/0.1112, allocations: 47.95 kB / 441.6 MB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001856/0.1114, allocations: 181.5 kB / 441.8 MB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.1116, allocations: 76.53 kB / 441.9 MB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.588e-05/0.1116, allocations: 40.78 kB / 441.9 MB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003905/0.112, allocations: 255.3 kB / 442.1 MB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.1121, allocations: 34.56 kB / 442.2 MB, free: 12.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.183e-06/0.1121, allocations: 0 / 442.2 MB, free: 12.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002159/0.1123, allocations: 105.5 kB / 442.3 MB, free: 12.21 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.1123, allocations: 51.41 kB / 442.3 MB, free: 12.15 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.883e-05/0.1124, allocations: 93.86 kB / 442.4 MB, free: 12.05 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.1124, allocations: 29.7 kB / 442.5 MB, free: 12.01 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.539e-05/0.1125, allocations: 80.27 kB / 442.5 MB, free: 11.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.96e-05/0.1125, allocations: 39.45 kB / 442.6 MB, free: 11.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-05/0.1125, allocations: 17.72 kB / 442.6 MB, free: 11.87 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.1127, allocations: 326.8 kB / 442.9 MB, free: 11.54 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.064e-05/0.1127, allocations: 12 kB / 442.9 MB, free: 11.53 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.849e-05/0.1127, allocations: 20.36 kB / 442.9 MB, free: 11.51 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.532e-05/0.1128, allocations: 56.92 kB / 443 MB, free: 11.45 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1128, allocations: 0 / 443 MB, free: 11.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001219/0.1129, allocations: 85.62 kB / 443.1 MB, free: 11.36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.113, allocations: 8 kB / 443.1 MB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.113, allocations: 3.938 kB / 443.1 MB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.113, allocations: 7.984 kB / 443.1 MB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.434e-05/0.1131, allocations: 12 kB / 443.1 MB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.1131, allocations: 4 kB / 443.1 MB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.373e-05/0.1131, allocations: 3.938 kB / 443.1 MB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.1131, allocations: 4 kB / 443.1 MB, free: 11.32 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 7.521e-05/0.1132, allocations: 109.8 kB / 443.2 MB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.28e-05/0.1132, allocations: 7.906 kB / 443.2 MB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002001/0.1134, allocations: 113.5 kB / 443.3 MB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1135, allocations: 0 / 443.3 MB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.1135, allocations: 4 kB / 443.3 MB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1135, allocations: 0 / 443.3 MB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/0.1136, allocations: 165.7 kB / 443.5 MB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.1136, allocations: 7.922 kB / 443.5 MB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.998e-05/0.1137, allocations: 16 kB / 443.5 MB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.1137, allocations: 0 / 443.5 MB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.1137, allocations: 3.938 kB / 443.5 MB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.1137, allocations: 3.938 kB / 443.5 MB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1137, allocations: 4 kB / 443.5 MB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001958/0.1139, allocations: 121.1 kB / 443.7 MB, free: 10.69 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.489e-05/0.114, allocations: 85.05 kB / 443.7 MB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.114, allocations: 3.938 kB / 443.8 MB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.431e-05/0.114, allocations: 4 kB / 443.8 MB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.687e-05/0.114, allocations: 7.984 kB / 443.8 MB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-06/0.1141, allocations: 0 / 443.8 MB, free: 10.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.803e-05/0.1141, allocations: 83.28 kB / 443.8 MB, free: 10.49 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1141, allocations: 0 / 443.8 MB, free: 10.49 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001881/0.1143, allocations: 20 kB / 443.9 MB, free: 10.47 MB / 382.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.000128/0.1144, allocations: 111.2 kB / 444 MB, free: 10.35 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001281/0.1146, allocations: 55.92 kB / 444 MB, free: 10.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1146, allocations: 3.938 kB / 444 MB, free: 10.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.019e-05/0.1146, allocations: 27.98 kB / 444.1 MB, free: 10.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001322/0.1147, allocations: 12.09 kB / 444.1 MB, free: 10.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003258/0.1151, allocations: 164.7 kB / 444.2 MB, free: 10.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002265/0.1153, allocations: 0.6807 MB / 444.9 MB, free: 9.359 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.568e-05/0.1154, allocations: 8 kB / 444.9 MB, free: 9.352 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.208e-05/0.1154, allocations: 11.44 kB / 444.9 MB, free: 9.344 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1154, allocations: 4 kB / 444.9 MB, free: 9.34 MB / 382.1 MB Notification: Performance of Templates: time 0.002635/0.118, allocations: 0.6412 MB / 445.6 MB, free: 8.699 MB / 382.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","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches