Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") [: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 4.0.0+maint.om/package.mo): time 0.001021/0.00102, allocations: 181.3 kB / 8.518 MB, free: 1.855 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 221.4 MB / 230.3 MB, free: 7.668 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 82.03 kB / 281.2 MB, free: 5.465 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1909/0.1909, allocations: 44.15 MB / 376.1 MB, free: 3.227 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.1e-05/1.102e-05, allocations: 0 / 444 MB, free: 15.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1592, allocations: 61.91 MB / 0.4941 GB, free: 1.645 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3588/0.518, allocations: 84.3 MB / 0.5764 GB, free: 12.44 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001729/0.5182, allocations: 60.5 kB / 0.5765 GB, free: 12.41 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.001291/0.5195, allocations: 265.8 kB / 0.5767 GB, free: 12.2 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.301e-06/0.5196, allocations: 0 / 0.5767 GB, free: 12.2 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002954/0.5199, allocations: 325.4 kB / 0.577 GB, free: 11.84 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.5199, allocations: 11.97 kB / 0.577 GB, free: 11.83 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.75e-05/0.5199, allocations: 4 kB / 0.577 GB, free: 11.82 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.5201, allocations: 163.8 kB / 0.5772 GB, free: 11.62 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.5201, allocations: 0 / 0.5772 GB, free: 11.62 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.5201, allocations: 7.906 kB / 0.5772 GB, free: 11.62 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.352e-05/0.5202, allocations: 8.375 kB / 0.5772 GB, free: 11.61 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.011e-05/0.5203, allocations: 54.91 kB / 0.5773 GB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.5203, allocations: 0 / 0.5773 GB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.5203, allocations: 0 / 0.5773 GB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.5203, allocations: 0 / 0.5773 GB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003562/0.5207, allocations: 312.4 kB / 0.5776 GB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.408e-05/0.5207, allocations: 19.64 kB / 0.5776 GB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.907e-05/0.5208, allocations: 15.86 kB / 0.5776 GB, free: 11.17 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.5208, allocations: 0 / 0.5776 GB, free: 11.17 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.5208, allocations: 35.06 kB / 0.5776 GB, free: 11.12 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.5208, allocations: 4 kB / 0.5776 GB, free: 11.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001852/0.521, allocations: 45.41 kB / 0.5777 GB, free: 11.07 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.521, allocations: 51.41 kB / 0.5777 GB, free: 11.01 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.409e-05/0.5211, allocations: 90.25 kB / 0.5778 GB, free: 10.92 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.5211, allocations: 25.7 kB / 0.5778 GB, free: 10.89 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.121e-05/0.5212, allocations: 89.16 kB / 0.5779 GB, free: 10.8 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.263e-05/0.5212, allocations: 16.28 kB / 0.5779 GB, free: 10.79 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/0.5212, allocations: 0 / 0.5779 GB, free: 10.79 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.5213, allocations: 316.3 kB / 0.5782 GB, free: 10.47 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.716e-05/0.5213, allocations: 5.812 kB / 0.5782 GB, free: 10.46 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.3e-05/0.5214, allocations: 16.28 kB / 0.5783 GB, free: 10.45 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.45e-05/0.5214, allocations: 9.547 kB / 0.5783 GB, free: 10.44 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.5214, allocations: 3.938 kB / 0.5783 GB, free: 10.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001079/0.5216, allocations: 49.38 kB / 0.5783 GB, free: 10.38 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.5216, allocations: 8 kB / 0.5783 GB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.5216, allocations: 0 / 0.5783 GB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.5216, allocations: 8.031 kB / 0.5783 GB, free: 10.37 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.821e-05/0.5217, allocations: 12.61 kB / 0.5783 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.5217, allocations: 0.75 kB / 0.5783 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.658e-05/0.5217, allocations: 7.922 kB / 0.5784 GB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.5217, allocations: 4.5 kB / 0.5784 GB, free: 10.34 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 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 6.713e-05/0.5218, allocations: 104.9 kB / 0.5785 GB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.724e-05/0.5218, allocations: 4.406 kB / 0.5785 GB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001461/0.522, allocations: 64.67 kB / 0.5785 GB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.522, allocations: 4 kB / 0.5785 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.522, allocations: 0 / 0.5785 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.522, allocations: 7.938 kB / 0.5785 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/0.5222, allocations: 138 kB / 0.5787 GB, free: 9.988 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.5222, allocations: 0 / 0.5787 GB, free: 9.988 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.317e-05/0.5222, allocations: 4 kB / 0.5787 GB, free: 9.984 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.533e-06/0.5222, allocations: 4 kB / 0.5787 GB, free: 9.98 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.5222, allocations: 3.938 kB / 0.5787 GB, free: 9.977 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.5222, allocations: 0 / 0.5787 GB, free: 9.977 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.5223, allocations: 0 / 0.5787 GB, free: 9.977 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001408/0.5224, allocations: 155.4 kB / 0.5788 GB, free: 9.809 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.068e-05/0.5224, allocations: 81.11 kB / 0.5789 GB, free: 9.711 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.5225, allocations: 3.984 kB / 0.5789 GB, free: 9.707 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.171e-05/0.5225, allocations: 0 / 0.5789 GB, free: 9.707 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.502e-05/0.5225, allocations: 0 / 0.5789 GB, free: 9.707 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.5226, allocations: 4 kB / 0.5789 GB, free: 9.703 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.889e-05/0.5226, allocations: 83.19 kB / 0.579 GB, free: 9.621 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002194/0.5228, allocations: 4 kB / 0.579 GB, free: 9.617 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 (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 0.0001192/0.5229, allocations: 99.34 kB / 0.5791 GB, free: 9.512 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.7e-05/0.523, allocations: 27.92 kB / 0.5791 GB, free: 9.484 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.523, allocations: 0 / 0.5791 GB, free: 9.484 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.25e-05/0.5231, allocations: 12 kB / 0.5791 GB, free: 9.473 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001247/0.5232, allocations: 0 / 0.5791 GB, free: 9.473 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001889/0.5234, allocations: 64.3 kB / 0.5792 GB, free: 9.387 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002587/0.5236, allocations: 0.6877 MB / 0.5799 GB, free: 8.676 MB / 394.7 MB Notification: Performance of SimCode: time 2.384e-06/0.5237, allocations: 4 kB / 0.5799 GB, free: 8.672 MB / 394.7 MB Notification: Performance of Templates: time 0.002127/0.5258, allocations: 458.2 kB / 0.5803 GB, free: 8.227 MB / 394.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches