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.001199/0.001199, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.001252/0.001252, allocations: 187.9 kB / 18.71 MB, free: 4.371 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.266/1.266, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.1928/0.1928, allocations: 44.19 MB / 336.8 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 71.89 kB / 470 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3144, allocations: 60.82 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001599/0.316, allocations: 498.2 kB / 0.5189 GB, free: 3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002839/0.3163, allocations: 109 kB / 0.519 GB, free: 2.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.722e-05/0.3164, allocations: 0.9688 kB / 0.519 GB, free: 2.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.151e-05/0.3164, allocations: 0 / 0.519 GB, free: 2.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002062/0.3166, allocations: 15.81 kB / 0.519 GB, free: 2.922 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.848e-05/0.3166, allocations: 6.797 kB / 0.519 GB, free: 2.918 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.233e-05/0.3167, allocations: 2.75 kB / 0.519 GB, free: 2.918 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.497e-05/0.3167, allocations: 2.938 kB / 0.519 GB, free: 2.918 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.726e-05/0.3168, allocations: 5.078 kB / 0.519 GB, free: 2.914 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.362e-05/0.3168, allocations: 11.62 kB / 0.519 GB, free: 2.906 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.049e-05/0.3168, allocations: 3.938 kB / 0.519 GB, free: 2.902 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.459e-05/0.3169, allocations: 19.8 kB / 0.519 GB, free: 2.898 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.039e-05/0.3169, allocations: 1.219 kB / 0.519 GB, free: 2.898 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.625e-05/0.317, allocations: 5.766 kB / 0.5191 GB, free: 2.895 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.014e-05/0.317, allocations: 27.84 kB / 0.5191 GB, free: 2.879 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3171, allocations: 2.859 kB / 0.5191 GB, free: 2.879 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3171, allocations: 4 kB / 0.5191 GB, free: 2.875 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.3171, allocations: 1.344 kB / 0.5191 GB, free: 2.875 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.0002205/0.3173, allocations: 315.1 kB / 0.5194 GB, free: 2.523 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.3173, allocations: 10.34 kB / 0.5194 GB, free: 2.523 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.142e-05/0.3174, allocations: 34.75 kB / 0.5194 GB, free: 2.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.114e-05/0.3174, allocations: 2.156 kB / 0.5194 GB, free: 2.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.451e-05/0.3175, allocations: 161.4 kB / 0.5196 GB, free: 2.285 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.3175, allocations: 1.781 kB / 0.5196 GB, free: 2.285 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.3175, allocations: 1.688 kB / 0.5196 GB, free: 2.285 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.439e-05/0.3176, allocations: 37.39 kB / 0.5196 GB, free: 2.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.3176, allocations: 3.938 kB / 0.5196 GB, free: 2.246 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.3176, allocations: 5.25 kB / 0.5196 GB, free: 2.242 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.3176, allocations: 0 / 0.5196 GB, free: 2.242 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.236e-05/0.3177, allocations: 11.83 kB / 0.5196 GB, free: 2.238 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001014/0.3178, allocations: 150.5 kB / 0.5198 GB, free: 2.047 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/0.3179, allocations: 37.41 kB / 0.5198 GB, free: 2.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.306e-05/0.318, allocations: 13.42 kB / 0.5198 GB, free: 2.008 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003175/0.3183, allocations: 112.9 kB / 0.5199 GB, free: 1.914 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.258e-05/0.3183, allocations: 31.27 kB / 0.52 GB, free: 1.875 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.3183, allocations: 1 kB / 0.52 GB, free: 1.875 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.001239/0.3196, allocations: 193.1 kB / 0.5202 GB, free: 1.809 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.878e-05/0.3196, allocations: 52.56 kB / 0.5202 GB, free: 1.746 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.701e-05/0.3196, allocations: 92.39 kB / 0.5203 GB, free: 1.648 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.3196, allocations: 25.7 kB / 0.5203 GB, free: 1.617 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.468e-06/0.3197, allocations: 92.2 kB / 0.5204 GB, free: 1.523 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.447e-05/0.3197, allocations: 16.3 kB / 0.5204 GB, free: 1.512 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.402e-05/0.3197, allocations: 19.53 kB / 0.5204 GB, free: 1.492 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.509e-05/0.3198, allocations: 316.5 kB / 0.5207 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.888e-05/0.3199, allocations: 19.75 kB / 0.5208 GB, free: 1.172 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.64e-05/0.3199, allocations: 19.83 kB / 0.5208 GB, free: 1.168 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.3201, allocations: 48.11 kB / 0.5208 GB, free: 1.148 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.3201, allocations: 1.031 kB / 0.5208 GB, free: 1.148 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001772/0.3203, allocations: 81.66 kB / 0.5209 GB, free: 1.102 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.3203, allocations: 4.344 kB / 0.5209 GB, free: 1.102 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3203, allocations: 1.984 kB / 0.5209 GB, free: 1.102 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.3203, allocations: 0 / 0.5209 GB, free: 1.102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.3204, allocations: 23.02 kB / 0.5209 GB, free: 1.094 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.3205, allocations: 0.7031 kB / 0.5209 GB, free: 1.094 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.613e-05/0.3205, allocations: 9.75 kB / 0.5209 GB, free: 1.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.3206, allocations: 1.859 kB / 0.521 GB, free: 1.09 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.472e-05/0.3206, allocations: 112.7 kB / 0.5211 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.324e-05/0.3206, allocations: 5.125 kB / 0.5211 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002305/0.3209, allocations: 89.45 kB / 0.5211 GB, free: 0.918 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.3209, allocations: 5.828 kB / 0.5212 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.3209, allocations: 0 / 0.5212 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.3209, allocations: 0.7031 kB / 0.5212 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006035/0.3215, allocations: 356.3 kB / 0.5215 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.3215, allocations: 4 kB / 0.5215 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.898e-05/0.3216, allocations: 18.7 kB / 0.5215 GB, free: 0.582 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.3216, allocations: 5.125 kB / 0.5215 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.966e-06/0.3216, allocations: 1.594 kB / 0.5215 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.3216, allocations: 1.609 kB / 0.5215 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.3217, allocations: 0 / 0.5215 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001887/0.3218, allocations: 177.9 kB / 0.5217 GB, free: 436 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.619e-05/0.3219, allocations: 83.16 kB / 0.5218 GB, free: 336 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.3219, allocations: 6.094 kB / 0.5218 GB, free: 332 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.322, allocations: 6.594 kB / 0.5218 GB, free: 332 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.699e-05/0.322, allocations: 3.906 kB / 0.5218 GB, free: 332 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.322, allocations: 1.125 kB / 0.5218 GB, free: 332 kB / 382.1 MB Notification: Performance of sorting global known variables: time 1.539e-05/0.3221, allocations: 81.12 kB / 0.5219 GB, free: 252 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3221, allocations: 0 / 0.5219 GB, free: 252 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002389/0.3223, allocations: 12.19 kB / 0.5219 GB, free: 248 kB / 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 (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.0004561/0.3228, allocations: 0.7175 MB / 0.5226 GB, free: 15.55 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002005/0.323, allocations: 50.8 kB / 0.5226 GB, free: 15.54 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.323, allocations: 0 / 0.5226 GB, free: 15.54 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.44e-05/0.3231, allocations: 25.3 kB / 0.5227 GB, free: 15.54 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.3233, allocations: 6.438 kB / 0.5227 GB, free: 15.53 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005495/0.3239, allocations: 165.1 kB / 0.5228 GB, free: 15.37 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/0.3241, allocations: 0.6791 MB / 0.5235 GB, free: 14.67 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.401e-05/0.3241, allocations: 8.875 kB / 0.5235 GB, free: 14.67 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.048e-05/0.3242, allocations: 11.28 kB / 0.5235 GB, free: 14.66 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3242, allocations: 0 / 0.5235 GB, free: 14.66 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0169/0.3411, allocations: 1.492 MB / 0.525 GB, free: 14.28 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.209/7.551, allocations: 5.094 kB / 0.525 GB, free: 14.27 MB / 398.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