Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 169.6 kB / 24.91 MB, free: 8.727 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.047/1.047, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2591/0.2591, allocations: 34.27 MB / 296.1 MB, free: 0.7383 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 325.3 MB, free: 7.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.84e-05/1.986e-05, allocations: 7.812 kB / 325.3 MB, free: 7.672 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001075/0.001095, allocations: 0.5699 MB / 325.8 MB, free: 7.102 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002316/0.001327, allocations: 84.36 kB / 325.9 MB, free: 7.02 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.677e-05/0.001353, allocations: 4 kB / 325.9 MB, free: 7.016 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.226e-05/0.001366, allocations: 0 / 325.9 MB, free: 7.016 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.003e-05/0.001386, allocations: 0 / 325.9 MB, free: 7.016 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001658/0.001551, allocations: 19.91 kB / 325.9 MB, free: 6.996 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.683e-05/0.001598, allocations: 7.938 kB / 326 MB, free: 6.988 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.821e-05/0.001636, allocations: 7.984 kB / 326 MB, free: 6.98 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.442e-05/0.001681, allocations: 11.98 kB / 326 MB, free: 6.969 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.302e-05/0.001724, allocations: 3.984 kB / 326 MB, free: 6.965 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/0.001736, allocations: 4 kB / 326 MB, free: 6.961 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.928e-05/0.001815, allocations: 27.97 kB / 326 MB, free: 6.934 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.628e-06/0.001825, allocations: 4 kB / 326 MB, free: 6.93 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.355e-05/0.001838, allocations: 4 kB / 326 MB, free: 6.926 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.187e-05/0.00192, allocations: 39.81 kB / 326.1 MB, free: 6.887 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.001922, allocations: 0 / 326.1 MB, free: 6.887 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.001922, allocations: 0 / 326.1 MB, free: 6.887 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.535e-06/0.001925, allocations: 0 / 326.1 MB, free: 6.887 MB / 298.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.0002342/0.002159, allocations: 230.5 kB / 326.3 MB, free: 6.637 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.002192, allocations: 8.031 kB / 326.3 MB, free: 6.629 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.135e-05/0.002213, allocations: 4.938 kB / 326.3 MB, free: 6.625 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.639e-05/0.00229, allocations: 105.7 kB / 326.4 MB, free: 6.496 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/0.002299, allocations: 8.375 kB / 326.4 MB, free: 6.488 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.781e-06/0.002304, allocations: 384 / 326.4 MB, free: 6.488 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.275e-05/0.002387, allocations: 68.66 kB / 326.5 MB, free: 6.406 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-06/0.002393, allocations: 192 / 326.5 MB, free: 6.406 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-06/0.002399, allocations: 384 / 326.5 MB, free: 6.406 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.002403, allocations: 384 / 326.5 MB, free: 6.406 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.003e-05/0.002424, allocations: 19.86 kB / 326.5 MB, free: 6.387 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001897/0.002613, allocations: 224.8 kB / 326.7 MB, free: 6.148 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.221e-05/0.002645, allocations: 22.61 kB / 326.7 MB, free: 6.117 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.76e-05/0.002663, allocations: 8.859 kB / 326.7 MB, free: 6.105 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.211e-05/0.002675, allocations: 8 kB / 326.7 MB, free: 6.098 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.881e-05/0.002694, allocations: 30.56 kB / 326.8 MB, free: 6.059 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 7.72e-07/0.002695, allocations: 0 / 326.8 MB, free: 6.059 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001005/0.002795, allocations: 49.72 kB / 326.8 MB, free: 6.004 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.002825, allocations: 59.34 kB / 326.9 MB, free: 5.934 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.302e-05/0.002878, allocations: 98.7 kB / 327 MB, free: 5.824 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.002889, allocations: 25.7 kB / 327 MB, free: 5.793 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.916e-05/0.002928, allocations: 88.12 kB / 327.1 MB, free: 5.703 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.025e-06/0.002936, allocations: 11.84 kB / 327.1 MB, free: 5.691 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.59e-05/0.002962, allocations: 21.84 kB / 327.1 MB, free: 5.664 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.67e-05/0.003039, allocations: 318.8 kB / 327.4 MB, free: 5.344 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.168e-06/0.003048, allocations: 3.984 kB / 327.4 MB, free: 5.34 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.764e-05/0.003066, allocations: 21.66 kB / 327.5 MB, free: 5.312 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.056e-05/0.003096, allocations: 25.83 kB / 327.5 MB, free: 5.281 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.003099, allocations: 0 / 327.5 MB, free: 5.281 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.235e-05/0.003151, allocations: 49.61 kB / 327.5 MB, free: 5.227 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.003164, allocations: 8 kB / 327.5 MB, free: 5.219 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.003168, allocations: 0 / 327.5 MB, free: 5.219 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.003178, allocations: 4.031 kB / 327.5 MB, free: 5.215 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.931e-05/0.003228, allocations: 11.94 kB / 327.6 MB, free: 5.203 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.00323, allocations: 0 / 327.6 MB, free: 5.203 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.513e-05/0.003246, allocations: 8 kB / 327.6 MB, free: 5.195 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/0.00325, allocations: 0 / 327.6 MB, free: 5.195 MB / 298.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 () * 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 5.438e-05/0.003305, allocations: 109.8 kB / 327.7 MB, free: 5.078 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.473e-05/0.003319, allocations: 4 kB / 327.7 MB, free: 5.074 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.71e-05/0.003386, allocations: 57.44 kB / 327.7 MB, free: 5.016 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.003387, allocations: 0 / 327.7 MB, free: 5.016 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.00339, allocations: 3.938 kB / 327.7 MB, free: 5.012 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.003393, allocations: 4 kB / 327.7 MB, free: 5.008 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.703e-05/0.00348, allocations: 81.83 kB / 327.8 MB, free: 4.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.00348, allocations: 0 / 327.8 MB, free: 4.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.651e-05/0.003497, allocations: 4 kB / 327.8 MB, free: 4.906 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.0035, allocations: 4 kB / 327.8 MB, free: 4.902 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.078e-06/0.003504, allocations: 0 / 327.8 MB, free: 4.902 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.003505, allocations: 0 / 327.8 MB, free: 4.902 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.003505, allocations: 0 / 327.8 MB, free: 4.902 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.402e-05/0.003579, allocations: 151.4 kB / 328 MB, free: 4.738 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.631e-06/0.003585, allocations: 3.984 kB / 328 MB, free: 4.734 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.923e-06/0.003592, allocations: 0 / 328 MB, free: 4.734 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.688e-05/0.003619, allocations: 8 kB / 328 MB, free: 4.727 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.12e-05/0.00364, allocations: 0 / 328 MB, free: 4.727 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.003642, allocations: 0 / 328 MB, free: 4.727 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.071e-05/0.003653, allocations: 12.8 kB / 328 MB, free: 4.711 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003653, allocations: 0 / 328 MB, free: 4.711 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001221/0.003775, allocations: 8 kB / 328 MB, free: 4.703 MB / 298.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.697e-05/0.003862, allocations: 88.33 kB / 328.1 MB, free: 4.605 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.03e-05/0.003922, allocations: 24.86 kB / 328.1 MB, free: 4.578 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.003925, allocations: 8.031 kB / 328.1 MB, free: 4.57 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.859e-05/0.003944, allocations: 20.84 kB / 328.1 MB, free: 4.547 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001066/0.00405, allocations: 7.844 kB / 328.2 MB, free: 4.543 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001657/0.004216, allocations: 109.3 kB / 328.3 MB, free: 4.41 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.91e-05/0.004245, allocations: 51.36 kB / 328.3 MB, free: 4.34 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.819e-05/0.004263, allocations: 4.25 kB / 328.3 MB, free: 4.336 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.276e-05/0.004296, allocations: 55.36 kB / 328.4 MB, free: 4.281 MB / 298.7 MB Notification: Performance of SimCode: time 5.71e-07/0.004296, allocations: 4 kB / 328.4 MB, free: 4.277 MB / 298.7 MB Notification: Performance of Templates: time 0.001722/0.006018, allocations: 0.5317 MB / 328.9 MB, free: 3.754 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.801623562350869]