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.0008103/0.0008103, allocations: 95.34 kB / 17.35 MB, free: 6.344 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.0008719/0.0008719, allocations: 173.8 kB / 18.25 MB, free: 5.504 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.254/1.254, allocations: 223.3 MB / 242.3 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1929/0.1929, allocations: 44.25 MB / 337.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002614/0.0002614, allocations: 8 kB / 410.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1018, allocations: 61.91 MB / 472.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.0004521/0.1023, allocations: 226.9 kB / 472.6 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003014/0.1026, allocations: 107.6 kB / 472.7 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.264e-05/0.1027, allocations: 3.938 kB / 472.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.107e-05/0.1027, allocations: 0 / 472.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001782/0.1029, allocations: 19.92 kB / 472.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.472e-05/0.1029, allocations: 0 / 472.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.813e-05/0.1029, allocations: 4 kB / 472.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.717e-05/0.103, allocations: 0 / 472.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.784e-05/0.103, allocations: 4 kB / 472.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.906e-05/0.103, allocations: 3.984 kB / 472.7 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.979e-06/0.1031, allocations: 3.938 kB / 472.7 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.002e-05/0.1031, allocations: 23.97 kB / 472.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.128e-05/0.1032, allocations: 4 kB / 472.7 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.444e-05/0.1032, allocations: 25.7 kB / 472.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.587e-05/0.1033, allocations: 23.84 kB / 472.8 MB, free: 12.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1033, allocations: 4 kB / 472.8 MB, free: 12.81 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.1033, allocations: 0 / 472.8 MB, free: 12.81 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.1033, allocations: 0 / 472.8 MB, free: 12.81 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.0002772/0.1036, allocations: 315.6 kB / 473.1 MB, free: 12.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.1036, allocations: 8.031 kB / 473.1 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.175e-05/0.1037, allocations: 34.73 kB / 473.1 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.107e-05/0.1037, allocations: 8.938 kB / 473.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.1038, allocations: 160.4 kB / 473.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.1038, allocations: 384 / 473.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.1038, allocations: 4.375 kB / 473.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.926e-05/0.1039, allocations: 38.25 kB / 473.4 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.1039, allocations: 7.938 kB / 473.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.542e-06/0.104, allocations: 0 / 473.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.104, allocations: 0 / 473.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.028e-05/0.104, allocations: 7.938 kB / 473.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001473/0.1042, allocations: 157.9 kB / 473.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.1043, allocations: 38.66 kB / 473.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.572e-05/0.1044, allocations: 12.84 kB / 473.6 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003399/0.1047, allocations: 125.1 kB / 473.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.1047, allocations: 42.55 kB / 473.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1047, allocations: 0 / 473.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.001189/0.1059, allocations: 213.3 kB / 473.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.106, allocations: 59.41 kB / 474 MB, free: 11.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.974e-05/0.106, allocations: 89.86 kB / 474.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.1061, allocations: 25.7 kB / 474.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.732e-05/0.1061, allocations: 88.12 kB / 474.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.1061, allocations: 11.81 kB / 474.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.562e-05/0.1062, allocations: 17.64 kB / 474.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.1063, allocations: 318.8 kB / 474.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.214e-05/0.1064, allocations: 28.05 kB / 474.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.528e-05/0.1064, allocations: 23.98 kB / 474.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.1066, allocations: 52.83 kB / 474.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1066, allocations: 0 / 474.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002057/0.1068, allocations: 97.44 kB / 474.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.1068, allocations: 6.5 kB / 474.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.615e-06/0.1069, allocations: 0 / 474.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.096e-06/0.1069, allocations: 4 kB / 474.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.107, allocations: 19.92 kB / 474.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.107, allocations: 4 kB / 474.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.277e-05/0.1071, allocations: 7.984 kB / 474.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.1071, allocations: 8 kB / 474.8 MB, free: 10.57 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.03e-05/0.1072, allocations: 105.8 kB / 474.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.09e-05/0.1072, allocations: 3.938 kB / 474.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002534/0.1074, allocations: 97.45 kB / 475 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1075, allocations: 4.062 kB / 475 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.1075, allocations: 4 kB / 475 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-06/0.1075, allocations: 0 / 475 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006682/0.1081, allocations: 375.3 kB / 475.4 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1082, allocations: 0 / 475.4 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.44e-05/0.1083, allocations: 23.95 kB / 475.4 MB, free: 9.891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1083, allocations: 4 kB / 475.4 MB, free: 9.887 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/0.1083, allocations: 0 / 475.4 MB, free: 9.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1083, allocations: 0 / 475.4 MB, free: 9.887 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1083, allocations: 0 / 475.4 MB, free: 9.887 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002311/0.1085, allocations: 192.3 kB / 475.6 MB, free: 9.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.024e-05/0.1086, allocations: 81.02 kB / 475.7 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.009e-05/0.1086, allocations: 0 / 475.7 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.1087, allocations: 11.98 kB / 475.7 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.2e-05/0.1087, allocations: 0 / 475.7 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.1087, allocations: 4 kB / 475.7 MB, free: 9.566 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.03e-05/0.1087, allocations: 79.28 kB / 475.8 MB, free: 9.488 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.482e-06/0.1088, allocations: 0 / 475.8 MB, free: 9.488 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002233/0.109, allocations: 19.94 kB / 475.8 MB, free: 9.469 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.0004869/0.1095, allocations: 0.7216 MB / 476.5 MB, free: 8.719 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001847/0.1097, allocations: 51.91 kB / 476.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.1097, allocations: 4 kB / 476.5 MB, free: 8.664 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.362e-05/0.1098, allocations: 32.03 kB / 476.6 MB, free: 8.633 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001905/0.11, allocations: 11.94 kB / 476.6 MB, free: 8.621 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004702/0.1104, allocations: 173.4 kB / 476.8 MB, free: 8.406 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.1107, allocations: 0.6813 MB / 477.4 MB, free: 7.699 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.319e-05/0.1107, allocations: 8 kB / 477.4 MB, free: 7.691 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.756e-05/0.1108, allocations: 15.42 kB / 477.5 MB, free: 7.676 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1108, allocations: 4 kB / 477.5 MB, free: 7.672 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.142/2.253, allocations: 1.258 MB / 478.7 MB, free: 6.527 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002254/2.253, allocations: 209.3 kB / 478.9 MB, free: 6.27 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.908/5.161, allocations: 0 / 478.9 MB, free: 6.27 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