Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.001413/0.001413, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001666/0.001666, allocations: 215.8 kB / 23.73 MB, free: 4.16 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.481/1.481, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.2162/0.2162, allocations: 44.94 MB / 358.8 MB, free: 6.07 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.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep") [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.002093/0.002093, allocations: 63.91 kB / 0.4935 GB, free: 10.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.338, allocations: 65.47 MB / 0.5574 GB, free: 7.504 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001642/0.3397, allocations: 0.4955 MB / 0.5579 GB, free: 7.008 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000382/0.3401, allocations: 103.7 kB / 0.558 GB, free: 6.906 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.422e-05/0.3401, allocations: 0 / 0.558 GB, free: 6.906 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.448e-05/0.3401, allocations: 0 / 0.558 GB, free: 6.906 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002254/0.3403, allocations: 15.92 kB / 0.558 GB, free: 6.891 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.292e-05/0.3404, allocations: 7.922 kB / 0.558 GB, free: 6.883 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.974e-05/0.3404, allocations: 8 kB / 0.558 GB, free: 6.875 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.409e-05/0.3405, allocations: 0 / 0.558 GB, free: 6.875 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.906e-05/0.3405, allocations: 0 / 0.558 GB, free: 6.875 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.34e-05/0.3405, allocations: 7.938 kB / 0.5581 GB, free: 6.867 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.3406, allocations: 0 / 0.5581 GB, free: 6.867 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.893e-05/0.3406, allocations: 23.97 kB / 0.5581 GB, free: 6.844 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.251e-05/0.3407, allocations: 4 kB / 0.5581 GB, free: 6.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.525e-05/0.3407, allocations: 0 / 0.5581 GB, free: 6.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001015/0.3408, allocations: 27.56 kB / 0.5581 GB, free: 6.816 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.3408, allocations: 0 / 0.5581 GB, free: 6.816 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3408, allocations: 0 / 0.5581 GB, free: 6.816 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.3408, allocations: 0 / 0.5581 GB, free: 6.816 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003207/0.3411, allocations: 249.1 kB / 0.5583 GB, free: 6.543 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.3411, allocations: 8.031 kB / 0.5584 GB, free: 6.535 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.606e-05/0.3412, allocations: 0.9375 kB / 0.5584 GB, free: 6.535 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.3413, allocations: 110.5 kB / 0.5585 GB, free: 6.402 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.3413, allocations: 4.375 kB / 0.5585 GB, free: 6.398 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.3413, allocations: 384 / 0.5585 GB, free: 6.398 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.779e-05/0.3414, allocations: 38.25 kB / 0.5585 GB, free: 6.355 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.3414, allocations: 192 / 0.5585 GB, free: 6.355 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.3414, allocations: 3.938 kB / 0.5585 GB, free: 6.352 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.3415, allocations: 4 kB / 0.5585 GB, free: 6.348 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.278e-05/0.3415, allocations: 7.984 kB / 0.5585 GB, free: 6.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001532/0.3416, allocations: 97.33 kB / 0.5586 GB, free: 6.215 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002/0.3418, allocations: 42.55 kB / 0.5587 GB, free: 6.164 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.026e-05/0.3419, allocations: 8.859 kB / 0.5587 GB, free: 6.152 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003237/0.3422, allocations: 36.05 kB / 0.5587 GB, free: 6.117 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.3422, allocations: 42.55 kB / 0.5587 GB, free: 6.066 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3422, allocations: 0 / 0.5587 GB, free: 6.066 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.001313/0.3435, allocations: 193.3 kB / 0.5589 GB, free: 5.871 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.3436, allocations: 55.34 kB / 0.559 GB, free: 5.805 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.531e-05/0.3436, allocations: 89.86 kB / 0.5591 GB, free: 5.707 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.3437, allocations: 25.7 kB / 0.5591 GB, free: 5.676 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.849e-05/0.3437, allocations: 84.14 kB / 0.5592 GB, free: 5.59 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.934e-05/0.3437, allocations: 15.89 kB / 0.5592 GB, free: 5.574 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.002e-05/0.3438, allocations: 17.72 kB / 0.5592 GB, free: 5.551 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.3439, allocations: 310.8 kB / 0.5595 GB, free: 5.238 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.344, allocations: 24.11 kB / 0.5595 GB, free: 5.215 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.803e-05/0.3441, allocations: 23.97 kB / 0.5595 GB, free: 5.191 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001574/0.3443, allocations: 48.77 kB / 0.5596 GB, free: 5.141 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.3443, allocations: 0 / 0.5596 GB, free: 5.141 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002087/0.3445, allocations: 73.86 kB / 0.5597 GB, free: 5.062 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.3445, allocations: 13.97 kB / 0.5597 GB, free: 5.051 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.3445, allocations: 3.938 kB / 0.5597 GB, free: 5.047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.3445, allocations: 0 / 0.5597 GB, free: 5.047 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.3446, allocations: 15.98 kB / 0.5597 GB, free: 5.031 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.3446, allocations: 7.984 kB / 0.5597 GB, free: 5.023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.3447, allocations: 4 kB / 0.5597 GB, free: 5.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.3448, allocations: 0 / 0.5597 GB, free: 5.02 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 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 9.041e-05/0.3448, allocations: 109.8 kB / 0.5598 GB, free: 4.902 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.708e-05/0.3449, allocations: 15.88 kB / 0.5598 GB, free: 4.887 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002669/0.3451, allocations: 89.19 kB / 0.5599 GB, free: 4.789 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3451, allocations: 0 / 0.5599 GB, free: 4.789 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3451, allocations: 0 / 0.5599 GB, free: 4.789 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.3451, allocations: 4.281 kB / 0.5599 GB, free: 4.785 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007151/0.3459, allocations: 306.9 kB / 0.5602 GB, free: 4.445 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3459, allocations: 0 / 0.5602 GB, free: 4.445 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.988e-05/0.346, allocations: 15.98 kB / 0.5602 GB, free: 4.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.346, allocations: 4.031 kB / 0.5602 GB, free: 4.426 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.346, allocations: 4 kB / 0.5602 GB, free: 4.422 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.346, allocations: 4 kB / 0.5602 GB, free: 4.418 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.346, allocations: 0 / 0.5602 GB, free: 4.418 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002685/0.3462, allocations: 176.2 kB / 0.5604 GB, free: 4.227 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.487e-06/0.3462, allocations: 7.953 kB / 0.5604 GB, free: 4.219 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.3463, allocations: 4 kB / 0.5604 GB, free: 4.215 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.3464, allocations: 8.172 kB / 0.5604 GB, free: 4.207 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.426e-05/0.3464, allocations: 8 kB / 0.5604 GB, free: 4.199 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.3464, allocations: 7.984 kB / 0.5604 GB, free: 4.191 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.867e-05/0.3464, allocations: 75.28 kB / 0.5605 GB, free: 4.117 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3464, allocations: 4 kB / 0.5605 GB, free: 4.113 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002367/0.3467, allocations: 7.938 kB / 0.5605 GB, free: 4.105 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.0001215/0.3468, allocations: 99.25 kB / 0.5606 GB, free: 3.996 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002398/0.347, allocations: 51.83 kB / 0.5607 GB, free: 3.945 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.347, allocations: 96 / 0.5607 GB, free: 3.945 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.854e-05/0.3471, allocations: 27.98 kB / 0.5607 GB, free: 3.918 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.3474, allocations: 7.938 kB / 0.5607 GB, free: 3.91 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004154/0.3478, allocations: 137.7 kB / 0.5608 GB, free: 3.746 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.689e-05/0.3478, allocations: 59.36 kB / 0.5609 GB, free: 3.668 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.889e-05/0.3479, allocations: 4.062 kB / 0.5609 GB, free: 3.664 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.942e-05/0.3479, allocations: 15.42 kB / 0.5609 GB, free: 3.648 MB / 398.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3479, allocations: 0 / 0.5609 GB, free: 3.648 MB / 398.1 MB Notification: Performance of Templates: time 0.002965/0.3509, allocations: 0.6811 MB / 0.5616 GB, free: 2.973 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.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: 5.073492795228958]