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/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.001763/0.001763, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 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.002183/0.002183, allocations: 170.3 kB / 24.5 MB, free: 3.453 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.454/1.454, allocations: 177.2 MB / 204.9 MB, free: 9.043 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2036/0.2036, allocations: 32.81 MB / 294.1 MB, free: 56 kB / 270.1 MB " [Timeout remaining time 180] 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 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.0.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.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002215/0.002215, allocations: 71.91 kB / 440.5 MB, free: 9.492 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3368, allocations: 65.44 MB / 0.4941 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001451/0.3383, allocations: 0.5076 MB / 0.4946 GB, free: 31.11 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002505/0.3385, allocations: 94.59 kB / 0.4947 GB, free: 31.05 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.372e-05/0.3386, allocations: 0 / 0.4947 GB, free: 31.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.169e-05/0.3386, allocations: 2.969 kB / 0.4947 GB, free: 31.05 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.152e-05/0.3386, allocations: 3.938 kB / 0.4947 GB, free: 31.05 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001692/0.3388, allocations: 10.34 kB / 0.4947 GB, free: 31.05 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.908e-05/0.3388, allocations: 10 kB / 0.4947 GB, free: 31.04 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.073e-05/0.3389, allocations: 10.55 kB / 0.4948 GB, free: 31.04 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.07e-05/0.3389, allocations: 3.938 kB / 0.4948 GB, free: 31.04 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.213e-05/0.3389, allocations: 10.39 kB / 0.4948 GB, free: 31.03 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.3389, allocations: 2.875 kB / 0.4948 GB, free: 31.03 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.893e-05/0.339, allocations: 27.22 kB / 0.4948 GB, free: 31.02 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.297e-05/0.339, allocations: 7.094 kB / 0.4948 GB, free: 31.02 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.789e-05/0.339, allocations: 11.41 kB / 0.4948 GB, free: 31.01 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.521e-05/0.3391, allocations: 27.83 kB / 0.4948 GB, free: 31 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.3391, allocations: 0 / 0.4948 GB, free: 31 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3391, allocations: 0 / 0.4948 GB, free: 31 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.3391, allocations: 3.938 kB / 0.4948 GB, free: 31 MB / 446.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.0002768/0.3394, allocations: 259.8 kB / 0.4951 GB, free: 30.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.794e-05/0.3394, allocations: 9.281 kB / 0.4951 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.946e-05/0.3395, allocations: 0.9375 kB / 0.4951 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.384e-05/0.3395, allocations: 109.7 kB / 0.4952 GB, free: 30.61 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.3395, allocations: 384 / 0.4952 GB, free: 30.61 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.914e-06/0.3396, allocations: 3.406 kB / 0.4952 GB, free: 30.61 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.3397, allocations: 56.25 kB / 0.4953 GB, free: 30.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.3397, allocations: 192 / 0.4953 GB, free: 30.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.3397, allocations: 3.938 kB / 0.4953 GB, free: 30.55 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3397, allocations: 3.984 kB / 0.4953 GB, free: 30.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.944e-05/0.3397, allocations: 14 kB / 0.4953 GB, free: 30.54 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001942/0.3399, allocations: 273.6 kB / 0.4955 GB, free: 30.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.426e-05/0.34, allocations: 24.05 kB / 0.4956 GB, free: 30.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.04e-05/0.34, allocations: 15.83 kB / 0.4956 GB, free: 30.21 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.34, allocations: 10.78 kB / 0.4956 GB, free: 30.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.495e-05/0.34, allocations: 30.56 kB / 0.4956 GB, free: 30.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.34, allocations: 0 / 0.4956 GB, free: 30.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001544/0.3402, allocations: 59.58 kB / 0.4957 GB, free: 30.12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.266e-05/0.3402, allocations: 54.88 kB / 0.4957 GB, free: 30.06 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.668e-05/0.3402, allocations: 92.98 kB / 0.4958 GB, free: 29.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.063e-06/0.3402, allocations: 29.7 kB / 0.4958 GB, free: 29.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.987e-05/0.3403, allocations: 80.14 kB / 0.4959 GB, free: 29.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.707e-06/0.3403, allocations: 18.88 kB / 0.4959 GB, free: 29.83 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.616e-05/0.3403, allocations: 19.95 kB / 0.496 GB, free: 29.81 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.694e-05/0.3403, allocations: 314 kB / 0.4963 GB, free: 29.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.024e-05/0.3404, allocations: 15.09 kB / 0.4963 GB, free: 29.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.012e-05/0.3404, allocations: 19.8 kB / 0.4963 GB, free: 29.47 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.08e-05/0.3404, allocations: 27.09 kB / 0.4963 GB, free: 29.45 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.3404, allocations: 0 / 0.4963 GB, free: 29.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.127e-05/0.3405, allocations: 57.23 kB / 0.4964 GB, free: 29.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.3405, allocations: 9.328 kB / 0.4964 GB, free: 29.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.696e-06/0.3405, allocations: 3.969 kB / 0.4964 GB, free: 29.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.3405, allocations: 6.875 kB / 0.4964 GB, free: 29.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.717e-05/0.3406, allocations: 6.438 kB / 0.4964 GB, free: 29.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.3406, allocations: 0 / 0.4964 GB, free: 29.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.34e-05/0.3406, allocations: 11.17 kB / 0.4964 GB, free: 29.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.3406, allocations: 0 / 0.4964 GB, free: 29.39 MB / 446.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 3.775e-05/0.3406, allocations: 109.7 kB / 0.4965 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.278e-05/0.3407, allocations: 7.406 kB / 0.4965 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.3408, allocations: 64.42 kB / 0.4966 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3408, allocations: 64 / 0.4966 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3408, allocations: 7.125 kB / 0.4966 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.3408, allocations: 4 kB / 0.4966 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.892e-05/0.3409, allocations: 107.8 kB / 0.4967 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.3409, allocations: 0 / 0.4967 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.804e-05/0.3409, allocations: 9.469 kB / 0.4967 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3409, allocations: 3.938 kB / 0.4967 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-06/0.3409, allocations: 0 / 0.4967 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3409, allocations: 0 / 0.4967 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3409, allocations: 0 / 0.4967 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.306e-05/0.341, allocations: 153.6 kB / 0.4969 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.865e-06/0.341, allocations: 14.42 kB / 0.4969 GB, free: 28.92 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.067e-06/0.341, allocations: 0 / 0.4969 GB, free: 28.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.922e-05/0.3411, allocations: 4 kB / 0.4969 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.345e-05/0.3411, allocations: 3.031 kB / 0.4969 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.3411, allocations: 240 / 0.4969 GB, free: 28.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.535e-05/0.3411, allocations: 81.56 kB / 0.497 GB, free: 28.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3411, allocations: 0 / 0.497 GB, free: 28.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002238/0.3413, allocations: 9.969 kB / 0.497 GB, free: 28.84 MB / 446.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 7.745e-05/0.3414, allocations: 102.6 kB / 0.4971 GB, free: 28.74 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.468e-05/0.3415, allocations: 27.91 kB / 0.4971 GB, free: 28.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3415, allocations: 7.219 kB / 0.4971 GB, free: 28.72 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.462e-05/0.3415, allocations: 10.06 kB / 0.4971 GB, free: 28.72 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002021/0.3417, allocations: 3.094 kB / 0.4971 GB, free: 28.72 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001807/0.3419, allocations: 111.7 kB / 0.4972 GB, free: 28.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.429e-05/0.3419, allocations: 60.56 kB / 0.4973 GB, free: 28.54 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.787e-05/0.342, allocations: 6.328 kB / 0.4973 GB, free: 28.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.8e-05/0.342, allocations: 15.53 kB / 0.4973 GB, free: 28.52 MB / 446.1 MB Notification: Performance of SimCode: time 2.9e-07/0.342, allocations: 0 / 0.4973 GB, free: 28.52 MB / 446.1 MB Notification: Performance of Templates: time 0.002467/0.3445, allocations: 460.6 kB / 0.4977 GB, free: 28.44 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.711103484034538]