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: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_3_2_3_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.001197/0.001197, allocations: 101.9 kB / 16.27 MB, free: 5.93 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.001164/0.001164, allocations: 192.5 kB / 17.2 MB, free: 5.574 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.2/1.2, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1985/0.1985, allocations: 43.53 MB / 313.9 MB, free: 0.5273 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.001618/0.001618, allocations: 69.59 kB / 382.8 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.077/0.07863, allocations: 57.79 MB / 440.6 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.002051/0.08072, allocations: 0.542 MB / 441.2 MB, free: 6.254 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000281/0.08104, allocations: 59.75 kB / 441.2 MB, free: 6.195 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.124e-05/0.08109, allocations: 0 / 441.2 MB, free: 6.195 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.948e-05/0.08114, allocations: 0 / 441.2 MB, free: 6.195 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002495/0.0814, allocations: 19.92 kB / 441.2 MB, free: 6.176 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.286e-05/0.08143, allocations: 0 / 441.2 MB, free: 6.176 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.444e-05/0.08149, allocations: 11.92 kB / 441.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.095e-05/0.08155, allocations: 0 / 441.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.951e-05/0.08157, allocations: 7.938 kB / 441.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.552e-05/0.08162, allocations: 8 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.08164, allocations: 0 / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.325e-05/0.08174, allocations: 27.95 kB / 441.3 MB, free: 6.121 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.151e-05/0.08176, allocations: 7.938 kB / 441.3 MB, free: 6.113 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.095e-05/0.08179, allocations: 3.938 kB / 441.3 MB, free: 6.109 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 9.764e-05/0.08189, allocations: 15.98 kB / 441.3 MB, free: 6.094 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.0819, allocations: 0 / 441.3 MB, free: 6.094 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.08191, allocations: 0 / 441.3 MB, free: 6.094 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.08192, allocations: 0 / 441.3 MB, free: 6.094 MB / 318.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.0003029/0.08223, allocations: 327.7 kB / 441.6 MB, free: 5.723 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.08228, allocations: 15.89 kB / 441.7 MB, free: 5.707 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.747e-05/0.08233, allocations: 34.75 kB / 441.7 MB, free: 5.664 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.249e-05/0.08237, allocations: 0.9375 kB / 441.7 MB, free: 5.664 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.598e-05/0.08247, allocations: 160.4 kB / 441.8 MB, free: 5.469 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.08249, allocations: 4.312 kB / 441.9 MB, free: 5.465 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.08251, allocations: 4.375 kB / 441.9 MB, free: 5.461 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.608e-05/0.0826, allocations: 34.25 kB / 441.9 MB, free: 5.422 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.08262, allocations: 3.938 kB / 441.9 MB, free: 5.418 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.08264, allocations: 8 kB / 441.9 MB, free: 5.41 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.08264, allocations: 3.938 kB / 441.9 MB, free: 5.406 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.187e-05/0.08268, allocations: 7.984 kB / 441.9 MB, free: 5.398 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001103/0.0828, allocations: 149.7 kB / 442.1 MB, free: 5.203 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.08299, allocations: 34.55 kB / 442.1 MB, free: 5.16 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.51e-05/0.08302, allocations: 16.86 kB / 442.1 MB, free: 5.141 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000317/0.08335, allocations: 117.1 kB / 442.2 MB, free: 5.008 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.524e-05/0.08337, allocations: 30.56 kB / 442.3 MB, free: 4.969 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.453e-06/0.08338, allocations: 0 / 442.3 MB, free: 4.969 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.001229/0.08461, allocations: 193.3 kB / 442.4 MB, free: 4.773 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.673e-05/0.08465, allocations: 51.41 kB / 442.5 MB, free: 4.711 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.428e-05/0.0847, allocations: 93.84 kB / 442.6 MB, free: 4.609 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.08472, allocations: 29.7 kB / 442.6 MB, free: 4.574 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.384e-05/0.08474, allocations: 84.7 kB / 442.7 MB, free: 4.488 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/0.08477, allocations: 11.75 kB / 442.7 MB, free: 4.477 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.619e-05/0.08481, allocations: 17.84 kB / 442.7 MB, free: 4.453 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.544e-05/0.08486, allocations: 322.8 kB / 443 MB, free: 4.129 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.868e-05/0.08495, allocations: 15.98 kB / 443.1 MB, free: 4.113 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.822e-05/0.08502, allocations: 19.98 kB / 443.1 MB, free: 4.094 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.08517, allocations: 44.83 kB / 443.1 MB, free: 4.047 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.08518, allocations: 3.938 kB / 443.1 MB, free: 4.043 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001851/0.08537, allocations: 81.59 kB / 443.2 MB, free: 3.957 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.08539, allocations: 8 kB / 443.2 MB, free: 3.949 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.0854, allocations: 0 / 443.2 MB, free: 3.949 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.08542, allocations: 0 / 443.2 MB, free: 3.949 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.08555, allocations: 12.23 kB / 443.2 MB, free: 3.938 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.08556, allocations: 4 kB / 443.2 MB, free: 3.934 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.534e-05/0.08565, allocations: 15.92 kB / 443.2 MB, free: 3.918 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.08567, allocations: 0 / 443.2 MB, free: 3.918 MB / 318.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 4.608e-05/0.08572, allocations: 117.8 kB / 443.4 MB, free: 3.793 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.362e-05/0.08574, allocations: 12.12 kB / 443.4 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002347/0.08598, allocations: 89.14 kB / 443.5 MB, free: 3.688 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.08599, allocations: 3.984 kB / 443.5 MB, free: 3.684 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.086, allocations: 0 / 443.5 MB, free: 3.684 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.08601, allocations: 0 / 443.5 MB, free: 3.684 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005941/0.08661, allocations: 359.3 kB / 443.8 MB, free: 3.273 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.08662, allocations: 3.938 kB / 443.8 MB, free: 3.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.136e-05/0.08672, allocations: 15.98 kB / 443.8 MB, free: 3.254 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.08673, allocations: 0 / 443.8 MB, free: 3.254 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.08674, allocations: 3.984 kB / 443.8 MB, free: 3.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.08675, allocations: 0 / 443.8 MB, free: 3.25 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.08676, allocations: 8.031 kB / 443.8 MB, free: 3.242 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002168/0.08698, allocations: 180.2 kB / 444 MB, free: 3.047 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.485e-05/0.087, allocations: 77.11 kB / 444.1 MB, free: 2.953 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.08702, allocations: 4 kB / 444.1 MB, free: 2.949 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.08713, allocations: 7.984 kB / 444.1 MB, free: 2.941 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.21e-05/0.08715, allocations: 4 kB / 444.1 MB, free: 2.938 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.08716, allocations: 4 kB / 444.1 MB, free: 2.934 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.6e-05/0.08718, allocations: 75.28 kB / 444.2 MB, free: 2.859 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.08719, allocations: 0 / 444.2 MB, free: 2.859 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002352/0.08743, allocations: 12 kB / 444.2 MB, free: 2.848 MB / 318.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.0003536/0.08779, allocations: 0.7211 MB / 444.9 MB, free: 2.098 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002065/0.088, allocations: 52.03 kB / 445 MB, free: 2.047 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.08802, allocations: 0 / 445 MB, free: 2.047 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.664e-05/0.0881, allocations: 23.91 kB / 445 MB, free: 2.023 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002186/0.08833, allocations: 12.06 kB / 445 MB, free: 2.012 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004935/0.08883, allocations: 155.5 kB / 445.2 MB, free: 1.816 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.249e-05/0.08892, allocations: 0.6768 MB / 445.8 MB, free: 1.113 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.519e-05/0.08897, allocations: 8 kB / 445.8 MB, free: 1.105 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.084e-05/0.08902, allocations: 15.42 kB / 445.9 MB, free: 1.09 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.08903, allocations: 0 / 445.9 MB, free: 1.09 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02495/0.114, allocations: 1.446 MB / 447.3 MB, free: 15.66 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.447/7.561, allocations: 9.391 kB / 447.3 MB, free: 15.65 MB / 334.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegStep_fmu --startTime=0 --stopTime=1.3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegStep.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches