Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep") [: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.000916/0.000916, allocations: 186.3 kB / 7.805 MB, free: 2.488 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.057/1.057, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.000813/0.000813, allocations: 82.92 kB / 261.4 MB, free: 13.55 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.1529/0.1529, allocations: 43.5 MB / 352.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.711e-06/5.941e-06, allocations: 0 / 417.7 MB, free: 14.56 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09192/0.09194, allocations: 58.84 MB / 476.6 MB, free: 3.629 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2294/0.3214, allocations: 83.15 MB / 0.5466 GB, free: 10.2 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001401/0.3216, allocations: 69.14 kB / 0.5467 GB, free: 10.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.001315/0.3229, allocations: 320.3 kB / 0.547 GB, free: 9.906 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.3229, allocations: 0 / 0.547 GB, free: 9.906 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0001386/0.3231, allocations: 313.2 kB / 0.5473 GB, free: 9.562 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.3231, allocations: 8.031 kB / 0.5473 GB, free: 9.555 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.288e-05/0.3231, allocations: 3.5 kB / 0.5473 GB, free: 9.555 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.366e-05/0.3232, allocations: 165.5 kB / 0.5474 GB, free: 9.355 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.3232, allocations: 7.156 kB / 0.5474 GB, free: 9.352 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.516e-05/0.3232, allocations: 0 / 0.5474 GB, free: 9.352 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.827e-05/0.3233, allocations: 11.84 kB / 0.5474 GB, free: 9.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.414e-05/0.3233, allocations: 37.12 kB / 0.5475 GB, free: 9.301 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.3234, allocations: 0 / 0.5475 GB, free: 9.301 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.3234, allocations: 0 / 0.5475 GB, free: 9.301 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.3234, allocations: 0.75 kB / 0.5475 GB, free: 9.301 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.071e-05/0.3235, allocations: 131.2 kB / 0.5476 GB, free: 9.137 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.3236, allocations: 26.53 kB / 0.5476 GB, free: 9.109 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.993e-05/0.3236, allocations: 10.92 kB / 0.5476 GB, free: 9.098 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002958/0.3239, allocations: 128.5 kB / 0.5478 GB, free: 8.961 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.054e-05/0.324, allocations: 38.41 kB / 0.5478 GB, free: 8.914 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/0.324, allocations: 2 kB / 0.5478 GB, free: 8.914 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.001075/0.325, allocations: 184.4 kB / 0.548 GB, free: 8.746 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.229e-05/0.3251, allocations: 52.72 kB / 0.548 GB, free: 8.684 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.241e-05/0.3251, allocations: 89.84 kB / 0.5481 GB, free: 8.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.236e-06/0.3251, allocations: 26.2 kB / 0.5481 GB, free: 8.559 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.006e-05/0.3251, allocations: 83.27 kB / 0.5482 GB, free: 8.477 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/0.3252, allocations: 19.2 kB / 0.5482 GB, free: 8.461 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-06/0.3252, allocations: 0 / 0.5482 GB, free: 8.461 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.288e-05/0.3252, allocations: 314.8 kB / 0.5485 GB, free: 8.145 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.535e-05/0.3252, allocations: 7.25 kB / 0.5485 GB, free: 8.141 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.758e-05/0.3253, allocations: 14.69 kB / 0.5486 GB, free: 8.133 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.012e-05/0.3253, allocations: 24.47 kB / 0.5486 GB, free: 8.113 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-07/0.3253, allocations: 1 kB / 0.5486 GB, free: 8.113 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001111/0.3254, allocations: 60.48 kB / 0.5486 GB, free: 8.055 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.586e-06/0.3255, allocations: 10.45 kB / 0.5487 GB, free: 8.047 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.3255, allocations: 2.312 kB / 0.5487 GB, free: 8.047 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-06/0.3255, allocations: 7.281 kB / 0.5487 GB, free: 8.043 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.3256, allocations: 19.98 kB / 0.5487 GB, free: 8.023 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.3256, allocations: 0 / 0.5487 GB, free: 8.023 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.001e-05/0.3257, allocations: 6.906 kB / 0.5487 GB, free: 8.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.3257, allocations: 4 kB / 0.5487 GB, free: 8.016 MB / 378.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 (5): * Single equations (assignments): 5 * 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 3.888e-05/0.3258, allocations: 110.3 kB / 0.5488 GB, free: 7.902 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.768e-06/0.3258, allocations: 3.906 kB / 0.5488 GB, free: 7.898 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001761/0.326, allocations: 82.72 kB / 0.5489 GB, free: 7.828 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.326, allocations: 0 / 0.5489 GB, free: 7.828 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.326, allocations: 0 / 0.5489 GB, free: 7.828 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.326, allocations: 0 / 0.5489 GB, free: 7.828 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004581/0.3265, allocations: 319.9 kB / 0.5492 GB, free: 7.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3265, allocations: 10.95 kB / 0.5492 GB, free: 7.473 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.3266, allocations: 19.98 kB / 0.5492 GB, free: 7.453 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3266, allocations: 0 / 0.5492 GB, free: 7.453 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.3266, allocations: 0 / 0.5492 GB, free: 7.453 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3266, allocations: 0 / 0.5492 GB, free: 7.453 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3266, allocations: 4 kB / 0.5492 GB, free: 7.449 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001255/0.3268, allocations: 180 kB / 0.5494 GB, free: 7.258 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.342e-05/0.3268, allocations: 81.05 kB / 0.5495 GB, free: 7.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.3268, allocations: 4 kB / 0.5495 GB, free: 7.156 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.3269, allocations: 15.83 kB / 0.5495 GB, free: 7.141 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.587e-05/0.327, allocations: 7.047 kB / 0.5495 GB, free: 7.137 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.327, allocations: 0 / 0.5495 GB, free: 7.137 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.321e-05/0.327, allocations: 82.53 kB / 0.5496 GB, free: 7.059 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002055/0.3272, allocations: 12 kB / 0.5496 GB, free: 7.047 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 8.909e-05/0.3273, allocations: 95.25 kB / 0.5497 GB, free: 6.945 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.108e-05/0.3274, allocations: 28.86 kB / 0.5497 GB, free: 6.922 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.3274, allocations: 0 / 0.5497 GB, free: 6.922 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.357e-05/0.3274, allocations: 15.44 kB / 0.5497 GB, free: 6.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001172/0.3275, allocations: 4 kB / 0.5497 GB, free: 6.906 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003166/0.3279, allocations: 90.53 kB / 0.5498 GB, free: 6.797 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001185/0.328, allocations: 0.7039 MB / 0.5505 GB, free: 6.07 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.328, allocations: 1.031 kB / 0.5505 GB, free: 6.07 MB / 378.7 MB Notification: Performance of Templates: time 0.001963/0.33, allocations: 0.632 MB / 0.5511 GB, free: 5.469 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches