Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") [: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.0009132/0.0009132, allocations: 191.5 kB / 7.807 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.086/1.086, allocations: 205.2 MB / 213.4 MB, free: 13.93 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.0008243/0.0008243, allocations: 97.92 kB / 261.4 MB, free: 13.63 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.1566/0.1566, allocations: 43.48 MB / 352.8 MB, free: 2.051 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.073e-06/7.083e-06, allocations: 0 / 417.7 MB, free: 40.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.2194, allocations: 58.84 MB / 476.6 MB, free: 5.219 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.102/0.3215, allocations: 84.54 MB / 0.5479 GB, free: 14.43 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001999/0.3217, allocations: 63.97 kB / 0.548 GB, free: 14.37 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.0243/0.346, allocations: 7.922 MB / 0.5557 GB, free: 6.445 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.3461, allocations: 0 / 0.5557 GB, free: 6.445 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002471/0.3463, allocations: 338.3 kB / 0.5561 GB, free: 6.07 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.3464, allocations: 8.031 kB / 0.5561 GB, free: 6.062 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.75e-05/0.3464, allocations: 7.938 kB / 0.5561 GB, free: 6.055 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.287e-05/0.3465, allocations: 163 kB / 0.5562 GB, free: 5.855 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.3465, allocations: 0 / 0.5562 GB, free: 5.855 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.426e-06/0.3465, allocations: 0 / 0.5562 GB, free: 5.855 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.478e-05/0.3466, allocations: 4 kB / 0.5562 GB, free: 5.852 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.316e-05/0.3466, allocations: 37.61 kB / 0.5563 GB, free: 5.809 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.999e-06/0.3466, allocations: 0 / 0.5563 GB, free: 5.809 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.3467, allocations: 3.984 kB / 0.5563 GB, free: 5.805 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.3467, allocations: 4 kB / 0.5563 GB, free: 5.801 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001014/0.3468, allocations: 122.2 kB / 0.5564 GB, free: 5.645 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.401e-05/0.3468, allocations: 26.53 kB / 0.5564 GB, free: 5.609 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.327e-05/0.3468, allocations: 4.859 kB / 0.5564 GB, free: 5.602 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.3469, allocations: 4 kB / 0.5564 GB, free: 5.598 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.3469, allocations: 34.62 kB / 0.5565 GB, free: 5.555 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.3469, allocations: 0 / 0.5565 GB, free: 5.555 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001309/0.347, allocations: 41.59 kB / 0.5565 GB, free: 5.508 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.135e-05/0.347, allocations: 51.41 kB / 0.5566 GB, free: 5.445 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.41e-05/0.3471, allocations: 89 kB / 0.5566 GB, free: 5.352 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.3471, allocations: 25.7 kB / 0.5567 GB, free: 5.32 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.014e-05/0.3472, allocations: 84.3 kB / 0.5567 GB, free: 5.234 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.3472, allocations: 0 / 0.5567 GB, free: 5.234 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.234e-06/0.3472, allocations: 0 / 0.5567 GB, free: 5.234 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.04e-05/0.3473, allocations: 318.8 kB / 0.557 GB, free: 4.914 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.554e-06/0.3473, allocations: 0 / 0.557 GB, free: 4.914 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.921e-06/0.3473, allocations: 0 / 0.557 GB, free: 4.914 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.146e-05/0.3473, allocations: 11.92 kB / 0.5571 GB, free: 4.902 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.3473, allocations: 0 / 0.5571 GB, free: 4.902 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.797e-05/0.3474, allocations: 41.67 kB / 0.5571 GB, free: 4.855 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.548e-06/0.3474, allocations: 6.812 kB / 0.5571 GB, free: 4.852 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.3474, allocations: 0 / 0.5571 GB, free: 4.852 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.3475, allocations: 4 kB / 0.5571 GB, free: 4.848 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-07/0.3475, allocations: 0 / 0.5571 GB, free: 4.848 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.946e-06/0.3475, allocations: 0 / 0.5571 GB, free: 4.848 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.657e-05/0.3475, allocations: 0 / 0.5571 GB, free: 4.848 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.3475, allocations: 3.938 kB / 0.5571 GB, free: 4.844 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 6.842e-05/0.3476, allocations: 104.9 kB / 0.5572 GB, free: 4.734 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.116e-05/0.3476, allocations: 11.89 kB / 0.5572 GB, free: 4.723 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001171/0.3477, allocations: 48.83 kB / 0.5573 GB, free: 4.664 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.3477, allocations: 0 / 0.5573 GB, free: 4.664 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.3477, allocations: 0 / 0.5573 GB, free: 4.664 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.3477, allocations: 0 / 0.5573 GB, free: 4.664 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.368e-05/0.3478, allocations: 138.2 kB / 0.5574 GB, free: 4.492 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.076e-06/0.3478, allocations: 7.938 kB / 0.5574 GB, free: 4.484 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.6e-07/0.3478, allocations: 0 / 0.5574 GB, free: 4.484 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.3478, allocations: 0 / 0.5574 GB, free: 4.484 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.989e-06/0.3478, allocations: 0 / 0.5574 GB, free: 4.484 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.3478, allocations: 4 kB / 0.5574 GB, free: 4.48 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3479, allocations: 0 / 0.5574 GB, free: 4.48 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.365e-05/0.3479, allocations: 61.12 kB / 0.5575 GB, free: 4.402 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.401e-05/0.348, allocations: 81.02 kB / 0.5575 GB, free: 4.305 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.829e-06/0.348, allocations: 4.031 kB / 0.5576 GB, free: 4.301 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.746e-05/0.348, allocations: 4 kB / 0.5576 GB, free: 4.297 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.146e-05/0.348, allocations: 3.984 kB / 0.5576 GB, free: 4.293 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.348, allocations: 0 / 0.5576 GB, free: 4.293 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.719e-05/0.3481, allocations: 79.28 kB / 0.5576 GB, free: 4.215 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002204/0.3483, allocations: 47.94 kB / 0.5577 GB, free: 4.168 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002337/0.3485, allocations: 147.1 kB / 0.5578 GB, free: 4.016 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 6.161e-05/0.3486, allocations: 37.8 kB / 0.5579 GB, free: 3.973 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3486, allocations: 0 / 0.5579 GB, free: 3.973 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.665e-05/0.3486, allocations: 25.7 kB / 0.5579 GB, free: 3.941 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.842e-05/0.3487, allocations: 7.438 kB / 0.5579 GB, free: 3.938 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001886/0.3489, allocations: 44.06 kB / 0.5579 GB, free: 3.871 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001775/0.3491, allocations: 0.6841 MB / 0.5586 GB, free: 3.16 MB / 394.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3491, allocations: 0 / 0.5586 GB, free: 3.16 MB / 394.7 MB Notification: Performance of Templates: time 0.002439/0.3516, allocations: 0.9949 MB / 0.5596 GB, free: 2.164 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches