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.00111/0.00111, allocations: 103.7 kB / 17.63 MB, free: 5.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.001406/0.001407, allocations: 192 kB / 18.56 MB, free: 4.434 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.289/1.289, allocations: 222.9 MB / 242.2 MB, free: 15.18 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.203/0.203, allocations: 44.18 MB / 336.6 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 63.02 kB / 408.5 MB, free: 27.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08785/0.08915, allocations: 60.82 MB / 469.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001568/0.09075, allocations: 491.7 kB / 469.8 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000288/0.09106, allocations: 103.6 kB / 469.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.085e-05/0.09109, allocations: 4 kB / 469.9 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.425e-05/0.09111, allocations: 0 / 469.9 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000184/0.09131, allocations: 15.92 kB / 470 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.741e-05/0.09134, allocations: 3.938 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.21e-05/0.09139, allocations: 15.92 kB / 470 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.901e-05/0.09143, allocations: 0 / 470 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.693e-05/0.09145, allocations: 4 kB / 470 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.7e-05/0.0915, allocations: 7.984 kB / 470 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.039e-05/0.09151, allocations: 3.938 kB / 470 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.661e-05/0.09159, allocations: 23.97 kB / 470 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.666e-06/0.09161, allocations: 0 / 470 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.376e-05/0.09163, allocations: 0 / 470 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.852e-05/0.09171, allocations: 23.92 kB / 470 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.09172, allocations: 0 / 470 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.09173, allocations: 0 / 470 MB, free: 13.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.09174, allocations: 4 kB / 470 MB, free: 13.6 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.0002643/0.09201, allocations: 311.6 kB / 470.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.09205, allocations: 12.03 kB / 470.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.283e-05/0.09209, allocations: 34.75 kB / 470.4 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.047e-05/0.09211, allocations: 4.875 kB / 470.4 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.506e-05/0.09221, allocations: 164.4 kB / 470.6 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.09223, allocations: 4.375 kB / 470.6 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.566e-05/0.09225, allocations: 384 / 470.6 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.019e-05/0.09233, allocations: 40.75 kB / 470.6 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.09235, allocations: 7.938 kB / 470.6 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.732e-06/0.09236, allocations: 0 / 470.6 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.09237, allocations: 0 / 470.6 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.416e-05/0.09241, allocations: 11.98 kB / 470.6 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001392/0.09256, allocations: 161.8 kB / 470.8 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.09272, allocations: 42.55 kB / 470.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.641e-05/0.09276, allocations: 8.859 kB / 470.8 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000348/0.09311, allocations: 117.1 kB / 470.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.09314, allocations: 30.56 kB / 471 MB, free: 12.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.09315, allocations: 0 / 471 MB, free: 12.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.001247/0.0944, allocations: 185.4 kB / 471.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.09445, allocations: 51.41 kB / 471.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.309e-05/0.09451, allocations: 97.84 kB / 471.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.09453, allocations: 29.7 kB / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.213e-05/0.09456, allocations: 80.14 kB / 471.4 MB, free: 12.01 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.09458, allocations: 7.812 kB / 471.4 MB, free: 12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.746e-05/0.09463, allocations: 25.84 kB / 471.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.312e-05/0.09473, allocations: 314.8 kB / 471.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.42e-05/0.09482, allocations: 15.98 kB / 471.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.22e-05/0.0949, allocations: 19.98 kB / 471.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/0.09506, allocations: 48.77 kB / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.09507, allocations: 0 / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002024/0.09528, allocations: 97.38 kB / 471.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.0953, allocations: 4 kB / 471.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.09531, allocations: 0 / 471.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.09533, allocations: 0 / 471.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.09545, allocations: 15.98 kB / 471.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.09547, allocations: 0 / 471.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.768e-05/0.09556, allocations: 7.984 kB / 472 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.09558, allocations: 4 kB / 472 MB, free: 11.43 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.445e-05/0.09565, allocations: 117.8 kB / 472.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.378e-05/0.09567, allocations: 3.938 kB / 472.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002487/0.09592, allocations: 85.45 kB / 472.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.09594, allocations: 64 / 472.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.09595, allocations: 4 kB / 472.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.09596, allocations: 8 kB / 472.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007163/0.09668, allocations: 351.3 kB / 472.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.0967, allocations: 3.984 kB / 472.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.958e-05/0.0968, allocations: 15.98 kB / 472.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.09681, allocations: 0 / 472.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.09682, allocations: 0 / 472.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.09683, allocations: 8.031 kB / 472.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.09684, allocations: 0 / 472.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002519/0.0971, allocations: 180.6 kB / 472.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.802e-05/0.09715, allocations: 89 kB / 472.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.09717, allocations: 0 / 472.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.09728, allocations: 11.98 kB / 472.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.105e-05/0.0973, allocations: 0 / 472.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.09731, allocations: 4 kB / 472.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.07e-05/0.09735, allocations: 75.28 kB / 472.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09735, allocations: 0 / 472.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002408/0.0976, allocations: 16 kB / 472.9 MB, free: 10.37 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.00052/0.09812, allocations: 0.721 MB / 473.6 MB, free: 9.617 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002109/0.09835, allocations: 43.97 kB / 473.7 MB, free: 9.574 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.09836, allocations: 3.938 kB / 473.7 MB, free: 9.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.547e-05/0.09846, allocations: 28.03 kB / 473.7 MB, free: 9.543 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002213/0.09869, allocations: 11.22 kB / 473.7 MB, free: 9.535 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000536/0.09923, allocations: 159.4 kB / 473.9 MB, free: 9.336 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002377/0.09948, allocations: 0.6768 MB / 474.6 MB, free: 8.633 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.034e-05/0.09954, allocations: 8 kB / 474.6 MB, free: 8.625 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.465e-05/0.09959, allocations: 19.36 kB / 474.6 MB, free: 8.605 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.0996, allocations: 0 / 474.6 MB, free: 8.605 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01638/0.116, allocations: 1.445 MB / 476 MB, free: 7.223 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.294/7.41, allocations: 6.453 kB / 476 MB, free: 7.223 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