Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000989/0.0009891, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.211/1.211, allocations: 205.1 MB / 222.5 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009094/0.0009094, allocations: 108.8 kB / 269.9 MB, free: 8.43 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2848/0.2848, allocations: 43.5 MB / 360.7 MB, free: 51.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001064/0.001064, allocations: 52.16 kB / 429.2 MB, free: 6.383 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09059/0.09167, allocations: 57.78 MB / 487 MB, free: 12.53 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001694/0.0934, allocations: 0.601 MB / 487.6 MB, free: 11.93 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002561/0.09368, allocations: 65.44 kB / 487.7 MB, free: 11.86 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.25e-05/0.09371, allocations: 8 kB / 487.7 MB, free: 11.86 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.764e-05/0.09376, allocations: 0 / 487.7 MB, free: 11.86 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001857/0.09395, allocations: 11.97 kB / 487.7 MB, free: 11.84 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.063e-05/0.09398, allocations: 11.88 kB / 487.7 MB, free: 11.83 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.79e-05/0.09403, allocations: 0 / 487.7 MB, free: 11.83 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.372e-05/0.09408, allocations: 7.984 kB / 487.7 MB, free: 11.82 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.601e-05/0.0941, allocations: 0 / 487.7 MB, free: 11.82 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.189e-05/0.09415, allocations: 4 kB / 487.7 MB, free: 11.82 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.042e-05/0.09416, allocations: 0 / 487.7 MB, free: 11.82 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.776e-05/0.09425, allocations: 19.98 kB / 487.7 MB, free: 11.8 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.148e-05/0.09427, allocations: 7.938 kB / 487.7 MB, free: 11.79 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.599e-05/0.09429, allocations: 4 kB / 487.7 MB, free: 11.79 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 8.27e-05/0.09438, allocations: 19.89 kB / 487.8 MB, free: 11.77 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.09439, allocations: 0 / 487.8 MB, free: 11.77 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.0944, allocations: 4 kB / 487.8 MB, free: 11.77 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.239e-06/0.09441, allocations: 0 / 487.8 MB, free: 11.77 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.0002908/0.09471, allocations: 327.5 kB / 488.1 MB, free: 11.39 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.09474, allocations: 8.031 kB / 488.1 MB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.621e-05/0.09478, allocations: 0.9375 kB / 488.1 MB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.09489, allocations: 176.5 kB / 488.3 MB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.158e-06/0.09491, allocations: 384 / 488.3 MB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.09494, allocations: 384 / 488.3 MB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.298e-05/0.09503, allocations: 38.25 kB / 488.3 MB, free: 11.13 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.09505, allocations: 192 / 488.3 MB, free: 11.13 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.09506, allocations: 3.938 kB / 488.3 MB, free: 11.13 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.09508, allocations: 4 kB / 488.3 MB, free: 11.12 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.345e-05/0.09511, allocations: 4 kB / 488.3 MB, free: 11.12 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001531/0.09527, allocations: 153.7 kB / 488.5 MB, free: 10.92 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.09546, allocations: 46.53 kB / 488.5 MB, free: 10.87 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.666e-05/0.0955, allocations: 12.86 kB / 488.5 MB, free: 10.85 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003168/0.09582, allocations: 113.1 kB / 488.6 MB, free: 10.72 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.09585, allocations: 34.56 kB / 488.7 MB, free: 10.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.09586, allocations: 4 kB / 488.7 MB, free: 10.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.001183/0.09705, allocations: 181.3 kB / 488.9 MB, free: 10.49 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.09712, allocations: 55.41 kB / 488.9 MB, free: 10.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.013e-05/0.09718, allocations: 93.86 kB / 489 MB, free: 10.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.0972, allocations: 25.7 kB / 489 MB, free: 10.29 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.118e-05/0.09723, allocations: 80.14 kB / 489.1 MB, free: 10.21 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.162e-05/0.09727, allocations: 19.8 kB / 489.1 MB, free: 10.19 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-05/0.09731, allocations: 13.72 kB / 489.1 MB, free: 10.17 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.411e-05/0.09741, allocations: 314.8 kB / 489.4 MB, free: 9.855 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.22e-05/0.0975, allocations: 19.97 kB / 489.5 MB, free: 9.836 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.924e-05/0.09757, allocations: 20.11 kB / 489.5 MB, free: 9.816 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.09773, allocations: 56.95 kB / 489.5 MB, free: 9.758 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.09773, allocations: 0 / 489.5 MB, free: 9.758 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001911/0.09793, allocations: 73.67 kB / 489.6 MB, free: 9.68 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.09796, allocations: 11.92 kB / 489.6 MB, free: 9.668 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.09797, allocations: 0 / 489.6 MB, free: 9.668 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.09799, allocations: 0 / 489.6 MB, free: 9.668 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.09811, allocations: 15.98 kB / 489.6 MB, free: 9.652 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.09813, allocations: 4 kB / 489.6 MB, free: 9.648 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.023e-05/0.09822, allocations: 7.938 kB / 489.6 MB, free: 9.641 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.09823, allocations: 0 / 489.6 MB, free: 9.641 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 6.999e-05/0.09831, allocations: 125.8 kB / 489.8 MB, free: 9.508 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.282e-05/0.09833, allocations: 7.875 kB / 489.8 MB, free: 9.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002526/0.09858, allocations: 93.16 kB / 489.9 MB, free: 9.398 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.0986, allocations: 0 / 489.9 MB, free: 9.398 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.09861, allocations: 3.984 kB / 489.9 MB, free: 9.395 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.09861, allocations: 0 / 489.9 MB, free: 9.395 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006583/0.09928, allocations: 359.2 kB / 490.2 MB, free: 8.984 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.09929, allocations: 4.031 kB / 490.2 MB, free: 8.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.801e-05/0.09939, allocations: 11.98 kB / 490.2 MB, free: 8.969 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.0994, allocations: 4 kB / 490.2 MB, free: 8.965 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.09941, allocations: 0 / 490.2 MB, free: 8.965 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.09942, allocations: 0 / 490.2 MB, free: 8.965 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.09942, allocations: 0 / 490.2 MB, free: 8.965 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005274/0.09995, allocations: 0.7484 MB / 491 MB, free: 8.156 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.881e-05/0.1, allocations: 81.11 kB / 491.1 MB, free: 8.059 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.1, allocations: 0 / 491.1 MB, free: 8.059 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.1001, allocations: 7.984 kB / 491.1 MB, free: 8.051 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.962e-05/0.1001, allocations: 11.88 kB / 491.1 MB, free: 8.039 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.824e-06/0.1002, allocations: 7.984 kB / 491.1 MB, free: 8.031 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.921e-05/0.1002, allocations: 79.28 kB / 491.2 MB, free: 7.953 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1002, allocations: 0 / 491.2 MB, free: 7.953 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003167/0.1005, allocations: 12 kB / 491.2 MB, free: 7.941 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.0001235/0.1007, allocations: 99.19 kB / 491.3 MB, free: 7.836 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000196/0.1009, allocations: 47.95 kB / 491.3 MB, free: 7.789 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.1009, allocations: 4 kB / 491.3 MB, free: 7.785 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.405e-05/0.101, allocations: 28.02 kB / 491.4 MB, free: 7.758 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/0.1012, allocations: 7.609 kB / 491.4 MB, free: 7.754 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004294/0.1016, allocations: 250.4 kB / 491.6 MB, free: 7.465 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001958/0.1018, allocations: 0.677 MB / 492.3 MB, free: 6.762 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.789e-05/0.1019, allocations: 8.062 kB / 492.3 MB, free: 6.754 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.93e-05/0.1019, allocations: 11.44 kB / 492.3 MB, free: 6.746 MB / 378.7 MB Notification: Performance of SimCode: time 3.01e-07/0.1019, allocations: 0 / 492.3 MB, free: 6.746 MB / 378.7 MB Notification: Performance of Templates: time 0.00247/0.1044, allocations: 0.6614 MB / 493 MB, free: 6.086 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches