Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001356/0.001356, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001414/0.001414, allocations: 211.2 kB / 24.47 MB, free: 3.977 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.396/1.396, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.221/0.221, allocations: 46.96 MB / 361.6 MB, free: 4.051 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.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 67.91 kB / 0.4973 GB, free: 7.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3044, allocations: 66.04 MB / 0.5618 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001693/0.3061, allocations: 0.5059 MB / 0.5623 GB, free: 3.688 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003264/0.3064, allocations: 91.73 kB / 0.5624 GB, free: 3.598 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.657e-05/0.3065, allocations: 4 kB / 0.5624 GB, free: 3.594 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.076e-05/0.3065, allocations: 0 / 0.5624 GB, free: 3.594 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002463/0.3067, allocations: 19.91 kB / 0.5624 GB, free: 3.574 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.747e-05/0.3067, allocations: 0 / 0.5624 GB, free: 3.574 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.99e-05/0.3068, allocations: 11.94 kB / 0.5624 GB, free: 3.562 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.632e-05/0.3068, allocations: 0 / 0.5624 GB, free: 3.562 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.548e-05/0.3069, allocations: 7.984 kB / 0.5624 GB, free: 3.555 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.14e-05/0.3069, allocations: 3.938 kB / 0.5624 GB, free: 3.551 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.3069, allocations: 0 / 0.5624 GB, free: 3.551 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.745e-05/0.307, allocations: 23.98 kB / 0.5624 GB, free: 3.527 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.311e-05/0.307, allocations: 0 / 0.5624 GB, free: 3.527 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.809e-05/0.307, allocations: 3.984 kB / 0.5624 GB, free: 3.523 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 9.733e-05/0.3071, allocations: 26.58 kB / 0.5625 GB, free: 3.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3071, allocations: 0 / 0.5625 GB, free: 3.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3071, allocations: 0 / 0.5625 GB, free: 3.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.3072, allocations: 4 kB / 0.5625 GB, free: 3.496 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.0003441/0.3075, allocations: 242.1 kB / 0.5627 GB, free: 3.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.3075, allocations: 8.031 kB / 0.5627 GB, free: 3.223 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.177e-05/0.3076, allocations: 0.9375 kB / 0.5627 GB, free: 3.223 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.3077, allocations: 114.5 kB / 0.5628 GB, free: 3.086 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.3077, allocations: 4.312 kB / 0.5628 GB, free: 3.082 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.3077, allocations: 384 / 0.5628 GB, free: 3.082 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.716e-05/0.3078, allocations: 30.27 kB / 0.5629 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.3078, allocations: 192 / 0.5629 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.3078, allocations: 7.938 kB / 0.5629 GB, free: 3.039 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.3078, allocations: 3.984 kB / 0.5629 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.233e-05/0.3079, allocations: 15.98 kB / 0.5629 GB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001424/0.308, allocations: 101.3 kB / 0.563 GB, free: 2.891 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002012/0.3082, allocations: 38.55 kB / 0.563 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.938e-05/0.3083, allocations: 12.86 kB / 0.563 GB, free: 2.828 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003597/0.3086, allocations: 36.03 kB / 0.5631 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.3086, allocations: 38.56 kB / 0.5631 GB, free: 2.746 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.3086, allocations: 0 / 0.5631 GB, free: 2.746 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.001318/0.31, allocations: 193.3 kB / 0.5633 GB, free: 2.551 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.31, allocations: 51.41 kB / 0.5633 GB, free: 2.488 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.3101, allocations: 89.86 kB / 0.5634 GB, free: 2.391 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.3101, allocations: 25.83 kB / 0.5634 GB, free: 2.359 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.527e-05/0.3102, allocations: 88.14 kB / 0.5635 GB, free: 2.27 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.3102, allocations: 15.89 kB / 0.5635 GB, free: 2.254 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.452e-05/0.3102, allocations: 21.66 kB / 0.5636 GB, free: 2.227 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.3104, allocations: 318.8 kB / 0.5639 GB, free: 1.906 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.15e-05/0.3105, allocations: 15.98 kB / 0.5639 GB, free: 1.891 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.811e-05/0.3105, allocations: 15.98 kB / 0.5639 GB, free: 1.875 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/0.3107, allocations: 48.83 kB / 0.5639 GB, free: 1.824 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.3107, allocations: 192 / 0.5639 GB, free: 1.824 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001989/0.3109, allocations: 85.59 kB / 0.564 GB, free: 1.734 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.3109, allocations: 8 kB / 0.564 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.3109, allocations: 3.938 kB / 0.564 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.3109, allocations: 0 / 0.564 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.3111, allocations: 15.98 kB / 0.5641 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.3111, allocations: 0 / 0.5641 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.659e-05/0.3111, allocations: 4 kB / 0.5641 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.3112, allocations: 3.984 kB / 0.5641 GB, free: 1.699 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 8.929e-05/0.3112, allocations: 117.8 kB / 0.5642 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.247e-05/0.3113, allocations: 3.953 kB / 0.5642 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002654/0.3115, allocations: 93.11 kB / 0.5643 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3115, allocations: 0 / 0.5643 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.3115, allocations: 4 kB / 0.5643 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.3115, allocations: 0 / 0.5643 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006935/0.3122, allocations: 302.9 kB / 0.5646 GB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3122, allocations: 0 / 0.5646 GB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.3123, allocations: 15.98 kB / 0.5646 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.3123, allocations: 0 / 0.5646 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/0.3123, allocations: 0 / 0.5646 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.3123, allocations: 4 kB / 0.5646 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.3124, allocations: 3.984 kB / 0.5646 GB, free: 1.105 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002572/0.3126, allocations: 184.3 kB / 0.5648 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.427e-06/0.3126, allocations: 7.938 kB / 0.5648 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.3126, allocations: 192 / 0.5648 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.3127, allocations: 15.94 kB / 0.5648 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.612e-05/0.3128, allocations: 7.984 kB / 0.5648 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.3128, allocations: 0 / 0.5648 GB, free: 0.875 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.812e-05/0.3128, allocations: 79.28 kB / 0.5649 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3128, allocations: 0 / 0.5649 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002274/0.313, allocations: 15.88 kB / 0.5649 GB, free: 0.7812 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.000141/0.3132, allocations: 99.34 kB / 0.565 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002093/0.3134, allocations: 47.89 kB / 0.565 GB, free: 0.625 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3134, allocations: 0 / 0.565 GB, free: 0.625 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.109e-05/0.3135, allocations: 28.3 kB / 0.565 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/0.3137, allocations: 7.938 kB / 0.5651 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004236/0.3141, allocations: 133.6 kB / 0.5652 GB, free: 444 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.462e-05/0.3141, allocations: 63.36 kB / 0.5652 GB, free: 360 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.158e-05/0.3142, allocations: 3.984 kB / 0.5652 GB, free: 356 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.492e-05/0.3142, allocations: 11.53 kB / 0.5653 GB, free: 344 kB / 398.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3142, allocations: 4 kB / 0.5653 GB, free: 340 kB / 398.1 MB Notification: Performance of Templates: time 0.003187/0.3174, allocations: 0.6941 MB / 0.5659 GB, free: 15.64 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 4.649153178004781]