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: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 107.6 kB / 17.32 MB, free: 5.672 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.001596/0.001596, allocations: 193.3 kB / 18.25 MB, free: 4.977 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.421/1.421, allocations: 222.9 MB / 241.9 MB, free: 15.42 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.2079/0.2079, allocations: 44.18 MB / 336.2 MB, free: 2.938 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 64.2 kB / 408 MB, free: 27.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1048, allocations: 60.82 MB / 468.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.00171/0.1066, allocations: 0.5565 MB / 469.4 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002757/0.1069, allocations: 114.1 kB / 469.5 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.337e-05/0.1069, allocations: 0 / 469.5 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.332e-05/0.107, allocations: 0 / 469.5 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002071/0.1072, allocations: 15.98 kB / 469.5 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.758e-05/0.1072, allocations: 0 / 469.5 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.144e-05/0.1073, allocations: 7.938 kB / 469.5 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.953e-05/0.1073, allocations: 4 kB / 469.5 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.444e-05/0.1073, allocations: 0 / 469.5 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.837e-05/0.1074, allocations: 11.92 kB / 469.5 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.568e-06/0.1074, allocations: 0 / 469.5 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.779e-05/0.1075, allocations: 23.97 kB / 469.5 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.277e-06/0.1075, allocations: 0 / 469.5 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.458e-05/0.1075, allocations: 0 / 469.5 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.597e-05/0.1076, allocations: 23.91 kB / 469.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1076, allocations: 4 kB / 469.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1076, allocations: 0 / 469.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.067e-06/0.1076, allocations: 0 / 469.6 MB, free: 13.88 MB / 350.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.0002605/0.1079, allocations: 315.6 kB / 469.9 MB, free: 13.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.1079, allocations: 8.031 kB / 469.9 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.016e-05/0.108, allocations: 38.73 kB / 469.9 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.831e-05/0.108, allocations: 0.9375 kB / 469.9 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.894e-05/0.1081, allocations: 164.4 kB / 470.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.995e-06/0.1081, allocations: 384 / 470.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.1081, allocations: 4.375 kB / 470.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.913e-05/0.1082, allocations: 38.19 kB / 470.1 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.1082, allocations: 7.938 kB / 470.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.1082, allocations: 4 kB / 470.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1082, allocations: 7.938 kB / 470.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.856e-05/0.1083, allocations: 4 kB / 470.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001361/0.1084, allocations: 157.8 kB / 470.3 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/0.1086, allocations: 42.61 kB / 470.3 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.71e-05/0.1086, allocations: 12.8 kB / 470.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003403/0.109, allocations: 109.2 kB / 470.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.109, allocations: 38.55 kB / 470.5 MB, free: 12.76 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.109, allocations: 0 / 470.5 MB, free: 12.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.001269/0.1103, allocations: 185.4 kB / 470.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/0.1103, allocations: 59.41 kB / 470.7 MB, free: 12.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.79e-05/0.1104, allocations: 89.86 kB / 470.8 MB, free: 12.4 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.1104, allocations: 29.83 kB / 470.9 MB, free: 12.37 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.218e-05/0.1104, allocations: 84.14 kB / 470.9 MB, free: 12.28 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.1105, allocations: 11.81 kB / 471 MB, free: 12.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.1105, allocations: 21.7 kB / 471 MB, free: 12.24 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.161e-05/0.1106, allocations: 310.8 kB / 471.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.337e-05/0.1107, allocations: 19.98 kB / 471.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.933e-05/0.1108, allocations: 27.91 kB / 471.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.1109, allocations: 44.83 kB / 471.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.1109, allocations: 4 kB / 471.4 MB, free: 11.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002003/0.1111, allocations: 81.45 kB / 471.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.1112, allocations: 4 kB / 471.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.1112, allocations: 0 / 471.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.1112, allocations: 0 / 471.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.1113, allocations: 15.98 kB / 471.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.1113, allocations: 0 / 471.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.879e-05/0.1114, allocations: 11.98 kB / 471.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.769e-06/0.1114, allocations: 4 kB / 471.5 MB, free: 11.71 MB / 350.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 6.93e-05/0.1115, allocations: 109.8 kB / 471.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.326e-05/0.1115, allocations: 3.938 kB / 471.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002535/0.1118, allocations: 97.67 kB / 471.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.1118, allocations: 4 kB / 471.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1118, allocations: 0 / 471.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.1118, allocations: 3.984 kB / 471.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000674/0.1125, allocations: 355.3 kB / 472 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1125, allocations: 4 kB / 472.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.898e-05/0.1126, allocations: 16.02 kB / 472.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1126, allocations: 0 / 472.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.1126, allocations: 4 kB / 472.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1126, allocations: 0 / 472.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1127, allocations: 0 / 472.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002284/0.1129, allocations: 184.2 kB / 472.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.411e-05/0.1129, allocations: 88.95 kB / 472.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.113, allocations: 0 / 472.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.1131, allocations: 7.984 kB / 472.3 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.423e-05/0.1131, allocations: 4 kB / 472.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.1131, allocations: 3.984 kB / 472.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.826e-05/0.1131, allocations: 75.28 kB / 472.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1131, allocations: 4 kB / 472.4 MB, free: 10.65 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002332/0.1134, allocations: 12 kB / 472.4 MB, free: 10.64 MB / 350.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.0004888/0.1139, allocations: 0.7177 MB / 473.2 MB, free: 9.895 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002054/0.1141, allocations: 51.89 kB / 473.2 MB, free: 9.844 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1141, allocations: 4 kB / 473.2 MB, free: 9.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.975e-05/0.1142, allocations: 23.92 kB / 473.2 MB, free: 9.816 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000219/0.1144, allocations: 8 kB / 473.2 MB, free: 9.809 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005349/0.115, allocations: 167.4 kB / 473.4 MB, free: 9.602 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002089/0.1152, allocations: 0.6768 MB / 474.1 MB, free: 8.898 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.884e-05/0.1152, allocations: 7.984 kB / 474.1 MB, free: 8.891 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.372e-05/0.1153, allocations: 11.44 kB / 474.1 MB, free: 8.879 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1153, allocations: 0 / 474.1 MB, free: 8.879 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01032/0.1256, allocations: 1.374 MB / 475.5 MB, free: 7.617 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001842/0.1258, allocations: 209.3 kB / 475.7 MB, free: 7.352 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.706/1.832, allocations: 3.938 kB / 475.7 MB, free: 7.348 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegStep_fmu --startTime=0 --stopTime=1.3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegStep.fmu > 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