Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.001636/0.001641, allocations: 188.5 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.009/2.009, allocations: 205.4 MB / 222.5 MB, free: 13.87 MB / 186.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001166/0.001166, allocations: 90.89 kB / 270.9 MB, free: 13.39 MB / 234.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2886/0.2886, allocations: 43.57 MB / 362.7 MB, free: 11.32 MB / 266.8 MB Notification: Performance of FrontEnd - loaded program: time 0.000471/0.0004712, allocations: 16 kB / 431.4 MB, free: 20.28 MB / 282.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1223, allocations: 58.85 MB / 490.2 MB, free: 9.359 MB / 330.8 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.0007709/0.1231, allocations: 260.6 kB / 490.5 MB, free: 9.102 MB / 330.8 MB Notification: Performance of NFInst.instExpressions: time 0.0002644/0.1234, allocations: 69.28 kB / 490.5 MB, free: 9.035 MB / 330.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.676e-05/0.1235, allocations: 0 / 490.5 MB, free: 9.035 MB / 330.8 MB Notification: Performance of NFTyping.typeComponents: time 1.011e-05/0.1235, allocations: 0 / 490.5 MB, free: 9.035 MB / 330.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002117/0.1237, allocations: 19.91 kB / 490.6 MB, free: 9.016 MB / 330.8 MB Notification: Performance of NFTyping.typeClassSections: time 1.818e-05/0.1237, allocations: 4 kB / 490.6 MB, free: 9.012 MB / 330.8 MB Notification: Performance of NFFlatten.flatten: time 4.551e-05/0.1238, allocations: 8 kB / 490.6 MB, free: 9.004 MB / 330.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.861e-05/0.1238, allocations: 0 / 490.6 MB, free: 9.004 MB / 330.8 MB Notification: Performance of NFEvalConstants.evaluate: time 1.694e-05/0.1239, allocations: 0 / 490.6 MB, free: 9.004 MB / 330.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.313e-05/0.1239, allocations: 11.97 kB / 490.6 MB, free: 8.992 MB / 330.8 MB Notification: Performance of NFPackage.collectConstants: time 9.939e-06/0.1239, allocations: 0 / 490.6 MB, free: 8.992 MB / 330.8 MB Notification: Performance of NFFlatten.collectFunctions: time 8.341e-05/0.124, allocations: 15.98 kB / 490.6 MB, free: 8.977 MB / 330.8 MB Notification: Performance of NFScalarize.scalarize: time 1.178e-05/0.1241, allocations: 7.938 kB / 490.6 MB, free: 8.969 MB / 330.8 MB Notification: Performance of NFVerifyModel.verify: time 2.353e-05/0.1241, allocations: 25.7 kB / 490.6 MB, free: 8.938 MB / 330.8 MB Notification: Performance of NFConvertDAE.convert: time 6.735e-05/0.1242, allocations: 11.98 kB / 490.6 MB, free: 8.926 MB / 330.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.1242, allocations: 0 / 490.6 MB, free: 8.926 MB / 330.8 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1242, allocations: 4 kB / 490.6 MB, free: 8.922 MB / 330.8 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.1242, allocations: 0 / 490.6 MB, free: 8.922 MB / 330.8 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.0003378/0.1246, allocations: 315.4 kB / 491 MB, free: 8.566 MB / 330.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.1246, allocations: 12.02 kB / 491 MB, free: 8.555 MB / 330.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.845e-05/0.1247, allocations: 4 kB / 491 MB, free: 8.551 MB / 330.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.1248, allocations: 163 kB / 491.1 MB, free: 8.352 MB / 330.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.1248, allocations: 0 / 491.1 MB, free: 8.352 MB / 330.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.571e-05/0.1249, allocations: 0 / 491.1 MB, free: 8.352 MB / 330.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.125, allocations: 45.62 kB / 491.2 MB, free: 8.301 MB / 330.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.125, allocations: 0 / 491.2 MB, free: 8.301 MB / 330.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.125, allocations: 4 kB / 491.2 MB, free: 8.297 MB / 330.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.125, allocations: 0 / 491.2 MB, free: 8.297 MB / 330.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.05e-05/0.1251, allocations: 11.88 kB / 491.2 MB, free: 8.285 MB / 330.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002321/0.1253, allocations: 161.8 kB / 491.3 MB, free: 8.078 MB / 330.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002197/0.1256, allocations: 34.61 kB / 491.4 MB, free: 8.035 MB / 330.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005524/0.1261, allocations: 125.2 kB / 491.5 MB, free: 7.895 MB / 330.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.1262, allocations: 34.55 kB / 491.5 MB, free: 7.852 MB / 330.8 MB Notification: Performance of pre-optimization done (n=3): time 2.043e-06/0.1262, allocations: 0 / 491.5 MB, free: 7.852 MB / 330.8 MB Notification: Performance of matching and sorting (n=5): time 0.002174/0.1284, allocations: 217.4 kB / 491.7 MB, free: 7.633 MB / 330.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/0.1285, allocations: 51.41 kB / 491.8 MB, free: 7.57 MB / 330.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.777e-05/0.1286, allocations: 93.86 kB / 491.9 MB, free: 7.469 MB / 330.8 MB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.1286, allocations: 25.7 kB / 491.9 MB, free: 7.438 MB / 330.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.609e-05/0.1287, allocations: 158.6 kB / 492.1 MB, free: 7.281 MB / 330.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.069e-05/0.1287, allocations: 15.81 kB / 492.1 MB, free: 7.266 MB / 330.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.394e-06/0.1287, allocations: 0 / 492.1 MB, free: 7.266 MB / 330.8 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.1289, allocations: 318.8 kB / 492.4 MB, free: 6.945 MB / 330.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.1291, allocations: 23.98 kB / 492.4 MB, free: 6.922 MB / 330.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001689/0.1292, allocations: 23.98 kB / 492.4 MB, free: 6.898 MB / 330.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.1294, allocations: 23.98 kB / 492.5 MB, free: 6.875 MB / 330.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1294, allocations: 0 / 492.5 MB, free: 6.875 MB / 330.8 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003669/0.1298, allocations: 81.66 kB / 492.5 MB, free: 6.789 MB / 330.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.1298, allocations: 4 kB / 492.5 MB, free: 6.785 MB / 330.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.1298, allocations: 4 kB / 492.6 MB, free: 6.781 MB / 330.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.1299, allocations: 4.281 kB / 492.6 MB, free: 6.777 MB / 330.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002168/0.1301, allocations: 15.98 kB / 492.6 MB, free: 6.762 MB / 330.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.1301, allocations: 0 / 492.6 MB, free: 6.762 MB / 330.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.1303, allocations: 11.92 kB / 492.6 MB, free: 6.75 MB / 330.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.1303, allocations: 4 kB / 492.6 MB, free: 6.746 MB / 330.8 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 0.0001068/0.1304, allocations: 113.8 kB / 492.7 MB, free: 6.625 MB / 330.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.965e-05/0.1305, allocations: 11.89 kB / 492.7 MB, free: 6.613 MB / 330.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004371/0.1309, allocations: 97.45 kB / 492.8 MB, free: 6.512 MB / 330.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.1309, allocations: 4 kB / 492.8 MB, free: 6.508 MB / 330.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1309, allocations: 4 kB / 492.8 MB, free: 6.504 MB / 330.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.131, allocations: 0 / 492.8 MB, free: 6.504 MB / 330.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001139/0.1321, allocations: 375.2 kB / 493.2 MB, free: 6.078 MB / 330.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1321, allocations: 0 / 493.2 MB, free: 6.078 MB / 330.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/0.1323, allocations: 15.98 kB / 493.2 MB, free: 6.062 MB / 330.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.105e-05/0.1323, allocations: 7.984 kB / 493.2 MB, free: 6.055 MB / 330.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.1324, allocations: 4 kB / 493.2 MB, free: 6.051 MB / 330.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.1324, allocations: 3.938 kB / 493.2 MB, free: 6.047 MB / 330.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.1324, allocations: 0 / 493.2 MB, free: 6.047 MB / 330.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004111/0.1328, allocations: 202.1 kB / 493.4 MB, free: 5.824 MB / 330.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.016e-05/0.1329, allocations: 77.11 kB / 493.5 MB, free: 5.73 MB / 330.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.887e-05/0.1329, allocations: 0 / 493.5 MB, free: 5.73 MB / 330.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001789/0.1331, allocations: 19.92 kB / 493.5 MB, free: 5.711 MB / 330.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.236e-05/0.1331, allocations: 0 / 493.5 MB, free: 5.711 MB / 330.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.1331, allocations: 4 kB / 493.5 MB, free: 5.707 MB / 330.8 MB Notification: Performance of sorting global known variables: time 6.86e-05/0.1332, allocations: 79.23 kB / 493.6 MB, free: 5.629 MB / 330.8 MB Notification: Performance of sort global known variables: time 4.91e-07/0.1332, allocations: 0 / 493.6 MB, free: 5.629 MB / 330.8 MB Notification: Performance of remove unused functions: time 0.0003109/0.1336, allocations: 16 kB / 493.6 MB, free: 5.613 MB / 330.8 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.0001806/0.1337, allocations: 107.1 kB / 493.7 MB, free: 5.5 MB / 330.8 MB Notification: Performance of simCode: created initialization part: time 0.0003455/0.1341, allocations: 56.06 kB / 493.8 MB, free: 5.445 MB / 330.8 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1341, allocations: 0 / 493.8 MB, free: 5.445 MB / 330.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001596/0.1343, allocations: 31.91 kB / 493.8 MB, free: 5.414 MB / 330.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001764/0.1345, allocations: 3.672 kB / 493.8 MB, free: 5.414 MB / 330.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006391/0.1351, allocations: 167.4 kB / 494 MB, free: 5.215 MB / 330.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/0.1354, allocations: 0.677 MB / 494.6 MB, free: 4.512 MB / 330.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.566e-05/0.1355, allocations: 15.38 kB / 494.6 MB, free: 4.496 MB / 330.8 MB Notification: Performance of SimCode: time 1.042e-06/0.1355, allocations: 4 kB / 494.7 MB, free: 4.492 MB / 330.8 MB Notification: Performance of Templates: time 0.002817/0.1384, allocations: 0.6718 MB / 495.3 MB, free: 3.82 MB / 330.8 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches