Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_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 trunk/package.mo): time 0.002298/0.002298, allocations: 191.1 kB / 8.534 MB, free: 1.812 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 225.5 MB / 234.4 MB, free: 3.344 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009479/0.0009478, allocations: 92.22 kB / 286.3 MB, free: 5.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1996/0.1996, allocations: 45.14 MB / 383.3 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 5.801e-06/5.821e-06, allocations: 0 / 452.6 MB, free: 76.18 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1038, allocations: 63.24 MB / 0.5038 GB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3793/0.4831, allocations: 85.33 MB / 0.5871 GB, free: 1.539 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002199/0.4834, allocations: 65.72 kB / 0.5872 GB, free: 1.504 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.001285/0.4847, allocations: 265.3 kB / 0.5874 GB, free: 1.289 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.4847, allocations: 7.5 kB / 0.5874 GB, free: 1.285 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002223/0.4849, allocations: 322.3 kB / 0.5877 GB, free: 0.9258 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.485, allocations: 8.031 kB / 0.5877 GB, free: 0.918 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.187e-05/0.485, allocations: 0 / 0.5877 GB, free: 0.918 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.4851, allocations: 171 kB / 0.5879 GB, free: 0.7109 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.4852, allocations: 3.906 kB / 0.5879 GB, free: 0.707 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.4852, allocations: 0 / 0.5879 GB, free: 0.707 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.958e-05/0.4853, allocations: 11.94 kB / 0.5879 GB, free: 0.6992 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.133e-05/0.4853, allocations: 55.28 kB / 0.588 GB, free: 0.6367 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.4854, allocations: 0 / 0.588 GB, free: 0.6367 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.4854, allocations: 0 / 0.588 GB, free: 0.6367 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.4854, allocations: 0 / 0.588 GB, free: 0.6367 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002665/0.4857, allocations: 293.4 kB / 0.5883 GB, free: 320 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.445e-05/0.4857, allocations: 30.27 kB / 0.5883 GB, free: 284 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.322e-05/0.4857, allocations: 16.3 kB / 0.5883 GB, free: 268 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.4858, allocations: 0 / 0.5883 GB, free: 268 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.4858, allocations: 34.56 kB / 0.5883 GB, free: 224 kB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.4858, allocations: 2.625 kB / 0.5883 GB, free: 224 kB / 378.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001981/0.486, allocations: 44.66 kB / 0.5884 GB, free: 176 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.883e-05/0.486, allocations: 51.41 kB / 0.5884 GB, free: 112 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.933e-05/0.4861, allocations: 92.98 kB / 0.5885 GB, free: 12 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.134e-05/0.4862, allocations: 33.73 kB / 0.5885 GB, free: 15.97 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.431e-05/0.4862, allocations: 87.45 kB / 0.5886 GB, free: 15.89 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.014e-05/0.4862, allocations: 11.75 kB / 0.5886 GB, free: 15.88 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-06/0.4862, allocations: 0 / 0.5886 GB, free: 15.88 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.4864, allocations: 318 kB / 0.5889 GB, free: 15.56 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.368e-05/0.4864, allocations: 0 / 0.5889 GB, free: 15.56 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.659e-05/0.4864, allocations: 26.58 kB / 0.589 GB, free: 15.53 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.908e-05/0.4865, allocations: 11.81 kB / 0.589 GB, free: 15.52 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.4865, allocations: 0 / 0.589 GB, free: 15.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001038/0.4866, allocations: 52.64 kB / 0.589 GB, free: 15.47 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.4866, allocations: 7.906 kB / 0.589 GB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.4866, allocations: 7.938 kB / 0.589 GB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.4867, allocations: 3.984 kB / 0.589 GB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.055e-05/0.4867, allocations: 8 kB / 0.5891 GB, free: 15.44 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.4868, allocations: 0 / 0.5891 GB, free: 15.44 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.48e-05/0.4868, allocations: 3.938 kB / 0.5891 GB, free: 15.44 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.4868, allocations: 0 / 0.5891 GB, free: 15.44 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 7.864e-05/0.4869, allocations: 109 kB / 0.5892 GB, free: 15.32 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.525e-05/0.4869, allocations: 3.906 kB / 0.5892 GB, free: 15.32 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001563/0.4871, allocations: 61.86 kB / 0.5892 GB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.4871, allocations: 3.938 kB / 0.5892 GB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.4871, allocations: 4.438 kB / 0.5892 GB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.4871, allocations: 0 / 0.5892 GB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001474/0.4873, allocations: 137.2 kB / 0.5894 GB, free: 15.08 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.4873, allocations: 0 / 0.5894 GB, free: 15.08 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.172e-05/0.4873, allocations: 8.188 kB / 0.5894 GB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.4874, allocations: 8 kB / 0.5894 GB, free: 15.06 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.4874, allocations: 0 / 0.5894 GB, free: 15.06 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.4874, allocations: 4 kB / 0.5894 GB, free: 15.06 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.4874, allocations: 0 / 0.5894 GB, free: 15.06 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001473/0.4875, allocations: 151.8 kB / 0.5895 GB, free: 14.9 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.004e-05/0.4876, allocations: 77.11 kB / 0.5896 GB, free: 14.81 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.4876, allocations: 0 / 0.5896 GB, free: 14.81 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.779e-05/0.4877, allocations: 0 / 0.5896 GB, free: 14.81 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.236e-05/0.4877, allocations: 11.91 kB / 0.5896 GB, free: 14.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.4877, allocations: 0 / 0.5896 GB, free: 14.8 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.915e-05/0.4878, allocations: 79.28 kB / 0.5897 GB, free: 14.72 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002061/0.488, allocations: 4 kB / 0.5897 GB, free: 14.71 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.0001582/0.4881, allocations: 103.2 kB / 0.5898 GB, free: 14.61 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.8e-05/0.4882, allocations: 18.5 kB / 0.5898 GB, free: 14.59 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4882, allocations: 0 / 0.5898 GB, free: 14.59 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.764e-05/0.4883, allocations: 15.59 kB / 0.5898 GB, free: 14.58 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001383/0.4884, allocations: 11.88 kB / 0.5898 GB, free: 14.57 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002297/0.4887, allocations: 58.92 kB / 0.5899 GB, free: 14.49 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003249/0.489, allocations: 0.6915 MB / 0.5906 GB, free: 13.78 MB / 394.7 MB Notification: Performance of SimCode: time 2.8e-07/0.489, allocations: 0 / 0.5906 GB, free: 13.78 MB / 394.7 MB Notification: Performance of Templates: time 0.0024/0.4914, allocations: 448.5 kB / 0.591 GB, free: 13.35 MB / 394.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches