Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001248/0.001248, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001298/0.001298, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.22/1.22, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1881/0.1881, allocations: 46.11 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 75.11 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08662/0.08784, allocations: 62.45 MB / 480.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001527/0.08941, allocations: 494.7 kB / 480.6 MB, free: 4.715 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000279/0.0897, allocations: 110.3 kB / 480.7 MB, free: 4.609 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.143e-05/0.08973, allocations: 3.938 kB / 480.7 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.235e-05/0.08975, allocations: 0 / 480.7 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001734/0.08993, allocations: 19.92 kB / 480.7 MB, free: 4.586 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.506e-05/0.08996, allocations: 0 / 480.7 MB, free: 4.586 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.58e-05/0.09, allocations: 4 kB / 480.7 MB, free: 4.582 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.89e-05/0.09004, allocations: 11.94 kB / 480.8 MB, free: 4.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.491e-05/0.09006, allocations: 3.984 kB / 480.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.372e-05/0.0901, allocations: 7.938 kB / 480.8 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.568e-06/0.09011, allocations: 0 / 480.8 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.98e-05/0.09019, allocations: 15.98 kB / 480.8 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.798e-06/0.09021, allocations: 7.984 kB / 480.8 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.345e-05/0.09023, allocations: 0 / 480.8 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.169e-05/0.0903, allocations: 27.91 kB / 480.8 MB, free: 4.508 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.09031, allocations: 0 / 480.8 MB, free: 4.508 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.09032, allocations: 0 / 480.8 MB, free: 4.508 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.888e-06/0.09032, allocations: 0 / 480.8 MB, free: 4.508 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.0002686/0.0906, allocations: 319.6 kB / 481.1 MB, free: 4.145 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.09063, allocations: 12.03 kB / 481.1 MB, free: 4.133 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.686e-05/0.09067, allocations: 30.75 kB / 481.2 MB, free: 4.094 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.023e-05/0.09069, allocations: 4.938 kB / 481.2 MB, free: 4.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.375e-05/0.09079, allocations: 160.4 kB / 481.3 MB, free: 3.895 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.0908, allocations: 384 / 481.3 MB, free: 3.895 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.09082, allocations: 4.375 kB / 481.3 MB, free: 3.891 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.86e-05/0.09091, allocations: 46.17 kB / 481.4 MB, free: 3.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.09092, allocations: 3.938 kB / 481.4 MB, free: 3.836 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.63e-06/0.09093, allocations: 4 kB / 481.4 MB, free: 3.832 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.256e-06/0.09094, allocations: 0 / 481.4 MB, free: 3.832 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.678e-05/0.09097, allocations: 4 kB / 481.4 MB, free: 3.828 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001305/0.09111, allocations: 157.9 kB / 481.5 MB, free: 3.625 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.09127, allocations: 34.61 kB / 481.6 MB, free: 3.582 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.484e-05/0.0913, allocations: 16.8 kB / 481.6 MB, free: 3.562 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003174/0.09162, allocations: 117.1 kB / 481.7 MB, free: 3.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.09165, allocations: 30.56 kB / 481.7 MB, free: 3.391 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.09166, allocations: 0 / 481.7 MB, free: 3.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.001136/0.0928, allocations: 189.3 kB / 481.9 MB, free: 3.199 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.918e-05/0.09284, allocations: 51.41 kB / 482 MB, free: 3.137 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.75e-05/0.09289, allocations: 93.86 kB / 482.1 MB, free: 3.035 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.09292, allocations: 29.7 kB / 482.1 MB, free: 3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.215e-05/0.09295, allocations: 84.08 kB / 482.2 MB, free: 2.914 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.435e-05/0.09298, allocations: 15.78 kB / 482.2 MB, free: 2.898 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.09301, allocations: 21.84 kB / 482.2 MB, free: 2.871 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.805e-05/0.09311, allocations: 314.8 kB / 482.5 MB, free: 2.555 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.133e-05/0.09319, allocations: 23.91 kB / 482.5 MB, free: 2.531 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.657e-05/0.09327, allocations: 19.98 kB / 482.6 MB, free: 2.512 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.09341, allocations: 44.83 kB / 482.6 MB, free: 2.465 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.09342, allocations: 0 / 482.6 MB, free: 2.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001817/0.09361, allocations: 85.45 kB / 482.7 MB, free: 2.375 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.09363, allocations: 14.48 kB / 482.7 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.09364, allocations: 0 / 482.7 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.358e-06/0.09365, allocations: 0 / 482.7 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.09376, allocations: 11.98 kB / 482.7 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.09378, allocations: 4 kB / 482.7 MB, free: 2.348 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.111e-05/0.09386, allocations: 8 kB / 482.7 MB, free: 2.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-06/0.09387, allocations: 256 / 482.7 MB, free: 2.34 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.637e-05/0.09395, allocations: 113.8 kB / 482.8 MB, free: 2.219 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.357e-05/0.09396, allocations: 7.938 kB / 482.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002262/0.09419, allocations: 89.16 kB / 482.9 MB, free: 2.121 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.09421, allocations: 0 / 482.9 MB, free: 2.121 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.09422, allocations: 3.984 kB / 482.9 MB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.09422, allocations: 0 / 482.9 MB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000616/0.09484, allocations: 359.3 kB / 483.3 MB, free: 1.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.09486, allocations: 0 / 483.3 MB, free: 1.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.748e-05/0.09495, allocations: 15.98 kB / 483.3 MB, free: 1.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.09496, allocations: 0 / 483.3 MB, free: 1.691 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.371e-06/0.09497, allocations: 0 / 483.3 MB, free: 1.691 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.09497, allocations: 0 / 483.3 MB, free: 1.691 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.09498, allocations: 8.031 kB / 483.3 MB, free: 1.684 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002262/0.09521, allocations: 180.2 kB / 483.5 MB, free: 1.488 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.802e-05/0.09525, allocations: 85.33 kB / 483.6 MB, free: 1.387 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.09527, allocations: 4 kB / 483.6 MB, free: 1.383 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.536e-05/0.09537, allocations: 4 kB / 483.6 MB, free: 1.379 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.235e-05/0.09539, allocations: 7.984 kB / 483.6 MB, free: 1.371 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.343e-06/0.0954, allocations: 4 kB / 483.6 MB, free: 1.367 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.12e-05/0.09543, allocations: 83.22 kB / 483.7 MB, free: 1.285 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.09544, allocations: 0 / 483.7 MB, free: 1.285 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002125/0.09566, allocations: 12 kB / 483.7 MB, free: 1.273 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.0004518/0.09611, allocations: 0.7171 MB / 484.4 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001816/0.09631, allocations: 47.95 kB / 484.4 MB, free: 488 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.09632, allocations: 0 / 484.4 MB, free: 488 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.634e-05/0.0964, allocations: 31.91 kB / 484.5 MB, free: 456 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001897/0.0966, allocations: 8.062 kB / 484.5 MB, free: 448 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004697/0.09707, allocations: 163.3 kB / 484.6 MB, free: 240 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002142/0.0973, allocations: 0.6768 MB / 485.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.389e-05/0.09735, allocations: 12.31 kB / 485.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.09739, allocations: 7.438 kB / 485.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of SimCode: time 2.01e-07/0.09739, allocations: 0 / 485.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.096/1.193, allocations: 1.44 MB / 486.8 MB, free: 14.13 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.696/8.889, allocations: 13.08 kB / 486.8 MB, free: 14.12 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegStep_fmu --startTime=0 --stopTime=1.3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegStep.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches