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.0009079/0.0009078, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.483/1.483, allocations: 205.3 MB / 213.7 MB, free: 1.664 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008642/0.000864, allocations: 79.88 kB / 261.7 MB, free: 1.621 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.1967/0.1967, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.403e-05/1.407e-05, allocations: 4 kB / 418.2 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1065, allocations: 58.86 MB / 477.1 MB, free: 1.645 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3669/0.4735, allocations: 83.34 MB / 0.5473 GB, free: 9.023 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001785/0.4737, allocations: 62.02 kB / 0.5474 GB, free: 9.023 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002291/0.476, allocations: 0.9049 MB / 0.5483 GB, free: 8.676 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.4761, allocations: 0 / 0.5483 GB, free: 8.676 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.4761, allocations: 0 / 0.5483 GB, free: 8.676 MB / 362.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.0001974/0.4763, allocations: 334.8 kB / 0.5486 GB, free: 8.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.4763, allocations: 11.56 kB / 0.5486 GB, free: 8.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.588e-05/0.4764, allocations: 3.062 kB / 0.5486 GB, free: 8.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.967e-05/0.4765, allocations: 174.2 kB / 0.5488 GB, free: 8.117 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.4765, allocations: 0 / 0.5488 GB, free: 8.117 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.998e-06/0.4765, allocations: 3.906 kB / 0.5488 GB, free: 8.117 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000106/0.4766, allocations: 48.66 kB / 0.5488 GB, free: 8.113 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.787e-05/0.4767, allocations: 47.84 kB / 0.5489 GB, free: 8.082 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.4767, allocations: 0 / 0.5489 GB, free: 8.082 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.4767, allocations: 0 / 0.5489 GB, free: 8.082 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.4767, allocations: 7.719 kB / 0.5489 GB, free: 8.078 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001461/0.4769, allocations: 146.7 kB / 0.549 GB, free: 7.914 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.477, allocations: 70.59 kB / 0.5491 GB, free: 7.887 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.939e-05/0.477, allocations: 23.83 kB / 0.5491 GB, free: 7.879 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002501/0.4773, allocations: 252.9 kB / 0.5493 GB, free: 7.598 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.4773, allocations: 34.56 kB / 0.5494 GB, free: 7.555 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.4773, allocations: 0 / 0.5494 GB, free: 7.555 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002594/0.4776, allocations: 80.77 kB / 0.5494 GB, free: 7.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.212e-05/0.4776, allocations: 54.59 kB / 0.5495 GB, free: 7.457 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.445e-05/0.4777, allocations: 88.5 kB / 0.5496 GB, free: 7.367 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.4777, allocations: 25.7 kB / 0.5496 GB, free: 7.336 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.895e-05/0.4777, allocations: 87.36 kB / 0.5497 GB, free: 7.254 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.273e-05/0.4778, allocations: 33.58 kB / 0.5497 GB, free: 7.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/0.4778, allocations: 4.125 kB / 0.5497 GB, free: 7.227 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.421e-05/0.4779, allocations: 313.6 kB / 0.55 GB, free: 6.914 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.497e-05/0.4779, allocations: 14.56 kB / 0.55 GB, free: 6.914 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.137e-05/0.4779, allocations: 19.62 kB / 0.5501 GB, free: 6.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.66e-05/0.478, allocations: 20.31 kB / 0.5501 GB, free: 6.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.478, allocations: 0 / 0.5501 GB, free: 6.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001461/0.4782, allocations: 85.38 kB / 0.5502 GB, free: 6.871 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.4782, allocations: 3.906 kB / 0.5502 GB, free: 6.871 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.4782, allocations: 2.625 kB / 0.5502 GB, free: 6.871 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.4782, allocations: 3.969 kB / 0.5502 GB, free: 6.871 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.273e-05/0.4783, allocations: 15.56 kB / 0.5502 GB, free: 6.867 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.4784, allocations: 3.938 kB / 0.5502 GB, free: 6.863 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.53e-05/0.4784, allocations: 7.047 kB / 0.5502 GB, free: 6.859 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.433e-06/0.4784, allocations: 3.969 kB / 0.5502 GB, free: 6.859 MB / 362.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 5.951e-05/0.4785, allocations: 101 kB / 0.5503 GB, free: 6.754 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.458e-05/0.4785, allocations: 11.45 kB / 0.5503 GB, free: 6.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002256/0.4787, allocations: 94.3 kB / 0.5504 GB, free: 6.707 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.4787, allocations: 4 kB / 0.5504 GB, free: 6.703 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.4787, allocations: 0 / 0.5504 GB, free: 6.703 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.4788, allocations: 0 / 0.5504 GB, free: 6.703 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.898e-05/0.4789, allocations: 156.8 kB / 0.5505 GB, free: 6.539 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.4789, allocations: 0 / 0.5505 GB, free: 6.539 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.119e-05/0.4789, allocations: 14.06 kB / 0.5506 GB, free: 6.539 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.4789, allocations: 0 / 0.5506 GB, free: 6.539 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.479, allocations: 8.234 kB / 0.5506 GB, free: 6.535 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.479, allocations: 0 / 0.5506 GB, free: 6.535 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.479, allocations: 0 / 0.5506 GB, free: 6.535 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001727/0.4792, allocations: 115.5 kB / 0.5507 GB, free: 6.461 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.15e-05/0.4792, allocations: 85.2 kB / 0.5508 GB, free: 6.363 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.4792, allocations: 0 / 0.5508 GB, free: 6.363 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.214e-05/0.4792, allocations: 7.891 kB / 0.5508 GB, free: 6.355 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.515e-05/0.4793, allocations: 9.797 kB / 0.5508 GB, free: 6.355 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.4793, allocations: 0 / 0.5508 GB, free: 6.355 MB / 362.7 MB Notification: Performance of sorting global known variables: time 1.792e-05/0.4793, allocations: 79.09 kB / 0.5509 GB, free: 6.281 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4793, allocations: 0 / 0.5509 GB, free: 6.281 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000201/0.4795, allocations: 25.64 kB / 0.5509 GB, free: 6.27 MB / 362.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.0001541/0.4797, allocations: 109.3 kB / 0.551 GB, free: 6.176 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001146/0.4798, allocations: 44.56 kB / 0.551 GB, free: 6.172 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.4798, allocations: 0 / 0.551 GB, free: 6.172 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.087e-05/0.4798, allocations: 25.34 kB / 0.551 GB, free: 6.172 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001251/0.48, allocations: 2.766 kB / 0.551 GB, free: 6.172 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000268/0.4802, allocations: 81.94 kB / 0.5511 GB, free: 6.105 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001468/0.4804, allocations: 0.7012 MB / 0.5518 GB, free: 5.395 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.566e-05/0.4804, allocations: 7.625 kB / 0.5518 GB, free: 5.395 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.947e-05/0.4805, allocations: 11.25 kB / 0.5518 GB, free: 5.387 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.4805, allocations: 0 / 0.5518 GB, free: 5.387 MB / 362.7 MB Notification: Performance of Templates: time 0.002414/0.4829, allocations: 0.6009 MB / 0.5524 GB, free: 5.312 MB / 362.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