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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 110.4 kB / 17.78 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 187.9 kB / 18.71 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.257/1.257, allocations: 222.9 MB / 242.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.184/0.1841, allocations: 44.18 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001098/0.001098, allocations: 67.91 kB / 470.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3151, allocations: 60.82 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001453/0.3166, allocations: 0.4937 MB / 0.5194 GB, free: 3.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002651/0.3168, allocations: 103.3 kB / 0.5195 GB, free: 3.254 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.437e-05/0.3169, allocations: 1.094 kB / 0.5195 GB, free: 3.254 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.439e-05/0.3169, allocations: 3.938 kB / 0.5195 GB, free: 3.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001941/0.3171, allocations: 20.41 kB / 0.5195 GB, free: 3.238 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.658e-05/0.3171, allocations: 1.094 kB / 0.5195 GB, free: 3.238 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.381e-05/0.3172, allocations: 4.562 kB / 0.5195 GB, free: 3.238 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.085e-05/0.3172, allocations: 1.859 kB / 0.5195 GB, free: 3.238 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.546e-05/0.3172, allocations: 2.094 kB / 0.5195 GB, free: 3.238 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.031e-05/0.3173, allocations: 13.92 kB / 0.5195 GB, free: 3.227 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.879e-06/0.3173, allocations: 4 kB / 0.5195 GB, free: 3.223 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.852e-05/0.3174, allocations: 21.09 kB / 0.5195 GB, free: 3.219 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.077e-06/0.3174, allocations: 1.625 kB / 0.5195 GB, free: 3.219 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.498e-05/0.3174, allocations: 3.984 kB / 0.5195 GB, free: 3.215 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.668e-05/0.3175, allocations: 20.78 kB / 0.5196 GB, free: 3.207 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.3175, allocations: 1.344 kB / 0.5196 GB, free: 3.207 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3175, allocations: 0 / 0.5196 GB, free: 3.207 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.3175, allocations: 3.938 kB / 0.5196 GB, free: 3.203 MB / 382.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.0002104/0.3177, allocations: 315.6 kB / 0.5199 GB, free: 2.852 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.3178, allocations: 9.906 kB / 0.5199 GB, free: 2.852 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.865e-05/0.3178, allocations: 6.578 kB / 0.5199 GB, free: 2.848 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.224e-05/0.3179, allocations: 161.1 kB / 0.52 GB, free: 2.652 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.484e-06/0.3179, allocations: 9.422 kB / 0.52 GB, free: 2.645 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.3179, allocations: 2.234 kB / 0.52 GB, free: 2.645 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.183e-05/0.318, allocations: 33.11 kB / 0.5201 GB, free: 2.613 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.318, allocations: 192 / 0.5201 GB, free: 2.613 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.318, allocations: 5.938 kB / 0.5201 GB, free: 2.609 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.318, allocations: 0 / 0.5201 GB, free: 2.609 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.16e-05/0.3181, allocations: 9.609 kB / 0.5201 GB, free: 2.605 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001027/0.3182, allocations: 152 kB / 0.5202 GB, free: 2.414 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.3183, allocations: 38.89 kB / 0.5203 GB, free: 2.383 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.428e-05/0.3184, allocations: 15.73 kB / 0.5203 GB, free: 2.371 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003152/0.3187, allocations: 111.8 kB / 0.5204 GB, free: 2.277 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.315e-05/0.3187, allocations: 35.69 kB / 0.5204 GB, free: 2.234 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.3187, allocations: 0 / 0.5204 GB, free: 2.234 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.001149/0.3199, allocations: 193.8 kB / 0.5206 GB, free: 2.172 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.75e-05/0.3199, allocations: 57.06 kB / 0.5207 GB, free: 2.105 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.527e-05/0.3199, allocations: 91.39 kB / 0.5208 GB, free: 2.008 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.795e-06/0.32, allocations: 25.7 kB / 0.5208 GB, free: 1.977 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.678e-06/0.32, allocations: 81.86 kB / 0.5209 GB, free: 1.895 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.302e-05/0.32, allocations: 15.62 kB / 0.5209 GB, free: 1.883 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.147e-05/0.32, allocations: 18.61 kB / 0.5209 GB, free: 1.863 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.414e-05/0.3201, allocations: 313.2 kB / 0.5212 GB, free: 1.551 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.94e-05/0.3202, allocations: 24.28 kB / 0.5212 GB, free: 1.543 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.959e-05/0.3202, allocations: 23.72 kB / 0.5212 GB, free: 1.535 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.3204, allocations: 47.83 kB / 0.5213 GB, free: 1.516 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.3204, allocations: 0.7969 kB / 0.5213 GB, free: 1.516 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001742/0.3206, allocations: 72.89 kB / 0.5214 GB, free: 1.477 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.3206, allocations: 9.656 kB / 0.5214 GB, free: 1.473 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.3206, allocations: 0.75 kB / 0.5214 GB, free: 1.473 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.3206, allocations: 4.906 kB / 0.5214 GB, free: 1.469 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.3207, allocations: 18.55 kB / 0.5214 GB, free: 1.465 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.3207, allocations: 0.7969 kB / 0.5214 GB, free: 1.465 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.953e-05/0.3208, allocations: 5.891 kB / 0.5214 GB, free: 1.465 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.3208, allocations: 2.625 kB / 0.5214 GB, free: 1.465 MB / 382.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 4.346e-05/0.3209, allocations: 116 kB / 0.5215 GB, free: 1.344 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.193e-05/0.3209, allocations: 10.02 kB / 0.5215 GB, free: 1.336 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002279/0.3211, allocations: 89.12 kB / 0.5216 GB, free: 1.285 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.3211, allocations: 0 / 0.5216 GB, free: 1.285 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3211, allocations: 2.016 kB / 0.5216 GB, free: 1.285 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3212, allocations: 0.6094 kB / 0.5216 GB, free: 1.285 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005667/0.3217, allocations: 358.1 kB / 0.5219 GB, free: 0.957 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3217, allocations: 1.812 kB / 0.5219 GB, free: 0.957 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.058e-05/0.3218, allocations: 17.91 kB / 0.522 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.3218, allocations: 2.219 kB / 0.522 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.3219, allocations: 5.781 kB / 0.522 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3219, allocations: 0 / 0.522 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3219, allocations: 5.219 kB / 0.522 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001923/0.3221, allocations: 181.9 kB / 0.5221 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.548e-05/0.3221, allocations: 79.03 kB / 0.5222 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.3221, allocations: 6.062 kB / 0.5222 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.817e-05/0.3222, allocations: 6 kB / 0.5222 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.579e-05/0.3222, allocations: 2.875 kB / 0.5222 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.3222, allocations: 3.516 kB / 0.5222 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.395e-05/0.3223, allocations: 80.03 kB / 0.5223 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3223, allocations: 0 / 0.5223 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002241/0.3225, allocations: 13.39 kB / 0.5223 GB, free: 0.6094 MB / 382.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 9.566e-05/0.3226, allocations: 105.6 kB / 0.5224 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001998/0.3228, allocations: 51.22 kB / 0.5225 GB, free: 0.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3228, allocations: 0 / 0.5225 GB, free: 0.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.866e-05/0.3229, allocations: 33.95 kB / 0.5225 GB, free: 500 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001993/0.3231, allocations: 1.312 kB / 0.5225 GB, free: 500 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003339/0.3234, allocations: 136.8 kB / 0.5226 GB, free: 376 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001765/0.3236, allocations: 0.6793 MB / 0.5233 GB, free: 15.67 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.092e-05/0.3237, allocations: 7.859 kB / 0.5233 GB, free: 15.66 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.136e-05/0.3237, allocations: 11.77 kB / 0.5233 GB, free: 15.66 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3237, allocations: 0 / 0.5233 GB, free: 15.66 MB / 398.1 MB Notification: Performance of Templates: time 0.002429/0.3261, allocations: 0.6662 MB / 0.524 GB, free: 15.58 MB / 398.1 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","/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) Reference file matches