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.001793/0.001793, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 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.002168/0.002168, allocations: 205.4 kB / 23.73 MB, free: 4.379 MB / 14.72 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.463/1.463, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.2232/0.2232, allocations: 46.96 MB / 360.9 MB, free: 4.059 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+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 0.002071/0.002071, allocations: 63.89 kB / 0.4966 GB, free: 7.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2948, allocations: 66.03 MB / 0.5611 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001569/0.2963, allocations: 0.5064 MB / 0.5616 GB, free: 3.676 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003185/0.2966, allocations: 91.67 kB / 0.5616 GB, free: 3.586 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.607e-05/0.2967, allocations: 0 / 0.5616 GB, free: 3.586 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.234e-05/0.2967, allocations: 0 / 0.5616 GB, free: 3.586 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.196e-05/0.2967, allocations: 0 / 0.5616 GB, free: 3.586 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001955/0.2969, allocations: 19.92 kB / 0.5617 GB, free: 3.566 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.697e-05/0.297, allocations: 19.97 kB / 0.5617 GB, free: 3.547 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.926e-05/0.297, allocations: 0 / 0.5617 GB, free: 3.547 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.239e-05/0.297, allocations: 4 kB / 0.5617 GB, free: 3.543 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.561e-05/0.2971, allocations: 11.92 kB / 0.5617 GB, free: 3.531 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.849e-06/0.2971, allocations: 0 / 0.5617 GB, free: 3.531 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.214e-05/0.2972, allocations: 31.97 kB / 0.5617 GB, free: 3.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.492e-05/0.2972, allocations: 4 kB / 0.5617 GB, free: 3.496 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.346e-05/0.2972, allocations: 3.938 kB / 0.5617 GB, free: 3.492 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 9.583e-05/0.2973, allocations: 30.62 kB / 0.5618 GB, free: 3.465 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2973, allocations: 0 / 0.5618 GB, free: 3.465 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2973, allocations: 4 kB / 0.5618 GB, free: 3.461 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.2973, allocations: 0 / 0.5618 GB, free: 3.461 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.0003759/0.2977, allocations: 262 kB / 0.562 GB, free: 3.176 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.2977, allocations: 8.031 kB / 0.562 GB, free: 3.168 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.933e-05/0.2977, allocations: 0.9375 kB / 0.562 GB, free: 3.168 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.2978, allocations: 106.5 kB / 0.5621 GB, free: 3.039 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.2979, allocations: 8.25 kB / 0.5621 GB, free: 3.031 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.835e-06/0.2979, allocations: 384 / 0.5621 GB, free: 3.031 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.298, allocations: 55.97 kB / 0.5622 GB, free: 2.965 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.076e-06/0.298, allocations: 192 / 0.5622 GB, free: 2.965 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.298, allocations: 15.92 kB / 0.5622 GB, free: 2.949 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.298, allocations: 0 / 0.5622 GB, free: 2.949 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.315e-05/0.2981, allocations: 8 kB / 0.5622 GB, free: 2.941 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003055/0.2984, allocations: 272.8 kB / 0.5625 GB, free: 2.641 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.49e-05/0.2984, allocations: 26.58 kB / 0.5625 GB, free: 2.605 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.816e-05/0.2984, allocations: 12.94 kB / 0.5625 GB, free: 2.59 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.2985, allocations: 3.938 kB / 0.5625 GB, free: 2.586 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.2985, allocations: 34.56 kB / 0.5625 GB, free: 2.543 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.2985, allocations: 0 / 0.5625 GB, free: 2.543 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001828/0.2987, allocations: 65.58 kB / 0.5626 GB, free: 2.473 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.2987, allocations: 51.41 kB / 0.5627 GB, free: 2.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.562e-05/0.2988, allocations: 97.86 kB / 0.5628 GB, free: 2.305 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.2988, allocations: 25.7 kB / 0.5628 GB, free: 2.273 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.364e-05/0.2989, allocations: 80.14 kB / 0.5629 GB, free: 2.191 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.365e-05/0.2989, allocations: 19.83 kB / 0.5629 GB, free: 2.172 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.55e-05/0.2989, allocations: 17.72 kB / 0.5629 GB, free: 2.148 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.2991, allocations: 310.8 kB / 0.5632 GB, free: 1.836 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.423e-05/0.2991, allocations: 8 kB / 0.5632 GB, free: 1.828 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.126e-05/0.2991, allocations: 21.7 kB / 0.5632 GB, free: 1.801 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.521e-05/0.2992, allocations: 33.78 kB / 0.5632 GB, free: 1.762 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2992, allocations: 0 / 0.5632 GB, free: 1.762 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001059/0.2993, allocations: 57.62 kB / 0.5633 GB, free: 1.699 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.2993, allocations: 8 kB / 0.5633 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.2993, allocations: 3.938 kB / 0.5633 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.2993, allocations: 240 / 0.5633 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.666e-05/0.2994, allocations: 11.98 kB / 0.5633 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.2994, allocations: 3.938 kB / 0.5633 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.5e-05/0.2994, allocations: 3.953 kB / 0.5633 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.2994, allocations: 4 kB / 0.5633 GB, free: 1.664 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.448e-05/0.2995, allocations: 109.9 kB / 0.5634 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/0.2995, allocations: 11.92 kB / 0.5635 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001433/0.2997, allocations: 65.44 kB / 0.5635 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.2997, allocations: 4 kB / 0.5635 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.2997, allocations: 0 / 0.5635 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.2997, allocations: 3.984 kB / 0.5635 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/0.2998, allocations: 101.3 kB / 0.5636 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2998, allocations: 0 / 0.5636 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.388e-05/0.2999, allocations: 8 kB / 0.5636 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.2999, allocations: 7.875 kB / 0.5636 GB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.2999, allocations: 4 kB / 0.5636 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2999, allocations: 0 / 0.5636 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2999, allocations: 0 / 0.5636 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001474/0.3, allocations: 151.5 kB / 0.5638 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.308e-06/0.3, allocations: 7.891 kB / 0.5638 GB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.3, allocations: 7.984 kB / 0.5638 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.974e-05/0.3001, allocations: 0 / 0.5638 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.633e-05/0.3001, allocations: 3.938 kB / 0.5638 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.3001, allocations: 8 kB / 0.5638 GB, free: 1.109 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.753e-05/0.3002, allocations: 75.28 kB / 0.5639 GB, free: 1.035 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3002, allocations: 4.094 kB / 0.5639 GB, free: 1.031 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002265/0.3004, allocations: 4 kB / 0.5639 GB, free: 1.027 MB / 398.1 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 0.0001189/0.3005, allocations: 103.2 kB / 0.564 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.697e-05/0.3006, allocations: 20 kB / 0.564 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.3006, allocations: 4 kB / 0.564 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.079e-05/0.3006, allocations: 15.92 kB / 0.564 GB, free: 0.875 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.3008, allocations: 6.656 kB / 0.564 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000232/0.3011, allocations: 109 kB / 0.5641 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.446e-05/0.3011, allocations: 71.39 kB / 0.5642 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.748e-05/0.3012, allocations: 3.938 kB / 0.5642 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.37e-05/0.3012, allocations: 11.44 kB / 0.5642 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3012, allocations: 0 / 0.5642 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of Templates: time 0.002776/0.304, allocations: 481.6 kB / 0.5647 GB, free: 172 kB / 398.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.947349901776761]