Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009303/0.0009303, allocations: 175 kB / 17.41 MB, free: 4.391 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 225.7 MB / 243.9 MB, free: 10.18 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007369/0.000737, allocations: 94.33 kB / 295 MB, free: 9.727 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3027/0.3027, allocations: 44.33 MB / 390.5 MB, free: 38.38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003346/0.0003349, allocations: 8 kB / 463.1 MB, free: 484 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3052, allocations: 61.91 MB / 0.5127 GB, free: 38.19 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.0005825/0.3058, allocations: 228.7 kB / 0.513 GB, free: 38.04 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003035/0.3062, allocations: 170.8 kB / 0.5131 GB, free: 37.89 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.751e-05/0.3062, allocations: 6.875 kB / 0.5131 GB, free: 37.89 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.226e-05/0.3062, allocations: 3.938 kB / 0.5131 GB, free: 37.88 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001827/0.3064, allocations: 14.16 kB / 0.5131 GB, free: 37.88 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.453e-05/0.3064, allocations: 0 / 0.5131 GB, free: 37.88 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.149e-05/0.3065, allocations: 2.844 kB / 0.5131 GB, free: 37.88 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.758e-05/0.3065, allocations: 6.891 kB / 0.5132 GB, free: 37.87 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.486e-05/0.3065, allocations: 0 / 0.5132 GB, free: 37.87 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.822e-05/0.3066, allocations: 11.47 kB / 0.5132 GB, free: 37.86 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.285e-06/0.3066, allocations: 4 kB / 0.5132 GB, free: 37.86 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.456e-05/0.3067, allocations: 21.3 kB / 0.5132 GB, free: 37.86 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.648e-06/0.3067, allocations: 3.938 kB / 0.5132 GB, free: 37.85 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.005e-05/0.3067, allocations: 28.58 kB / 0.5132 GB, free: 37.82 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 7.422e-05/0.3068, allocations: 20.41 kB / 0.5132 GB, free: 37.81 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3068, allocations: 3.938 kB / 0.5132 GB, free: 37.81 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3068, allocations: 0 / 0.5132 GB, free: 37.81 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.206e-06/0.3068, allocations: 0 / 0.5132 GB, free: 37.81 MB / 378.7 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.0002133/0.307, allocations: 317.8 kB / 0.5135 GB, free: 37.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.3071, allocations: 13.09 kB / 0.5136 GB, free: 37.45 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.51e-05/0.3071, allocations: 3.875 kB / 0.5136 GB, free: 37.45 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.896e-05/0.3072, allocations: 160.4 kB / 0.5137 GB, free: 37.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.3072, allocations: 384 / 0.5137 GB, free: 37.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.3072, allocations: 3.312 kB / 0.5137 GB, free: 37.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.716e-05/0.3073, allocations: 36.48 kB / 0.5138 GB, free: 37.22 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.3073, allocations: 192 / 0.5138 GB, free: 37.22 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.3073, allocations: 3.938 kB / 0.5138 GB, free: 37.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3074, allocations: 0 / 0.5138 GB, free: 37.21 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.256e-05/0.3074, allocations: 13.08 kB / 0.5138 GB, free: 37.21 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001142/0.3075, allocations: 158.2 kB / 0.5139 GB, free: 37.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/0.3077, allocations: 31.67 kB / 0.514 GB, free: 36.99 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.239e-05/0.3077, allocations: 13.5 kB / 0.514 GB, free: 36.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003166/0.308, allocations: 129.6 kB / 0.5141 GB, free: 36.88 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.3081, allocations: 33.31 kB / 0.5141 GB, free: 36.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.603e-06/0.3081, allocations: 0 / 0.5141 GB, free: 36.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.001134/0.3092, allocations: 220.4 kB / 0.5143 GB, free: 36.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.041e-05/0.3092, allocations: 55.34 kB / 0.5144 GB, free: 36.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.729e-05/0.3093, allocations: 97.73 kB / 0.5145 GB, free: 36.61 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.556e-06/0.3093, allocations: 28.98 kB / 0.5145 GB, free: 36.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.128e-05/0.3093, allocations: 80.14 kB / 0.5146 GB, free: 36.49 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.249e-05/0.3093, allocations: 18.41 kB / 0.5146 GB, free: 36.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-06/0.3093, allocations: 4.125 kB / 0.5146 GB, free: 36.47 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.033e-05/0.3094, allocations: 310.8 kB / 0.5149 GB, free: 36.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.13e-05/0.3095, allocations: 26.95 kB / 0.5149 GB, free: 36.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.413e-05/0.3096, allocations: 20.75 kB / 0.5149 GB, free: 36.15 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.3097, allocations: 58.36 kB / 0.515 GB, free: 36.13 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.3097, allocations: 0 / 0.515 GB, free: 36.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001673/0.3099, allocations: 79.55 kB / 0.5151 GB, free: 36.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.3099, allocations: 9.438 kB / 0.5151 GB, free: 36.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.3099, allocations: 4 kB / 0.5151 GB, free: 36.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.3099, allocations: 7.875 kB / 0.5151 GB, free: 36.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.3101, allocations: 16.16 kB / 0.5151 GB, free: 36.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.3101, allocations: 3.188 kB / 0.5151 GB, free: 36.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.802e-05/0.3102, allocations: 9.938 kB / 0.5151 GB, free: 36.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.3102, allocations: 2.844 kB / 0.5151 GB, free: 36.07 MB / 378.7 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 5.003e-05/0.3102, allocations: 113.2 kB / 0.5152 GB, free: 35.96 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.829e-06/0.3102, allocations: 11 kB / 0.5152 GB, free: 35.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002258/0.3105, allocations: 93.95 kB / 0.5153 GB, free: 35.9 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.3105, allocations: 0 / 0.5153 GB, free: 35.9 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3105, allocations: 2.812 kB / 0.5153 GB, free: 35.9 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.3105, allocations: 7.938 kB / 0.5153 GB, free: 35.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005792/0.3111, allocations: 368.6 kB / 0.5157 GB, free: 35.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3111, allocations: 0 / 0.5157 GB, free: 35.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.83e-05/0.3112, allocations: 23.39 kB / 0.5157 GB, free: 35.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.3112, allocations: 7.734 kB / 0.5157 GB, free: 35.56 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.3112, allocations: 0 / 0.5157 GB, free: 35.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3112, allocations: 0 / 0.5157 GB, free: 35.56 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3112, allocations: 0 / 0.5157 GB, free: 35.56 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001852/0.3114, allocations: 187.9 kB / 0.5159 GB, free: 35.41 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.621e-05/0.3114, allocations: 81.11 kB / 0.516 GB, free: 35.31 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.3115, allocations: 2.906 kB / 0.516 GB, free: 35.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.362e-05/0.3116, allocations: 6.188 kB / 0.516 GB, free: 35.31 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.267e-05/0.3116, allocations: 10.91 kB / 0.516 GB, free: 35.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.3116, allocations: 6.359 kB / 0.516 GB, free: 35.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.546e-05/0.3116, allocations: 75.28 kB / 0.5161 GB, free: 35.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3116, allocations: 0 / 0.5161 GB, free: 35.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001963/0.3118, allocations: 12.81 kB / 0.5161 GB, free: 35.22 MB / 378.7 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.0001054/0.3119, allocations: 105.2 kB / 0.5162 GB, free: 35.13 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000189/0.3121, allocations: 57.16 kB / 0.5162 GB, free: 35.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3121, allocations: 3.938 kB / 0.5162 GB, free: 35.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.419e-05/0.3122, allocations: 35.16 kB / 0.5163 GB, free: 35.11 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001883/0.3124, allocations: 2.938 kB / 0.5163 GB, free: 35.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003493/0.3128, allocations: 150.2 kB / 0.5164 GB, free: 34.98 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.909e-05/0.3129, allocations: 0.6781 MB / 0.5171 GB, free: 34.28 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.841e-05/0.3129, allocations: 15.03 kB / 0.5171 GB, free: 34.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.833e-05/0.313, allocations: 14.11 kB / 0.5171 GB, free: 34.26 MB / 378.7 MB Notification: Performance of SimCode: time 4.11e-07/0.313, allocations: 0 / 0.5171 GB, free: 34.26 MB / 378.7 MB Notification: Performance of Templates: time 0.002332/0.3153, allocations: 0.625 MB / 0.5177 GB, free: 34.19 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile (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) 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","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches