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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.000893/0.0008931, allocations: 179 kB / 18.09 MB, free: 3.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.28/1.28, allocations: 223.3 MB / 242.1 MB, free: 11.61 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007614/0.0007615, allocations: 100.6 kB / 293.3 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3164/0.3164, allocations: 44.15 MB / 388.5 MB, free: 38.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003945/0.0003945, allocations: 16 kB / 461.1 MB, free: 1.551 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3356, allocations: 61.87 MB / 0.5107 GB, free: 38.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1128/0.4484, allocations: 85.16 MB / 0.5939 GB, free: 9.945 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002406/0.4487, allocations: 75.94 kB / 0.594 GB, free: 9.875 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002963/0.4517, allocations: 0.91 MB / 0.5948 GB, free: 8.965 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.4517, allocations: 0 / 0.5948 GB, free: 8.965 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.4517, allocations: 0 / 0.5948 GB, free: 8.965 MB / 410.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.0003234/0.4521, allocations: 343.5 kB / 0.5952 GB, free: 8.578 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.4521, allocations: 12.03 kB / 0.5952 GB, free: 8.566 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.342e-05/0.4522, allocations: 4.938 kB / 0.5952 GB, free: 8.562 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.4523, allocations: 168.3 kB / 0.5953 GB, free: 8.359 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.4523, allocations: 8.375 kB / 0.5954 GB, free: 8.352 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.4523, allocations: 4.375 kB / 0.5954 GB, free: 8.348 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.4525, allocations: 54.19 kB / 0.5954 GB, free: 8.289 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.4525, allocations: 192 / 0.5954 GB, free: 8.289 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.4525, allocations: 3.938 kB / 0.5954 GB, free: 8.285 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.4525, allocations: 4 kB / 0.5954 GB, free: 8.281 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.93e-05/0.4526, allocations: 59.94 kB / 0.5955 GB, free: 8.223 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002259/0.4529, allocations: 165.6 kB / 0.5956 GB, free: 8.012 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.453, allocations: 78.52 kB / 0.5957 GB, free: 7.926 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.865e-05/0.4531, allocations: 28.86 kB / 0.5957 GB, free: 7.895 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000299/0.4534, allocations: 251.3 kB / 0.596 GB, free: 7.594 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.4534, allocations: 34.56 kB / 0.596 GB, free: 7.551 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.4534, allocations: 0 / 0.596 GB, free: 7.551 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002459/0.4537, allocations: 105.7 kB / 0.5961 GB, free: 7.441 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.4537, allocations: 51.41 kB / 0.5962 GB, free: 7.379 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.21e-05/0.4538, allocations: 93.86 kB / 0.5962 GB, free: 7.277 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.4538, allocations: 29.7 kB / 0.5963 GB, free: 7.242 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.787e-05/0.4538, allocations: 80.14 kB / 0.5964 GB, free: 7.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.98e-05/0.4539, allocations: 35.45 kB / 0.5964 GB, free: 7.125 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-06/0.4539, allocations: 4.125 kB / 0.5964 GB, free: 7.121 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.454, allocations: 314.8 kB / 0.5967 GB, free: 6.805 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.461e-05/0.4541, allocations: 19.98 kB / 0.5967 GB, free: 6.785 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.737e-05/0.4541, allocations: 19.94 kB / 0.5967 GB, free: 6.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.048e-05/0.4542, allocations: 48.84 kB / 0.5968 GB, free: 6.719 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.4542, allocations: 3.938 kB / 0.5968 GB, free: 6.715 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001234/0.4544, allocations: 86.12 kB / 0.5969 GB, free: 6.625 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.4544, allocations: 4 kB / 0.5969 GB, free: 6.621 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.4544, allocations: 3.938 kB / 0.5969 GB, free: 6.617 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.4544, allocations: 8 kB / 0.5969 GB, free: 6.609 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.385e-05/0.4545, allocations: 15.98 kB / 0.5969 GB, free: 6.594 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.4545, allocations: 0 / 0.5969 GB, free: 6.594 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.213e-05/0.4546, allocations: 0 / 0.5969 GB, free: 6.594 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.4546, allocations: 4 kB / 0.5969 GB, free: 6.59 MB / 410.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 0.0001044/0.4547, allocations: 117.8 kB / 0.597 GB, free: 6.465 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.153e-05/0.4547, allocations: 3.906 kB / 0.597 GB, free: 6.461 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001891/0.4549, allocations: 105.5 kB / 0.5971 GB, free: 6.348 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.4549, allocations: 8 kB / 0.5971 GB, free: 6.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.4549, allocations: 0 / 0.5971 GB, free: 6.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.4549, allocations: 3.984 kB / 0.5971 GB, free: 6.336 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001327/0.4551, allocations: 165.7 kB / 0.5973 GB, free: 6.125 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.4551, allocations: 0 / 0.5973 GB, free: 6.125 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.355e-05/0.4551, allocations: 23.98 kB / 0.5973 GB, free: 6.102 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.245e-05/0.4552, allocations: 3.984 kB / 0.5973 GB, free: 6.098 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.4552, allocations: 3.938 kB / 0.5973 GB, free: 6.094 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.4552, allocations: 0 / 0.5973 GB, free: 6.094 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4552, allocations: 0 / 0.5973 GB, free: 6.094 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001373/0.4553, allocations: 113 kB / 0.5974 GB, free: 5.965 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.184e-05/0.4554, allocations: 81.11 kB / 0.5975 GB, free: 5.867 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/0.4554, allocations: 11.92 kB / 0.5975 GB, free: 5.855 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.115e-05/0.4554, allocations: 0 / 0.5975 GB, free: 5.855 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.664e-05/0.4555, allocations: 4 kB / 0.5975 GB, free: 5.852 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.4555, allocations: 0 / 0.5975 GB, free: 5.852 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.295e-05/0.4555, allocations: 79.28 kB / 0.5976 GB, free: 5.773 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4555, allocations: 8.375 kB / 0.5976 GB, free: 5.766 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000198/0.4557, allocations: 19.92 kB / 0.5976 GB, free: 5.746 MB / 410.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.0001555/0.4559, allocations: 111.7 kB / 0.5977 GB, free: 5.629 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001225/0.456, allocations: 51.86 kB / 0.5978 GB, free: 5.578 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.456, allocations: 0 / 0.5978 GB, free: 5.578 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.236e-05/0.4561, allocations: 35.92 kB / 0.5978 GB, free: 5.543 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001386/0.4562, allocations: 5.406 kB / 0.5978 GB, free: 5.539 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003064/0.4565, allocations: 150.6 kB / 0.598 GB, free: 5.363 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.4568, allocations: 0.6848 MB / 0.5986 GB, free: 4.652 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.785e-05/0.4568, allocations: 4 kB / 0.5986 GB, free: 4.648 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.407e-05/0.4569, allocations: 15.42 kB / 0.5986 GB, free: 4.633 MB / 410.7 MB Notification: Performance of SimCode: time 2.11e-07/0.4569, allocations: 0 / 0.5986 GB, free: 4.633 MB / 410.7 MB Notification: Performance of Templates: time 0.002486/0.4594, allocations: 0.6054 MB / 0.5992 GB, free: 4.027 MB / 410.7 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/jenkins1/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