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.001354/0.001354, allocations: 103.8 kB / 15.98 MB, free: 5.898 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.001423/0.001423, allocations: 191.2 kB / 16.91 MB, free: 5.746 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.34/1.34, allocations: 205.1 MB / 222.8 MB, free: 12.43 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.1895/0.1895, allocations: 43.52 MB / 313.6 MB, free: 0.6914 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.002312/0.002312, allocations: 68.2 kB / 382.3 MB, free: 56.88 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09697/0.09931, allocations: 57.78 MB / 440.1 MB, free: 7.258 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001687/0.101, allocations: 0.6051 MB / 440.7 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002409/0.1013, allocations: 73.5 kB / 440.8 MB, free: 6.574 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.425e-05/0.1013, allocations: 0 / 440.8 MB, free: 6.574 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.856e-05/0.1014, allocations: 0 / 440.8 MB, free: 6.574 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002231/0.1016, allocations: 11.92 kB / 440.8 MB, free: 6.562 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.765e-05/0.1016, allocations: 4 kB / 440.8 MB, free: 6.559 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 3.943e-05/0.1017, allocations: 7.984 kB / 440.8 MB, free: 6.551 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.975e-05/0.1017, allocations: 4 kB / 440.8 MB, free: 6.547 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.879e-05/0.1017, allocations: 3.938 kB / 440.8 MB, free: 6.543 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.204e-05/0.1018, allocations: 0 / 440.8 MB, free: 6.543 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.015e-05/0.1018, allocations: 4 kB / 440.8 MB, free: 6.539 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.816e-05/0.1019, allocations: 23.97 kB / 440.8 MB, free: 6.516 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.688e-06/0.1019, allocations: 3.938 kB / 440.8 MB, free: 6.512 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.815e-05/0.1019, allocations: 7.938 kB / 440.8 MB, free: 6.504 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 7.165e-05/0.102, allocations: 19.97 kB / 440.9 MB, free: 6.484 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.102, allocations: 0 / 440.9 MB, free: 6.484 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.102, allocations: 0 / 440.9 MB, free: 6.484 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.102, allocations: 4 kB / 440.9 MB, free: 6.48 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.0002364/0.1022, allocations: 327.7 kB / 441.2 MB, free: 6.109 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.1023, allocations: 11.89 kB / 441.2 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.988e-05/0.1023, allocations: 30.75 kB / 441.2 MB, free: 6.059 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.43e-05/0.1024, allocations: 8.938 kB / 441.2 MB, free: 6.051 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.063e-05/0.1024, allocations: 168.3 kB / 441.4 MB, free: 5.848 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.1024, allocations: 384 / 441.4 MB, free: 5.848 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.1025, allocations: 384 / 441.4 MB, free: 5.848 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.296e-05/0.1026, allocations: 34.27 kB / 441.4 MB, free: 5.809 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.1026, allocations: 7.938 kB / 441.4 MB, free: 5.801 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-06/0.1026, allocations: 3.938 kB / 441.4 MB, free: 5.797 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.1026, allocations: 3.984 kB / 441.5 MB, free: 5.793 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.02e-05/0.1026, allocations: 11.92 kB / 441.5 MB, free: 5.781 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001117/0.1028, allocations: 157.7 kB / 441.6 MB, free: 5.578 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.1029, allocations: 30.58 kB / 441.6 MB, free: 5.539 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.314e-05/0.103, allocations: 12.94 kB / 441.7 MB, free: 5.523 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003089/0.1033, allocations: 113.1 kB / 441.8 MB, free: 5.395 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/0.1033, allocations: 38.56 kB / 441.8 MB, free: 5.348 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.893e-06/0.1033, allocations: 0 / 441.8 MB, free: 5.348 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.001215/0.1045, allocations: 181.3 kB / 442 MB, free: 5.164 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.1046, allocations: 59.39 kB / 442 MB, free: 5.094 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.395e-05/0.1046, allocations: 97.8 kB / 442.1 MB, free: 4.988 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.839e-06/0.1046, allocations: 25.7 kB / 442.2 MB, free: 4.957 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.206e-05/0.1047, allocations: 80.14 kB / 442.2 MB, free: 4.875 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.453e-05/0.1047, allocations: 15.75 kB / 442.3 MB, free: 4.859 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.21e-05/0.1047, allocations: 21.7 kB / 442.3 MB, free: 4.832 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.219e-05/0.1048, allocations: 314.8 kB / 442.6 MB, free: 4.516 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.183e-05/0.1048, allocations: 20.11 kB / 442.6 MB, free: 4.496 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.989e-05/0.1049, allocations: 19.98 kB / 442.6 MB, free: 4.477 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.105, allocations: 44.83 kB / 442.7 MB, free: 4.43 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.105, allocations: 0 / 442.7 MB, free: 4.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001616/0.1052, allocations: 81.78 kB / 442.7 MB, free: 4.344 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.1052, allocations: 4 kB / 442.8 MB, free: 4.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.1052, allocations: 0 / 442.8 MB, free: 4.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.1053, allocations: 11.94 kB / 442.8 MB, free: 4.328 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.1054, allocations: 15.98 kB / 442.8 MB, free: 4.312 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.1054, allocations: 0 / 442.8 MB, free: 4.312 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.259e-05/0.1055, allocations: 7.984 kB / 442.8 MB, free: 4.305 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.1055, allocations: 4 kB / 442.8 MB, free: 4.301 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.811e-05/0.1055, allocations: 109.8 kB / 442.9 MB, free: 4.184 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.135e-05/0.1056, allocations: 7.844 kB / 442.9 MB, free: 4.176 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002224/0.1058, allocations: 93.2 kB / 443 MB, free: 4.078 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1058, allocations: 0 / 443 MB, free: 4.078 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.1058, allocations: 0 / 443 MB, free: 4.078 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1058, allocations: 3.938 kB / 443 MB, free: 4.074 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005799/0.1064, allocations: 363.3 kB / 443.4 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1064, allocations: 0 / 443.4 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.818e-05/0.1065, allocations: 19.86 kB / 443.4 MB, free: 3.641 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.1065, allocations: 4 kB / 443.4 MB, free: 3.637 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.1065, allocations: 0 / 443.4 MB, free: 3.637 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1065, allocations: 0 / 443.4 MB, free: 3.637 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1065, allocations: 0 / 443.4 MB, free: 3.637 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001812/0.1067, allocations: 184.3 kB / 443.6 MB, free: 3.438 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.669e-05/0.1068, allocations: 77.11 kB / 443.6 MB, free: 3.344 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.1068, allocations: 0 / 443.6 MB, free: 3.344 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.1069, allocations: 8.172 kB / 443.6 MB, free: 3.336 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.36e-05/0.1069, allocations: 7.938 kB / 443.6 MB, free: 3.328 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.1069, allocations: 8 kB / 443.7 MB, free: 3.32 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.171e-05/0.1069, allocations: 83.28 kB / 443.7 MB, free: 3.238 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1069, allocations: 0 / 443.7 MB, free: 3.238 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002172/0.1072, allocations: 8 kB / 443.7 MB, free: 3.23 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.0003449/0.1075, allocations: 0.7236 MB / 444.5 MB, free: 2.48 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001956/0.1077, allocations: 51.89 kB / 444.5 MB, free: 2.43 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.1077, allocations: 0.5625 kB / 444.5 MB, free: 2.43 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.882e-05/0.1078, allocations: 23.98 kB / 444.5 MB, free: 2.406 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.108, allocations: 4.719 kB / 444.5 MB, free: 2.402 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004853/0.1085, allocations: 175.5 kB / 444.7 MB, free: 2.188 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.1086, allocations: 0.6768 MB / 445.4 MB, free: 1.484 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.534e-05/0.1087, allocations: 4 kB / 445.4 MB, free: 1.48 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.004e-05/0.1087, allocations: 15.42 kB / 445.4 MB, free: 1.465 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1088, allocations: 0 / 445.4 MB, free: 1.465 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01011/0.1189, allocations: 1.368 MB / 446.8 MB, free: 152 kB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000162/0.1191, allocations: 203.3 kB / 447 MB, free: 15.89 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.754/1.873, allocations: 1.688 kB / 447 MB, free: 15.89 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","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches