Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001322/0.001322, allocations: 114.5 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001392/0.001392, allocations: 211.4 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 230.2 MB / 257.8 MB, free: 8.488 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2405/0.2405, allocations: 46.88 MB / 361.1 MB, free: 4.617 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002379/0.002379, allocations: 79.86 kB / 0.4967 GB, free: 7.809 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2954, allocations: 65.98 MB / 0.5612 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001484/0.2969, allocations: 0.5109 MB / 0.5617 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002905/0.2972, allocations: 99.66 kB / 0.5618 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.054e-05/0.2972, allocations: 0 / 0.5618 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.408e-05/0.2972, allocations: 0 / 0.5618 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.63e-05/0.2972, allocations: 0 / 0.5618 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001761/0.2974, allocations: 23.92 kB / 0.5618 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.109e-05/0.2975, allocations: 7.984 kB / 0.5618 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.426e-05/0.2975, allocations: 3.984 kB / 0.5618 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.367e-05/0.2975, allocations: 11.94 kB / 0.5618 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.531e-05/0.2976, allocations: 7.984 kB / 0.5618 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.678e-06/0.2976, allocations: 0 / 0.5618 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.198e-05/0.2977, allocations: 31.97 kB / 0.5619 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.106e-05/0.2977, allocations: 3.938 kB / 0.5619 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.847e-05/0.2977, allocations: 4 kB / 0.5619 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001015/0.2978, allocations: 34.56 kB / 0.5619 GB, free: 4.281 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.2978, allocations: 0 / 0.5619 GB, free: 4.281 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2978, allocations: 4 kB / 0.5619 GB, free: 4.277 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.2978, allocations: 0 / 0.5619 GB, free: 4.277 MB / 398.1 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.000395/0.2982, allocations: 327.4 kB / 0.5622 GB, free: 3.906 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.2982, allocations: 8.031 kB / 0.5622 GB, free: 3.898 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.032e-05/0.2983, allocations: 8.938 kB / 0.5622 GB, free: 3.891 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.2984, allocations: 164.4 kB / 0.5624 GB, free: 3.691 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.2984, allocations: 384 / 0.5624 GB, free: 3.691 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.2984, allocations: 8.312 kB / 0.5624 GB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.2985, allocations: 55.97 kB / 0.5625 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.2985, allocations: 192 / 0.5625 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.2985, allocations: 3.938 kB / 0.5625 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.2985, allocations: 0 / 0.5625 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.295e-05/0.2986, allocations: 12 kB / 0.5625 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003203/0.2989, allocations: 321.1 kB / 0.5628 GB, free: 3.234 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.073e-05/0.299, allocations: 30.52 kB / 0.5628 GB, free: 3.195 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.702e-05/0.299, allocations: 12.86 kB / 0.5628 GB, free: 3.18 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.299, allocations: 0 / 0.5628 GB, free: 3.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.299, allocations: 34.56 kB / 0.5629 GB, free: 3.137 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.299, allocations: 4 kB / 0.5629 GB, free: 3.133 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001794/0.2992, allocations: 61.67 kB / 0.5629 GB, free: 3.066 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.2993, allocations: 55.39 kB / 0.563 GB, free: 3 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.808e-05/0.2993, allocations: 97.8 kB / 0.5631 GB, free: 2.895 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.2994, allocations: 33.7 kB / 0.5631 GB, free: 2.855 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.236e-05/0.2994, allocations: 80.14 kB / 0.5632 GB, free: 2.773 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.111e-05/0.2994, allocations: 11.84 kB / 0.5632 GB, free: 2.762 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.423e-05/0.2995, allocations: 21.7 kB / 0.5632 GB, free: 2.734 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.2996, allocations: 310.8 kB / 0.5635 GB, free: 2.422 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.607e-05/0.2996, allocations: 11.94 kB / 0.5635 GB, free: 2.41 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.722e-05/0.2996, allocations: 25.83 kB / 0.5635 GB, free: 2.379 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.511e-05/0.2997, allocations: 29.84 kB / 0.5636 GB, free: 2.344 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.2997, allocations: 4.125 kB / 0.5636 GB, free: 2.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001042/0.2998, allocations: 61.61 kB / 0.5636 GB, free: 2.273 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.2998, allocations: 4 kB / 0.5636 GB, free: 2.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.2998, allocations: 0 / 0.5636 GB, free: 2.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.2998, allocations: 0 / 0.5636 GB, free: 2.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.866e-05/0.2999, allocations: 11.94 kB / 0.5636 GB, free: 2.258 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.2999, allocations: 4.031 kB / 0.5636 GB, free: 2.254 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.807e-05/0.2999, allocations: 11.95 kB / 0.5637 GB, free: 2.242 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.2999, allocations: 0 / 0.5637 GB, free: 2.242 MB / 398.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.471e-05/0.3, allocations: 113.8 kB / 0.5638 GB, free: 2.121 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.471e-05/0.3, allocations: 3.938 kB / 0.5638 GB, free: 2.117 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001294/0.3002, allocations: 61.19 kB / 0.5638 GB, free: 2.047 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.3002, allocations: 3.938 kB / 0.5638 GB, free: 2.043 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.3002, allocations: 0 / 0.5638 GB, free: 2.043 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.454e-05/0.3002, allocations: 81.11 kB / 0.5639 GB, free: 1.945 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.979e-06/0.3002, allocations: 0 / 0.5639 GB, free: 1.945 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.122e-05/0.3003, allocations: 0 / 0.5639 GB, free: 1.945 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.006e-05/0.3003, allocations: 11.98 kB / 0.5639 GB, free: 1.934 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001365/0.3004, allocations: 132.9 kB / 0.564 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001688/0.3006, allocations: 226.7 kB / 0.5643 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.212e-05/0.3006, allocations: 12 kB / 0.5643 GB, free: 1.547 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.657e-05/0.3007, allocations: 83.27 kB / 0.5644 GB, free: 1.465 MB / 398.1 MB Notification: Performance of Backend: time 2.4e-07/0.3007, allocations: 0 / 0.5644 GB, free: 1.465 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000349/0.301, allocations: 92.42 kB / 0.5644 GB, free: 1.371 MB / 398.1 MB Notification: Performance of SimCode: time 0.0004085/0.3014, allocations: 0.5526 MB / 0.565 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of Templates: time 0.002934/0.3044, allocations: 0.6224 MB / 0.5656 GB, free: 152 kB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.728625838179141]