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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.0009368/0.0009369, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.208/1.208, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0007569/0.000757, allocations: 92.25 kB / 267 MB, free: 9.273 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.3227/0.3227, allocations: 43.47 MB / 358.6 MB, free: 51.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.59e-05/3.592e-05, allocations: 4 kB / 425.3 MB, free: 8.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1139, allocations: 58.84 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3452/0.4591, allocations: 84.01 MB / 0.5548 GB, free: 19.22 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001843/0.4594, allocations: 66.62 kB / 0.5549 GB, free: 19.19 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002373/0.4617, allocations: 0.9042 MB / 0.5558 GB, free: 18.54 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4618, allocations: 0 / 0.5558 GB, free: 18.54 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.4618, allocations: 0 / 0.5558 GB, free: 18.54 MB / 394.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.0001699/0.462, allocations: 323.8 kB / 0.5561 GB, free: 18.19 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.462, allocations: 8.781 kB / 0.5561 GB, free: 18.18 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.316e-05/0.462, allocations: 13.66 kB / 0.5561 GB, free: 18.18 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.883e-05/0.4621, allocations: 168 kB / 0.5563 GB, free: 17.97 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.4621, allocations: 4 kB / 0.5563 GB, free: 17.97 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.4622, allocations: 0 / 0.5563 GB, free: 17.97 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.4623, allocations: 58.06 kB / 0.5563 GB, free: 17.92 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.4623, allocations: 0 / 0.5563 GB, free: 17.92 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.4623, allocations: 3.812 kB / 0.5563 GB, free: 17.92 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.4623, allocations: 5.375 kB / 0.5563 GB, free: 17.91 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.98e-05/0.4624, allocations: 50.3 kB / 0.5564 GB, free: 17.88 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000131/0.4625, allocations: 178.5 kB / 0.5566 GB, free: 17.67 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.245e-05/0.4627, allocations: 72.39 kB / 0.5566 GB, free: 17.61 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.638e-05/0.4627, allocations: 28.59 kB / 0.5567 GB, free: 17.59 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002198/0.4629, allocations: 257.5 kB / 0.5569 GB, free: 17.29 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.753e-05/0.4629, allocations: 34.78 kB / 0.5569 GB, free: 17.25 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.052e-06/0.463, allocations: 0 / 0.5569 GB, free: 17.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001556/0.4631, allocations: 76.31 kB / 0.557 GB, free: 17.18 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.521e-05/0.4631, allocations: 55.41 kB / 0.5571 GB, free: 17.12 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.428e-05/0.4632, allocations: 96.64 kB / 0.5572 GB, free: 17.02 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.4632, allocations: 26.45 kB / 0.5572 GB, free: 16.99 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.11e-05/0.4632, allocations: 83.09 kB / 0.5573 GB, free: 16.91 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.344e-05/0.4633, allocations: 33.78 kB / 0.5573 GB, free: 16.88 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-06/0.4633, allocations: 3.875 kB / 0.5573 GB, free: 16.88 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.834e-05/0.4633, allocations: 317 kB / 0.5576 GB, free: 16.56 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.433e-05/0.4634, allocations: 11.81 kB / 0.5576 GB, free: 16.55 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.157e-05/0.4634, allocations: 15.88 kB / 0.5576 GB, free: 16.54 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.669e-05/0.4634, allocations: 28.58 kB / 0.5577 GB, free: 16.53 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4634, allocations: 4.125 kB / 0.5577 GB, free: 16.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.249e-05/0.4635, allocations: 77.25 kB / 0.5577 GB, free: 16.46 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.4636, allocations: 4.781 kB / 0.5577 GB, free: 16.45 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.4636, allocations: 0.6094 kB / 0.5577 GB, free: 16.45 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.4636, allocations: 4 kB / 0.5577 GB, free: 16.45 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.258e-05/0.4637, allocations: 15.52 kB / 0.5578 GB, free: 16.44 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.4637, allocations: 0 / 0.5578 GB, free: 16.44 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.095e-05/0.4637, allocations: 0 / 0.5578 GB, free: 16.44 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.4637, allocations: 4.75 kB / 0.5578 GB, free: 16.43 MB / 394.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 () * 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 4.023e-05/0.4638, allocations: 116.3 kB / 0.5579 GB, free: 16.32 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.907e-06/0.4638, allocations: 8.609 kB / 0.5579 GB, free: 16.31 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001538/0.4639, allocations: 95.95 kB / 0.558 GB, free: 16.24 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.464, allocations: 4 kB / 0.558 GB, free: 16.24 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.464, allocations: 1.031 kB / 0.558 GB, free: 16.24 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.464, allocations: 0.7969 kB / 0.558 GB, free: 16.24 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.135e-05/0.4641, allocations: 178.2 kB / 0.5581 GB, free: 16.03 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.4641, allocations: 3.953 kB / 0.5581 GB, free: 16.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.805e-05/0.4641, allocations: 17.62 kB / 0.5582 GB, free: 16.01 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.4641, allocations: 8.5 kB / 0.5582 GB, free: 16 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.4642, allocations: 0 / 0.5582 GB, free: 16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.4642, allocations: 5.359 kB / 0.5582 GB, free: 16 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.4642, allocations: 0 / 0.5582 GB, free: 16 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001045/0.4643, allocations: 106 kB / 0.5583 GB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.723e-05/0.4643, allocations: 82.95 kB / 0.5584 GB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.4643, allocations: 0.6562 kB / 0.5584 GB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.195e-05/0.4643, allocations: 3.938 kB / 0.5584 GB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.586e-05/0.4644, allocations: 13.59 kB / 0.5584 GB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.4644, allocations: 4.703 kB / 0.5584 GB, free: 15.79 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.353e-05/0.4644, allocations: 75.28 kB / 0.5585 GB, free: 15.71 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4644, allocations: 0 / 0.5585 GB, free: 15.71 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001649/0.4646, allocations: 24.34 kB / 0.5585 GB, free: 15.7 MB / 394.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 () * 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.0001144/0.4647, allocations: 110.6 kB / 0.5586 GB, free: 15.58 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.94e-05/0.4648, allocations: 52.92 kB / 0.5586 GB, free: 15.54 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.4648, allocations: 96 / 0.5586 GB, free: 15.54 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.19e-05/0.4648, allocations: 32.36 kB / 0.5587 GB, free: 15.52 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001023/0.465, allocations: 4 kB / 0.5587 GB, free: 15.51 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002045/0.4652, allocations: 98.36 kB / 0.5588 GB, free: 15.41 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.68e-05/0.4653, allocations: 0.6861 MB / 0.5594 GB, free: 14.71 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.598e-05/0.4653, allocations: 9.188 kB / 0.5594 GB, free: 14.7 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.873e-05/0.4653, allocations: 17.73 kB / 0.5595 GB, free: 14.69 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4654, allocations: 0 / 0.5595 GB, free: 14.69 MB / 394.7 MB Notification: Performance of Templates: time 0.002189/0.4675, allocations: 0.6032 MB / 0.56 GB, free: 14.32 MB / 394.7 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