Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") [: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.0009382/0.0009383, allocations: 192.5 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.035/1.035, 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.0008928/0.0008931, allocations: 87.47 kB / 261.4 MB, free: 13.52 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.1553/0.1553, allocations: 43.48 MB / 352.8 MB, free: 1.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.122e-06/6.132e-06, allocations: 4 kB / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2213, allocations: 58.84 MB / 476.5 MB, free: 5.227 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1014/0.3228, allocations: 84.53 MB / 0.5479 GB, free: 14.43 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001974/0.323, allocations: 63.97 kB / 0.548 GB, free: 14.37 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02407/0.3471, allocations: 7.914 MB / 0.5557 GB, free: 6.453 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.3471, allocations: 4 kB / 0.5557 GB, free: 6.449 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002694/0.3474, allocations: 342.3 kB / 0.556 GB, free: 6.07 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.3475, allocations: 15.97 kB / 0.5561 GB, free: 6.055 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.891e-05/0.3475, allocations: 3.938 kB / 0.5561 GB, free: 6.051 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.465e-05/0.3476, allocations: 163 kB / 0.5562 GB, free: 5.852 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.3476, allocations: 0 / 0.5562 GB, free: 5.852 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.576e-06/0.3476, allocations: 0 / 0.5562 GB, free: 5.852 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.044e-05/0.3477, allocations: 4 kB / 0.5562 GB, free: 5.848 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.34e-05/0.3477, allocations: 45.58 kB / 0.5563 GB, free: 5.797 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.042e-06/0.3478, allocations: 0 / 0.5563 GB, free: 5.797 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.3478, allocations: 4 kB / 0.5563 GB, free: 5.793 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.3478, allocations: 0 / 0.5563 GB, free: 5.793 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002665/0.348, allocations: 229.4 kB / 0.5565 GB, free: 5.531 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.459e-05/0.3481, allocations: 18.52 kB / 0.5565 GB, free: 5.504 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.424e-05/0.3481, allocations: 8.922 kB / 0.5565 GB, free: 5.492 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.3481, allocations: 0 / 0.5565 GB, free: 5.492 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.802e-05/0.3482, allocations: 34.56 kB / 0.5566 GB, free: 5.449 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.3482, allocations: 0 / 0.5566 GB, free: 5.449 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001544/0.3483, allocations: 33.7 kB / 0.5566 GB, free: 5.41 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.697e-05/0.3484, allocations: 51.41 kB / 0.5566 GB, free: 5.348 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.085e-05/0.3484, allocations: 96.98 kB / 0.5567 GB, free: 5.246 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.3484, allocations: 25.7 kB / 0.5568 GB, free: 5.215 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.473e-05/0.3485, allocations: 84.05 kB / 0.5568 GB, free: 5.129 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.51e-06/0.3485, allocations: 8.062 kB / 0.5568 GB, free: 5.121 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.474e-06/0.3485, allocations: 0 / 0.5568 GB, free: 5.121 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.3486, allocations: 310.8 kB / 0.5571 GB, free: 4.809 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.161e-05/0.3486, allocations: 11.94 kB / 0.5571 GB, free: 4.797 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.917e-05/0.3486, allocations: 18.58 kB / 0.5572 GB, free: 4.77 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.197e-05/0.3487, allocations: 7.984 kB / 0.5572 GB, free: 4.762 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.3487, allocations: 4 kB / 0.5572 GB, free: 4.758 MB / 394.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.372e-05/0.3488, allocations: 41.64 kB / 0.5572 GB, free: 4.711 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.997e-06/0.3488, allocations: 6.812 kB / 0.5572 GB, free: 4.707 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.3488, allocations: 0 / 0.5572 GB, free: 4.707 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.3488, allocations: 4 kB / 0.5572 GB, free: 4.703 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.253e-05/0.3489, allocations: 7.984 kB / 0.5572 GB, free: 4.695 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.3489, allocations: 3.984 kB / 0.5572 GB, free: 4.691 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.681e-05/0.3489, allocations: 7.844 kB / 0.5572 GB, free: 4.684 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.3489, allocations: 4 kB / 0.5572 GB, free: 4.68 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * 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 5.215e-05/0.349, allocations: 109.1 kB / 0.5574 GB, free: 4.566 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/0.349, allocations: 0 / 0.5574 GB, free: 4.566 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.3491, allocations: 44.78 kB / 0.5574 GB, free: 4.512 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.3491, allocations: 7.906 kB / 0.5574 GB, free: 4.504 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.3491, allocations: 0 / 0.5574 GB, free: 4.504 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.3491, allocations: 0 / 0.5574 GB, free: 4.504 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.849e-05/0.3492, allocations: 134.2 kB / 0.5575 GB, free: 4.336 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/0.3493, allocations: 4 kB / 0.5575 GB, free: 4.332 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.3493, allocations: 0 / 0.5575 GB, free: 4.332 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.3493, allocations: 0 / 0.5575 GB, free: 4.332 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.3493, allocations: 3.984 kB / 0.5575 GB, free: 4.328 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.3493, allocations: 0 / 0.5575 GB, free: 4.328 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3493, allocations: 0 / 0.5575 GB, free: 4.328 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.097e-05/0.3494, allocations: 131.5 kB / 0.5577 GB, free: 4.184 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.495e-05/0.3494, allocations: 81.14 kB / 0.5577 GB, free: 4.086 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.046e-05/0.3494, allocations: 4 kB / 0.5577 GB, free: 4.082 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.366e-05/0.3495, allocations: 4.078 kB / 0.5577 GB, free: 4.078 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.12e-05/0.3495, allocations: 7.891 kB / 0.5578 GB, free: 4.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-06/0.3495, allocations: 0 / 0.5578 GB, free: 4.07 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.51e-05/0.3495, allocations: 79.28 kB / 0.5578 GB, free: 3.992 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002585/0.3498, allocations: 55.88 kB / 0.5579 GB, free: 3.938 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.000246/0.3501, allocations: 147.2 kB / 0.558 GB, free: 3.785 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.726e-05/0.3501, allocations: 29.7 kB / 0.5581 GB, free: 3.75 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.3502, allocations: 4 kB / 0.5581 GB, free: 3.746 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.924e-05/0.3502, allocations: 25.7 kB / 0.5581 GB, free: 3.715 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001304/0.3503, allocations: 11.44 kB / 0.5581 GB, free: 3.707 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001992/0.3505, allocations: 48 kB / 0.5581 GB, free: 3.637 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002145/0.3507, allocations: 0.688 MB / 0.5588 GB, free: 2.922 MB / 394.7 MB Notification: Performance of SimCode: time 1.373e-06/0.3508, allocations: 0 / 0.5588 GB, free: 2.922 MB / 394.7 MB Notification: Performance of Templates: time 0.002588/0.3534, allocations: 0.9683 MB / 0.5598 GB, free: 1.957 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/Test02RegFun3/Test02RegFun3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches