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.001084/0.001084, allocations: 113.9 kB / 18.46 MB, free: 4.613 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.001139/0.001139, allocations: 186.1 kB / 19.39 MB, free: 3.688 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.372/1.372, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.2082/0.2082, allocations: 44.2 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 63.91 kB / 471.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3545, allocations: 60.82 MB / 0.5196 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.00182/0.3564, allocations: 0.5047 MB / 0.52 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003262/0.3567, allocations: 99.3 kB / 0.5201 GB, free: 3.227 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.11e-05/0.3568, allocations: 1.438 kB / 0.5201 GB, free: 3.227 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.942e-05/0.3568, allocations: 3.938 kB / 0.5201 GB, free: 3.223 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002498/0.3571, allocations: 15.58 kB / 0.5202 GB, free: 3.215 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.805e-05/0.3571, allocations: 1.953 kB / 0.5202 GB, free: 3.215 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.443e-05/0.3572, allocations: 8.141 kB / 0.5202 GB, free: 3.211 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.692e-05/0.3572, allocations: 2.344 kB / 0.5202 GB, free: 3.211 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.885e-05/0.3573, allocations: 6.281 kB / 0.5202 GB, free: 3.207 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.793e-05/0.3573, allocations: 6.094 kB / 0.5202 GB, free: 3.203 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.3573, allocations: 0 / 0.5202 GB, free: 3.203 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.3574, allocations: 24.52 kB / 0.5202 GB, free: 3.195 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.253e-05/0.3575, allocations: 0.5625 kB / 0.5202 GB, free: 3.195 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.784e-05/0.3575, allocations: 1.25 kB / 0.5202 GB, free: 3.195 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.3576, allocations: 24.45 kB / 0.5202 GB, free: 3.184 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3576, allocations: 1.156 kB / 0.5202 GB, free: 3.184 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.935e-06/0.3576, allocations: 0 / 0.5202 GB, free: 3.184 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.3576, allocations: 3.938 kB / 0.5202 GB, free: 3.18 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.0002627/0.3579, allocations: 319.5 kB / 0.5205 GB, free: 2.828 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.3579, allocations: 14.09 kB / 0.5206 GB, free: 2.824 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.92e-05/0.358, allocations: 0.9375 kB / 0.5206 GB, free: 2.824 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.286e-05/0.3581, allocations: 163.9 kB / 0.5207 GB, free: 2.629 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.3581, allocations: 384 / 0.5207 GB, free: 2.629 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.005e-05/0.3581, allocations: 5.906 kB / 0.5207 GB, free: 2.625 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.164e-05/0.3582, allocations: 33.12 kB / 0.5208 GB, free: 2.594 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.3582, allocations: 5.547 kB / 0.5208 GB, free: 2.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.3582, allocations: 3.938 kB / 0.5208 GB, free: 2.586 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3582, allocations: 4.75 kB / 0.5208 GB, free: 2.582 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.943e-05/0.3583, allocations: 6.938 kB / 0.5208 GB, free: 2.582 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001441/0.3584, allocations: 150.9 kB / 0.5209 GB, free: 2.391 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/0.3586, allocations: 38.48 kB / 0.521 GB, free: 2.359 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.592e-05/0.3587, allocations: 15.67 kB / 0.521 GB, free: 2.348 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003536/0.359, allocations: 116.9 kB / 0.5211 GB, free: 2.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.503e-05/0.359, allocations: 31.22 kB / 0.5211 GB, free: 2.211 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.359, allocations: 1.219 kB / 0.5211 GB, free: 2.211 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.001282/0.3603, allocations: 188 kB / 0.5213 GB, free: 2.148 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/0.3604, allocations: 52.88 kB / 0.5213 GB, free: 2.086 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.208e-05/0.3604, allocations: 91.95 kB / 0.5214 GB, free: 1.988 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.3605, allocations: 26.36 kB / 0.5215 GB, free: 1.957 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.683e-05/0.3605, allocations: 81.48 kB / 0.5215 GB, free: 1.875 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.964e-05/0.3605, allocations: 18.66 kB / 0.5215 GB, free: 1.859 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.582e-05/0.3606, allocations: 15.31 kB / 0.5216 GB, free: 1.844 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.144e-05/0.3606, allocations: 321.5 kB / 0.5219 GB, free: 1.523 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.67e-05/0.3607, allocations: 20.72 kB / 0.5219 GB, free: 1.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.652e-05/0.3608, allocations: 26.86 kB / 0.5219 GB, free: 1.508 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.3609, allocations: 44.7 kB / 0.522 GB, free: 1.492 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.361, allocations: 0 / 0.522 GB, free: 1.492 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002023/0.3612, allocations: 78.19 kB / 0.522 GB, free: 1.449 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.3612, allocations: 12.75 kB / 0.522 GB, free: 1.441 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3612, allocations: 0 / 0.522 GB, free: 1.441 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.3612, allocations: 2.078 kB / 0.522 GB, free: 1.441 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.3614, allocations: 13.72 kB / 0.5221 GB, free: 1.441 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.3614, allocations: 1.062 kB / 0.5221 GB, free: 1.441 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.753e-05/0.3615, allocations: 6.203 kB / 0.5221 GB, free: 1.441 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.3615, allocations: 1.828 kB / 0.5221 GB, free: 1.441 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 7.233e-05/0.3616, allocations: 116.3 kB / 0.5222 GB, free: 1.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.523e-05/0.3616, allocations: 9.703 kB / 0.5222 GB, free: 1.312 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002936/0.3619, allocations: 84.95 kB / 0.5223 GB, free: 1.266 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.3619, allocations: 5.703 kB / 0.5223 GB, free: 1.262 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3619, allocations: 0 / 0.5223 GB, free: 1.262 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.013e-05/0.3619, allocations: 82.89 kB / 0.5224 GB, free: 1.164 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.3619, allocations: 5.469 kB / 0.5224 GB, free: 1.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.065e-05/0.362, allocations: 10.55 kB / 0.5224 GB, free: 1.156 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.726e-05/0.3621, allocations: 2.844 kB / 0.5224 GB, free: 1.156 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002745/0.3623, allocations: 168.2 kB / 0.5225 GB, free: 1.031 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002398/0.3626, allocations: 249.3 kB / 0.5228 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.473e-05/0.3627, allocations: 25.64 kB / 0.5228 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.464e-05/0.3627, allocations: 76.91 kB / 0.5229 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of Backend: time 4.31e-07/0.3627, allocations: 0 / 0.5229 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004095/0.3631, allocations: 112.8 kB / 0.523 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of SimCode: time 0.0002322/0.3634, allocations: 0.5439 MB / 0.5235 GB, free: 72 kB / 382.1 MB Notification: Performance of Templates: time 0.002973/0.3664, allocations: 0.7464 MB / 0.5242 GB, free: 15.98 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins1/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