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/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 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 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009024/0.0009024, allocations: 97.38 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 172.5 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.301/1.301, allocations: 205.4 MB / 222.7 MB, free: 5.68 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3529/0.3529, allocations: 43.55 MB / 314.5 MB, free: 9.016 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005559/0.000556, allocations: 12 kB / 383.9 MB, free: 8.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1447, allocations: 58.86 MB / 442.7 MB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.000641/0.1454, allocations: 271 kB / 443 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002167/0.1456, allocations: 69.44 kB / 443.1 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.029e-05/0.1457, allocations: 0 / 443.1 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.029e-05/0.1457, allocations: 0 / 443.1 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001881/0.1459, allocations: 15.88 kB / 443.1 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.531e-05/0.1459, allocations: 3.984 kB / 443.1 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.65e-05/0.1459, allocations: 7.984 kB / 443.1 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.259e-05/0.146, allocations: 0 / 443.1 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.562e-05/0.146, allocations: 0 / 443.1 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.458e-05/0.1461, allocations: 7.938 kB / 443.1 MB, free: 12.94 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.033e-05/0.1461, allocations: 0 / 443.1 MB, free: 12.94 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.506e-05/0.1461, allocations: 19.98 kB / 443.1 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.322e-05/0.1462, allocations: 11.97 kB / 443.1 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.801e-05/0.1462, allocations: 25.7 kB / 443.2 MB, free: 12.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 5.167e-05/0.1462, allocations: 11.98 kB / 443.2 MB, free: 12.87 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.1463, allocations: 0 / 443.2 MB, free: 12.87 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1463, allocations: 0 / 443.2 MB, free: 12.87 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.1463, allocations: 0 / 443.2 MB, free: 12.87 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.0002667/0.1465, allocations: 315.3 kB / 443.5 MB, free: 12.51 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.1466, allocations: 12.02 kB / 443.5 MB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.522e-05/0.1466, allocations: 8 kB / 443.5 MB, free: 12.49 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.1467, allocations: 171.2 kB / 443.7 MB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.1468, allocations: 0 / 443.7 MB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.1468, allocations: 0 / 443.7 MB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.627e-05/0.1469, allocations: 41.58 kB / 443.7 MB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.1469, allocations: 0 / 443.7 MB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.1469, allocations: 4 kB / 443.7 MB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1469, allocations: 3.938 kB / 443.7 MB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.965e-05/0.147, allocations: 7.984 kB / 443.7 MB, free: 12.22 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000152/0.1471, allocations: 157.7 kB / 443.9 MB, free: 12.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.1473, allocations: 34.56 kB / 443.9 MB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003495/0.1477, allocations: 129.1 kB / 444 MB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.1477, allocations: 34.5 kB / 444.1 MB, free: 11.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.1477, allocations: 0 / 444.1 MB, free: 11.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.001182/0.1489, allocations: 209.4 kB / 444.3 MB, free: 11.58 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.1489, allocations: 59.34 kB / 444.3 MB, free: 11.51 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.693e-05/0.149, allocations: 93.86 kB / 444.4 MB, free: 11.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.149, allocations: 29.7 kB / 444.5 MB, free: 11.37 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.991e-05/0.1491, allocations: 84.12 kB / 444.5 MB, free: 11.29 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.492e-05/0.1491, allocations: 11.81 kB / 444.6 MB, free: 11.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-06/0.1491, allocations: 0 / 444.6 MB, free: 11.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.1492, allocations: 318.8 kB / 444.9 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.804e-05/0.1493, allocations: 24.11 kB / 444.9 MB, free: 10.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.882e-05/0.1494, allocations: 23.97 kB / 444.9 MB, free: 10.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.34e-05/0.1495, allocations: 23.98 kB / 444.9 MB, free: 10.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.1495, allocations: 0 / 444.9 MB, free: 10.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002001/0.1497, allocations: 81.67 kB / 445 MB, free: 10.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.1497, allocations: 4 kB / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1497, allocations: 4 kB / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.1497, allocations: 0 / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.1499, allocations: 24.17 kB / 445 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.1499, allocations: 3.984 kB / 445.1 MB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.205e-05/0.15, allocations: 12 kB / 445.1 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.627e-06/0.15, allocations: 4 kB / 445.1 MB, free: 10.75 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.734e-05/0.1501, allocations: 113.7 kB / 445.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.184e-05/0.1501, allocations: 3.984 kB / 445.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002468/0.1503, allocations: 97.5 kB / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1503, allocations: 0 / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.1504, allocations: 3.984 kB / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1504, allocations: 0 / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007044/0.1511, allocations: 383.2 kB / 445.7 MB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.798e-06/0.1511, allocations: 0 / 445.7 MB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.962e-05/0.1512, allocations: 23.86 kB / 445.7 MB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.1512, allocations: 4 kB / 445.7 MB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.1512, allocations: 4.031 kB / 445.7 MB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1512, allocations: 0 / 445.7 MB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1512, allocations: 3.938 kB / 445.7 MB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/0.1515, allocations: 202 kB / 445.9 MB, free: 9.824 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.813e-05/0.1515, allocations: 77.11 kB / 446 MB, free: 9.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.1515, allocations: 3.984 kB / 446 MB, free: 9.727 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.982e-05/0.1516, allocations: 12 kB / 446 MB, free: 9.715 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.63e-05/0.1516, allocations: 3.953 kB / 446 MB, free: 9.711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.1517, allocations: 7.984 kB / 446 MB, free: 9.703 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.521e-05/0.1517, allocations: 79.28 kB / 446.1 MB, free: 9.625 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.643e-06/0.1517, allocations: 0 / 446.1 MB, free: 9.625 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002184/0.1519, allocations: 15.94 kB / 446.1 MB, free: 9.609 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001085/0.152, allocations: 95.25 kB / 446.2 MB, free: 9.508 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002107/0.1523, allocations: 55.95 kB / 446.2 MB, free: 9.453 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1523, allocations: 4.094 kB / 446.2 MB, free: 9.449 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.047e-05/0.1524, allocations: 31.92 kB / 446.3 MB, free: 9.418 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001295/0.1525, allocations: 0 / 446.3 MB, free: 9.418 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003681/0.1529, allocations: 147.6 kB / 446.4 MB, free: 9.242 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002112/0.1531, allocations: 0.6731 MB / 447.1 MB, free: 8.543 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.701e-05/0.1532, allocations: 16.23 kB / 447.1 MB, free: 8.527 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.947e-05/0.1532, allocations: 11.44 kB / 447.1 MB, free: 8.516 MB / 382.1 MB Notification: Performance of SimCode: time 1.353e-06/0.1532, allocations: 0 / 447.1 MB, free: 8.516 MB / 382.1 MB Notification: Performance of Templates: time 0.002246/0.1554, allocations: 0.629 MB / 447.7 MB, free: 7.887 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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