Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/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_cpp_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_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001608/0.001608, allocations: 172.8 kB / 8.146 MB, free: 2.195 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.702/1.702, allocations: 205.2 MB / 213.8 MB, free: 13.91 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001264/0.001263, allocations: 90.52 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.253/0.253, allocations: 43.49 MB / 353.2 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.816e-06/8.927e-06, allocations: 0 / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.264, allocations: 58.84 MB / 476.5 MB, free: 5.09 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1685/0.4326, allocations: 83.27 MB / 0.5467 GB, free: 15.8 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002946/0.433, allocations: 63.47 kB / 0.5467 GB, free: 15.75 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.006027/0.439, allocations: 0.5933 MB / 0.5473 GB, free: 15.16 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.4391, allocations: 0 / 0.5473 GB, free: 15.16 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.0004127/0.4395, allocations: 338.3 kB / 0.5477 GB, free: 14.78 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.813e-05/0.4396, allocations: 8.031 kB / 0.5477 GB, free: 14.77 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.444e-05/0.4397, allocations: 3.906 kB / 0.5477 GB, free: 14.77 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/0.4399, allocations: 171 kB / 0.5478 GB, free: 14.56 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.822e-05/0.4399, allocations: 4 kB / 0.5478 GB, free: 14.56 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.768e-05/0.44, allocations: 4 kB / 0.5478 GB, free: 14.55 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002225/0.4402, allocations: 47.91 kB / 0.5479 GB, free: 14.51 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.4404, allocations: 49.69 kB / 0.5479 GB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.4404, allocations: 0 / 0.5479 GB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.4405, allocations: 0 / 0.5479 GB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.4405, allocations: 4 kB / 0.5479 GB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002756/0.4408, allocations: 146.1 kB / 0.5481 GB, free: 14.27 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/0.441, allocations: 66.61 kB / 0.5481 GB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.402e-05/0.4411, allocations: 24.86 kB / 0.5482 GB, free: 14.17 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006556/0.4418, allocations: 263.2 kB / 0.5484 GB, free: 13.86 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/0.4419, allocations: 34.56 kB / 0.5484 GB, free: 13.81 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 3.576e-06/0.4419, allocations: 0 / 0.5484 GB, free: 13.81 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005304/0.4425, allocations: 85.7 kB / 0.5485 GB, free: 13.72 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.152e-05/0.4425, allocations: 51.41 kB / 0.5486 GB, free: 13.66 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.14e-05/0.4426, allocations: 85 kB / 0.5487 GB, free: 13.57 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.4427, allocations: 29.7 kB / 0.5487 GB, free: 13.54 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.273e-05/0.4428, allocations: 154.7 kB / 0.5488 GB, free: 13.38 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.753e-05/0.4429, allocations: 35.55 kB / 0.5489 GB, free: 13.35 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.065e-06/0.4429, allocations: 3.281 kB / 0.5489 GB, free: 13.35 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.4431, allocations: 314.8 kB / 0.5492 GB, free: 13.03 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.561e-05/0.4431, allocations: 12 kB / 0.5492 GB, free: 13.02 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.808e-05/0.4432, allocations: 16 kB / 0.5492 GB, free: 13 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000261/0.4435, allocations: 23.97 kB / 0.5492 GB, free: 12.98 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.4435, allocations: 0 / 0.5492 GB, free: 12.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004632/0.444, allocations: 89.59 kB / 0.5493 GB, free: 12.89 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.4441, allocations: 7.281 kB / 0.5493 GB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.4441, allocations: 4 kB / 0.5493 GB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/0.4441, allocations: 0 / 0.5493 GB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002345/0.4444, allocations: 12 kB / 0.5493 GB, free: 12.87 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.284e-05/0.4444, allocations: 8.281 kB / 0.5493 GB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.967e-05/0.4445, allocations: 0 / 0.5493 GB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.703e-05/0.4445, allocations: 0 / 0.5493 GB, free: 12.86 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 7.823e-05/0.4446, allocations: 35.05 kB / 0.5494 GB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.366e-05/0.4447, allocations: 11.83 kB / 0.5494 GB, free: 12.81 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006147/0.4453, allocations: 101.5 kB / 0.5495 GB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.407e-06/0.4453, allocations: 4 kB / 0.5495 GB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.235e-05/0.4454, allocations: 4 kB / 0.5495 GB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.4454, allocations: 0 / 0.5495 GB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002126/0.4456, allocations: 146.1 kB / 0.5496 GB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.4456, allocations: 0 / 0.5496 GB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002083/0.4459, allocations: 19.98 kB / 0.5496 GB, free: 12.49 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-05/0.4459, allocations: 4 kB / 0.5496 GB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.4459, allocations: 3.984 kB / 0.5496 GB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.4459, allocations: 0 / 0.5496 GB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.446, allocations: 4 kB / 0.5496 GB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004798/0.4465, allocations: 112.9 kB / 0.5498 GB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.333e-05/0.4465, allocations: 85.02 kB / 0.5498 GB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.64e-05/0.4466, allocations: 0 / 0.5498 GB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.883e-05/0.4467, allocations: 224 / 0.5498 GB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.263e-05/0.4467, allocations: 7.984 kB / 0.5498 GB, free: 12.24 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.4468, allocations: 3.938 kB / 0.5498 GB, free: 12.23 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.001e-05/0.4468, allocations: 79.28 kB / 0.5499 GB, free: 12.16 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003955/0.4472, allocations: 23.94 kB / 0.5499 GB, free: 12.13 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.0002544/0.4475, allocations: 119.2 kB / 0.5501 GB, free: 12.01 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002301/0.4478, allocations: 36 kB / 0.5501 GB, free: 11.97 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.4478, allocations: 4 kB / 0.5501 GB, free: 11.97 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.058e-05/0.4479, allocations: 28.31 kB / 0.5501 GB, free: 11.94 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001967/0.4481, allocations: 8.094 kB / 0.5501 GB, free: 11.93 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005263/0.4486, allocations: 117.5 kB / 0.5502 GB, free: 11.79 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004334/0.4491, allocations: 0.6997 MB / 0.5509 GB, free: 11.06 MB / 394.7 MB Notification: Performance of SimCode: time 1.262e-06/0.4491, allocations: 3.938 kB / 0.5509 GB, free: 11.06 MB / 394.7 MB Notification: Performance of Templates: time 0.004073/0.4532, allocations: 0.8342 MB / 0.5517 GB, free: 10.23 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches