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.001858/0.001858, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.002358/0.002358, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.444/1.444, allocations: 230.6 MB / 258.3 MB, free: 7.965 MB / 206.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.2318/0.2318, allocations: 44.92 MB / 359.6 MB, free: 6.258 MB / 286.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.003271/0.003271, allocations: 63.91 kB / 0.4943 GB, free: 10.2 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3285, allocations: 65.46 MB / 0.5582 GB, free: 7.688 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001642/0.3301, allocations: 0.5119 MB / 0.5587 GB, free: 7.188 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003038/0.3304, allocations: 99.7 kB / 0.5588 GB, free: 7.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.082e-05/0.3304, allocations: 0 / 0.5588 GB, free: 7.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.115e-05/0.3305, allocations: 4 kB / 0.5588 GB, free: 7.086 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.572e-05/0.3305, allocations: 0 / 0.5588 GB, free: 7.086 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001725/0.3306, allocations: 15.92 kB / 0.5588 GB, free: 7.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.752e-05/0.3307, allocations: 15.98 kB / 0.5589 GB, free: 7.055 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.512e-05/0.3308, allocations: 0 / 0.5589 GB, free: 7.055 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.638e-05/0.3308, allocations: 11.92 kB / 0.5589 GB, free: 7.043 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.903e-05/0.3308, allocations: 7.984 kB / 0.5589 GB, free: 7.035 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.3308, allocations: 0 / 0.5589 GB, free: 7.035 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.35e-05/0.3309, allocations: 31.97 kB / 0.5589 GB, free: 7.004 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.103e-05/0.3309, allocations: 4 kB / 0.5589 GB, free: 7 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.057e-05/0.331, allocations: 11.92 kB / 0.5589 GB, free: 6.988 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 8.914e-05/0.331, allocations: 27.58 kB / 0.559 GB, free: 6.965 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.331, allocations: 0 / 0.559 GB, free: 6.965 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.331, allocations: 0 / 0.559 GB, free: 6.965 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.3311, allocations: 0 / 0.559 GB, free: 6.965 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.0003808/0.3314, allocations: 257 kB / 0.5592 GB, free: 6.684 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.3315, allocations: 12.03 kB / 0.5592 GB, free: 6.672 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.718e-05/0.3315, allocations: 4.922 kB / 0.5592 GB, free: 6.668 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.3316, allocations: 102.5 kB / 0.5593 GB, free: 6.543 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.3316, allocations: 8.375 kB / 0.5593 GB, free: 6.535 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.3316, allocations: 384 / 0.5593 GB, free: 6.535 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.3318, allocations: 55.97 kB / 0.5594 GB, free: 6.469 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.3318, allocations: 8.125 kB / 0.5594 GB, free: 6.461 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.659e-06/0.3318, allocations: 3.938 kB / 0.5594 GB, free: 6.457 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.3318, allocations: 0 / 0.5594 GB, free: 6.457 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.124e-05/0.3318, allocations: 11.94 kB / 0.5594 GB, free: 6.445 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003425/0.3322, allocations: 304.2 kB / 0.5597 GB, free: 6.102 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.821e-05/0.3322, allocations: 26.52 kB / 0.5597 GB, free: 6.066 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.066e-05/0.3323, allocations: 20.84 kB / 0.5597 GB, free: 6.043 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.3323, allocations: 3.938 kB / 0.5597 GB, free: 6.039 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.3323, allocations: 34.64 kB / 0.5598 GB, free: 5.996 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.3323, allocations: 0 / 0.5598 GB, free: 5.996 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001775/0.3325, allocations: 57.64 kB / 0.5598 GB, free: 5.934 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.3325, allocations: 51.41 kB / 0.5599 GB, free: 5.871 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.375e-05/0.3326, allocations: 97.86 kB / 0.56 GB, free: 5.766 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.3326, allocations: 25.7 kB / 0.56 GB, free: 5.734 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.329e-05/0.3327, allocations: 80.14 kB / 0.5601 GB, free: 5.652 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/0.3327, allocations: 19.84 kB / 0.5601 GB, free: 5.633 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/0.3327, allocations: 21.64 kB / 0.5601 GB, free: 5.605 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.3329, allocations: 319 kB / 0.5604 GB, free: 5.285 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.28e-05/0.3329, allocations: 4 kB / 0.5604 GB, free: 5.281 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.984e-05/0.3329, allocations: 25.64 kB / 0.5604 GB, free: 5.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.234e-05/0.333, allocations: 25.72 kB / 0.5605 GB, free: 5.219 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.333, allocations: 0 / 0.5605 GB, free: 5.219 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.818e-05/0.3331, allocations: 61.56 kB / 0.5605 GB, free: 5.152 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.3331, allocations: 8 kB / 0.5605 GB, free: 5.145 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.3331, allocations: 4.031 kB / 0.5605 GB, free: 5.141 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.3331, allocations: 0 / 0.5605 GB, free: 5.141 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.075e-05/0.3332, allocations: 8 kB / 0.5605 GB, free: 5.133 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.3332, allocations: 3.984 kB / 0.5605 GB, free: 5.129 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.273e-05/0.3332, allocations: 3.953 kB / 0.5606 GB, free: 5.125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.3332, allocations: 4 kB / 0.5606 GB, free: 5.121 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 8.378e-05/0.3333, allocations: 113.8 kB / 0.5607 GB, free: 5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.252e-05/0.3333, allocations: 0 / 0.5607 GB, free: 5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001313/0.3334, allocations: 61.31 kB / 0.5607 GB, free: 4.926 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3334, allocations: 4 kB / 0.5607 GB, free: 4.922 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.3335, allocations: 4 kB / 0.5607 GB, free: 4.918 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3335, allocations: 0 / 0.5607 GB, free: 4.918 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/0.3336, allocations: 132.7 kB / 0.5609 GB, free: 4.746 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3336, allocations: 0 / 0.5609 GB, free: 4.746 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.66e-05/0.3337, allocations: 12.17 kB / 0.5609 GB, free: 4.734 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.3337, allocations: 0 / 0.5609 GB, free: 4.734 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.3337, allocations: 4 kB / 0.5609 GB, free: 4.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3337, allocations: 0 / 0.5609 GB, free: 4.73 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3337, allocations: 3.938 kB / 0.5609 GB, free: 4.727 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000146/0.3338, allocations: 159.4 kB / 0.561 GB, free: 4.555 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.574e-06/0.3338, allocations: 3.953 kB / 0.561 GB, free: 4.551 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.3338, allocations: 4 kB / 0.561 GB, free: 4.547 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.014e-05/0.3339, allocations: 4 kB / 0.561 GB, free: 4.543 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.852e-05/0.3339, allocations: 0 / 0.561 GB, free: 4.543 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.3339, allocations: 3.984 kB / 0.561 GB, free: 4.539 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.037e-05/0.334, allocations: 79.28 kB / 0.5611 GB, free: 4.461 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.334, allocations: 4.094 kB / 0.5611 GB, free: 4.457 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002251/0.3342, allocations: 11.94 kB / 0.5611 GB, free: 4.445 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.0001195/0.3343, allocations: 99.72 kB / 0.5612 GB, free: 4.336 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001208/0.3344, allocations: 27.92 kB / 0.5613 GB, free: 4.309 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3344, allocations: 0 / 0.5613 GB, free: 4.309 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.987e-05/0.3345, allocations: 12 kB / 0.5613 GB, free: 4.297 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002096/0.3347, allocations: 3.938 kB / 0.5613 GB, free: 4.293 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002512/0.3349, allocations: 138.8 kB / 0.5614 GB, free: 4.125 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.3353, allocations: 0.6768 MB / 0.5621 GB, free: 3.422 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.663e-05/0.3353, allocations: 11.44 kB / 0.5621 GB, free: 3.41 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3353, allocations: 0 / 0.5621 GB, free: 3.41 MB / 398.1 MB Notification: Performance of Templates: time 0.002141/0.3374, allocations: 0.5675 MB / 0.5626 GB, free: 2.844 MB / 398.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 -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: 7.472871328005567]