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") [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001131/0.001131, allocations: 190.2 kB / 7.801 MB, free: 2.496 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.031/1.031, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.000755/0.000755, allocations: 98.66 kB / 261.4 MB, free: 13.54 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.1627/0.1627, allocations: 43.49 MB / 352.8 MB, free: 1.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.21e-06/5.24e-06, allocations: 4 kB / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2326, allocations: 58.83 MB / 476.5 MB, free: 5.223 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1021/0.3347, allocations: 83.28 MB / 0.5467 GB, free: 15.68 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001736/0.3349, allocations: 67.97 kB / 0.5468 GB, free: 15.61 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.002331/0.3372, allocations: 0.5901 MB / 0.5473 GB, free: 15.03 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.3373, allocations: 0 / 0.5473 GB, free: 15.03 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.0002045/0.3375, allocations: 334.3 kB / 0.5477 GB, free: 14.66 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.3375, allocations: 8.031 kB / 0.5477 GB, free: 14.65 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.66e-05/0.3376, allocations: 11.91 kB / 0.5477 GB, free: 14.64 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.252e-05/0.3376, allocations: 167 kB / 0.5478 GB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.3377, allocations: 4 kB / 0.5478 GB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-06/0.3377, allocations: 0 / 0.5478 GB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001122/0.3378, allocations: 51.89 kB / 0.5479 GB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.492e-05/0.3379, allocations: 49.69 kB / 0.5479 GB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.051e-06/0.3379, allocations: 0 / 0.5479 GB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.3379, allocations: 0 / 0.5479 GB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.338, allocations: 0 / 0.5479 GB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001447/0.3381, allocations: 154.1 kB / 0.5481 GB, free: 14.14 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.034e-05/0.3382, allocations: 70.59 kB / 0.5482 GB, free: 14.06 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.268e-05/0.3382, allocations: 24.86 kB / 0.5482 GB, free: 14.03 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002805/0.3385, allocations: 251.3 kB / 0.5484 GB, free: 13.73 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.3386, allocations: 38.55 kB / 0.5485 GB, free: 13.68 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.3386, allocations: 0 / 0.5485 GB, free: 13.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002243/0.3388, allocations: 85.7 kB / 0.5485 GB, free: 13.59 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.3388, allocations: 55.41 kB / 0.5486 GB, free: 13.53 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.68e-05/0.3389, allocations: 85 kB / 0.5487 GB, free: 13.44 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.3389, allocations: 25.7 kB / 0.5487 GB, free: 13.41 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.315e-05/0.3389, allocations: 80.14 kB / 0.5488 GB, free: 13.32 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.377e-05/0.339, allocations: 31.55 kB / 0.5488 GB, free: 13.29 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-06/0.339, allocations: 3.172 kB / 0.5488 GB, free: 13.29 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.087e-05/0.3391, allocations: 326.9 kB / 0.5491 GB, free: 12.96 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.488e-05/0.3391, allocations: 12 kB / 0.5491 GB, free: 12.95 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.094e-05/0.3391, allocations: 12.09 kB / 0.5491 GB, free: 12.94 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.293e-05/0.3392, allocations: 28.09 kB / 0.5492 GB, free: 12.91 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.3392, allocations: 0 / 0.5492 GB, free: 12.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001583/0.3394, allocations: 85.61 kB / 0.5492 GB, free: 12.82 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.308e-06/0.3394, allocations: 6.812 kB / 0.5493 GB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3394, allocations: 4 kB / 0.5493 GB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.784e-06/0.3394, allocations: 0 / 0.5493 GB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.209e-05/0.3395, allocations: 23.89 kB / 0.5493 GB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.3395, allocations: 0 / 0.5493 GB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.301e-05/0.3396, allocations: 0 / 0.5493 GB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.3396, allocations: 4 kB / 0.5493 GB, free: 12.79 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 5.133e-05/0.3396, allocations: 106.3 kB / 0.5494 GB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.116e-05/0.3397, allocations: 7.906 kB / 0.5494 GB, free: 12.67 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002215/0.3399, allocations: 101.5 kB / 0.5495 GB, free: 12.56 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.3399, allocations: 0 / 0.5495 GB, free: 12.56 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.3399, allocations: 4 kB / 0.5495 GB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3399, allocations: 0 / 0.5495 GB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.85e-05/0.34, allocations: 150.1 kB / 0.5496 GB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.34, allocations: 0 / 0.5496 GB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.598e-05/0.3401, allocations: 15.98 kB / 0.5496 GB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.3401, allocations: 4 kB / 0.5497 GB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.3401, allocations: 0 / 0.5497 GB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3401, allocations: 0 / 0.5497 GB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3401, allocations: 7.906 kB / 0.5497 GB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001705/0.3403, allocations: 125.1 kB / 0.5498 GB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.869e-05/0.3403, allocations: 81.02 kB / 0.5499 GB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.3404, allocations: 224 / 0.5499 GB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.606e-05/0.3404, allocations: 0 / 0.5499 GB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.476e-05/0.3404, allocations: 7.938 kB / 0.5499 GB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.3404, allocations: 7.984 kB / 0.5499 GB, free: 12.09 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.139e-05/0.3404, allocations: 75.28 kB / 0.5499 GB, free: 12.02 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001908/0.3406, allocations: 19.94 kB / 0.55 GB, free: 12 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.0001376/0.3408, allocations: 115.3 kB / 0.5501 GB, free: 11.88 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.579e-05/0.3409, allocations: 47.98 kB / 0.5501 GB, free: 11.83 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.3409, allocations: 0 / 0.5501 GB, free: 11.83 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.528e-05/0.3409, allocations: 31.94 kB / 0.5502 GB, free: 11.8 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.585e-05/0.341, allocations: 7.344 kB / 0.5502 GB, free: 11.79 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000219/0.3413, allocations: 83.78 kB / 0.5502 GB, free: 11.69 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002048/0.3415, allocations: 0.7075 MB / 0.5509 GB, free: 10.95 MB / 394.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3415, allocations: 3.938 kB / 0.5509 GB, free: 10.95 MB / 394.7 MB Notification: Performance of Templates: time 0.002273/0.3438, allocations: 0.7516 MB / 0.5517 GB, free: 10.2 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