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.001253/0.001253, allocations: 111.2 kB / 18.45 MB, free: 4.602 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.001234/0.001234, allocations: 181.1 kB / 19.38 MB, free: 3.684 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.256/1.256, allocations: 222.9 MB / 243.1 MB, free: 15.04 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.1935/0.1935, allocations: 44.18 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 63.89 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3347, allocations: 60.82 MB / 0.5195 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001751/0.3365, allocations: 0.5013 MB / 0.52 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003291/0.3368, allocations: 99.39 kB / 0.5201 GB, free: 3.238 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.872e-05/0.3369, allocations: 1.375 kB / 0.5201 GB, free: 3.238 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.351e-05/0.3369, allocations: 0 / 0.5201 GB, free: 3.238 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002451/0.3372, allocations: 20.31 kB / 0.5201 GB, free: 3.227 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.591e-05/0.3372, allocations: 1.125 kB / 0.5201 GB, free: 3.227 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.159e-05/0.3373, allocations: 4.656 kB / 0.5202 GB, free: 3.227 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.093e-05/0.3373, allocations: 5.828 kB / 0.5202 GB, free: 3.223 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.223e-05/0.3373, allocations: 10.19 kB / 0.5202 GB, free: 3.215 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.763e-05/0.3374, allocations: 9.938 kB / 0.5202 GB, free: 3.207 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.3374, allocations: 0 / 0.5202 GB, free: 3.207 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.698e-05/0.3375, allocations: 20.05 kB / 0.5202 GB, free: 3.203 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.255e-05/0.3375, allocations: 1.438 kB / 0.5202 GB, free: 3.203 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.539e-05/0.3376, allocations: 5.422 kB / 0.5202 GB, free: 3.199 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.825e-05/0.3377, allocations: 19.8 kB / 0.5202 GB, free: 3.191 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3377, allocations: 0.7969 kB / 0.5202 GB, free: 3.191 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.3377, allocations: 1.469 kB / 0.5202 GB, free: 3.191 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.777e-06/0.3377, allocations: 0 / 0.5202 GB, free: 3.191 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.0002873/0.338, allocations: 318.4 kB / 0.5205 GB, free: 2.836 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.338, allocations: 11.67 kB / 0.5205 GB, free: 2.836 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.374e-05/0.3381, allocations: 0.9375 kB / 0.5205 GB, free: 2.836 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.118e-05/0.3382, allocations: 166.3 kB / 0.5207 GB, free: 2.637 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.3382, allocations: 1.844 kB / 0.5207 GB, free: 2.637 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.572e-05/0.3382, allocations: 1.125 kB / 0.5207 GB, free: 2.637 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.3383, allocations: 36.62 kB / 0.5207 GB, free: 2.602 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.3384, allocations: 5.031 kB / 0.5207 GB, free: 2.598 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.3384, allocations: 4.641 kB / 0.5207 GB, free: 2.594 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.3384, allocations: 5.094 kB / 0.5208 GB, free: 2.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.671e-05/0.3384, allocations: 9.125 kB / 0.5208 GB, free: 2.586 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001278/0.3386, allocations: 151.6 kB / 0.5209 GB, free: 2.395 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.3388, allocations: 32.75 kB / 0.5209 GB, free: 2.371 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.944e-05/0.3388, allocations: 13.89 kB / 0.5209 GB, free: 2.359 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003543/0.3392, allocations: 116.8 kB / 0.5211 GB, free: 2.262 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.616e-05/0.3392, allocations: 35.97 kB / 0.5211 GB, free: 2.219 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.3392, allocations: 0 / 0.5211 GB, free: 2.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.001263/0.3405, allocations: 197.6 kB / 0.5213 GB, free: 2.152 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/0.3405, allocations: 51.92 kB / 0.5213 GB, free: 2.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.547e-05/0.3406, allocations: 91.91 kB / 0.5214 GB, free: 1.992 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.3406, allocations: 27.8 kB / 0.5214 GB, free: 1.961 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.396e-05/0.3406, allocations: 80.14 kB / 0.5215 GB, free: 1.879 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.144e-05/0.3406, allocations: 15.47 kB / 0.5215 GB, free: 1.867 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.786e-05/0.3407, allocations: 19.61 kB / 0.5216 GB, free: 1.848 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.483e-05/0.3407, allocations: 317 kB / 0.5219 GB, free: 1.531 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.195e-05/0.3408, allocations: 18.88 kB / 0.5219 GB, free: 1.527 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.097e-05/0.3409, allocations: 25.05 kB / 0.5219 GB, free: 1.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.341, allocations: 44.36 kB / 0.5219 GB, free: 1.504 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.341, allocations: 0 / 0.5219 GB, free: 1.504 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002187/0.3413, allocations: 80.97 kB / 0.522 GB, free: 1.457 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.3413, allocations: 9.25 kB / 0.522 GB, free: 1.453 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.3413, allocations: 1.891 kB / 0.522 GB, free: 1.453 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.3413, allocations: 0 / 0.522 GB, free: 1.453 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.3415, allocations: 18.36 kB / 0.522 GB, free: 1.449 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.3415, allocations: 0 / 0.522 GB, free: 1.449 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.336e-05/0.3416, allocations: 6.766 kB / 0.5221 GB, free: 1.449 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.3416, allocations: 3.703 kB / 0.5221 GB, free: 1.449 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 5.668e-05/0.3416, allocations: 110.5 kB / 0.5222 GB, free: 1.332 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.269e-05/0.3417, allocations: 13.28 kB / 0.5222 GB, free: 1.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000255/0.3419, allocations: 93.61 kB / 0.5223 GB, free: 1.266 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.3419, allocations: 1.156 kB / 0.5223 GB, free: 1.266 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.3419, allocations: 0.6562 kB / 0.5223 GB, free: 1.266 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3419, allocations: 1.125 kB / 0.5223 GB, free: 1.266 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006431/0.3426, allocations: 359 kB / 0.5226 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.3426, allocations: 1.031 kB / 0.5226 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.279e-05/0.3427, allocations: 17.91 kB / 0.5226 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.3427, allocations: 1.188 kB / 0.5226 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.3427, allocations: 1.688 kB / 0.5226 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.3427, allocations: 1.969 kB / 0.5226 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.3427, allocations: 1.125 kB / 0.5226 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000212/0.343, allocations: 177.4 kB / 0.5228 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.998e-05/0.343, allocations: 82.89 kB / 0.5229 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.343, allocations: 5.797 kB / 0.5229 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.909e-05/0.3431, allocations: 5.562 kB / 0.5229 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.779e-05/0.3431, allocations: 7.406 kB / 0.5229 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.3432, allocations: 2.859 kB / 0.5229 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.809e-05/0.3432, allocations: 76.62 kB / 0.523 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3432, allocations: 0 / 0.523 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002513/0.3434, allocations: 18.56 kB / 0.523 GB, free: 0.5938 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 0.0001157/0.3436, allocations: 96.41 kB / 0.5231 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000229/0.3438, allocations: 51.7 kB / 0.5231 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3438, allocations: 4.094 kB / 0.5231 GB, free: 500 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.863e-05/0.3439, allocations: 28.52 kB / 0.5232 GB, free: 492 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.3441, allocations: 7.234 kB / 0.5232 GB, free: 488 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000368/0.3445, allocations: 152.7 kB / 0.5233 GB, free: 340 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/0.3447, allocations: 0.6802 MB / 0.524 GB, free: 15.63 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.785e-05/0.3448, allocations: 15.28 kB / 0.524 GB, free: 15.62 MB / 398.1 MB Notification: Performance of SimCode: time 1.9e-07/0.3448, allocations: 0 / 0.524 GB, free: 15.62 MB / 398.1 MB Notification: Performance of Templates: time 0.002346/0.3471, allocations: 0.681 MB / 0.5247 GB, free: 15.57 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