Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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.TestRegRootDerivative,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008076/0.0008077, allocations: 92.2 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009226/0.0009225, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.158/1.158, allocations: 227.7 MB / 246.8 MB, free: 9.566 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1618/0.1618, allocations: 46.19 MB / 345.2 MB, free: 11.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002097/0.0002097, allocations: 8 kB / 419.6 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08371/0.08393, allocations: 63.55 MB / 483.2 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.0004952/0.08446, allocations: 234.8 kB / 483.4 MB, free: 3.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002376/0.08471, allocations: 106.3 kB / 483.5 MB, free: 3.719 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.069e-05/0.08473, allocations: 4 kB / 483.5 MB, free: 3.715 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.866e-06/0.08475, allocations: 0 / 483.5 MB, free: 3.715 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.548e-05/0.08477, allocations: 0 / 483.5 MB, free: 3.715 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001272/0.0849, allocations: 15.92 kB / 483.5 MB, free: 3.699 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.227e-05/0.08494, allocations: 4 kB / 483.5 MB, free: 3.695 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.428e-05/0.08498, allocations: 7.984 kB / 483.5 MB, free: 3.688 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.85e-05/0.085, allocations: 4 kB / 483.5 MB, free: 3.684 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.929e-05/0.08505, allocations: 11.92 kB / 483.6 MB, free: 3.672 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.207e-06/0.08506, allocations: 0 / 483.6 MB, free: 3.672 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.367e-05/0.08514, allocations: 35.95 kB / 483.6 MB, free: 3.637 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.256e-06/0.08516, allocations: 4 kB / 483.6 MB, free: 3.633 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.721e-05/0.08519, allocations: 33.64 kB / 483.6 MB, free: 3.594 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.734e-05/0.08526, allocations: 23.97 kB / 483.6 MB, free: 3.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.08527, allocations: 4 kB / 483.6 MB, free: 3.566 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.08528, allocations: 3.938 kB / 483.7 MB, free: 3.562 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.645e-06/0.08529, allocations: 0 / 483.7 MB, free: 3.562 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002662/0.08556, allocations: 319.6 kB / 484 MB, free: 3.199 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.0856, allocations: 8.875 kB / 484 MB, free: 3.191 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.242e-05/0.08563, allocations: 30.75 kB / 484 MB, free: 3.152 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.784e-05/0.08566, allocations: 8.938 kB / 484 MB, free: 3.145 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.747e-05/0.08574, allocations: 164.7 kB / 484.2 MB, free: 2.945 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.716e-06/0.08576, allocations: 4.312 kB / 484.2 MB, free: 2.941 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.824e-06/0.08577, allocations: 384 / 484.2 MB, free: 2.941 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.08588, allocations: 51.97 kB / 484.2 MB, free: 2.879 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.091e-06/0.08589, allocations: 3.938 kB / 484.2 MB, free: 2.875 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.0859, allocations: 4 kB / 484.2 MB, free: 2.871 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-06/0.08591, allocations: 0 / 484.2 MB, free: 2.871 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.077e-05/0.08596, allocations: 15.98 kB / 484.3 MB, free: 2.855 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002317/0.08619, allocations: 332.9 kB / 484.6 MB, free: 2.477 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.441e-05/0.08626, allocations: 38.55 kB / 484.6 MB, free: 2.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.937e-05/0.08629, allocations: 8.859 kB / 484.6 MB, free: 2.418 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/0.08631, allocations: 0 / 484.6 MB, free: 2.418 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.08633, allocations: 42.56 kB / 484.7 MB, free: 2.367 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 7.21e-07/0.08634, allocations: 0 / 484.7 MB, free: 2.367 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001403/0.08648, allocations: 53.72 kB / 484.7 MB, free: 2.309 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.553e-05/0.08652, allocations: 51.41 kB / 484.8 MB, free: 2.246 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.829e-05/0.08658, allocations: 101.8 kB / 484.9 MB, free: 2.137 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.0866, allocations: 25.7 kB / 484.9 MB, free: 2.105 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.923e-05/0.08663, allocations: 84.08 kB / 485 MB, free: 2.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.009e-05/0.08665, allocations: 7.812 kB / 485 MB, free: 2.012 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.794e-05/0.08668, allocations: 21.84 kB / 485 MB, free: 1.984 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.312e-05/0.08677, allocations: 314.8 kB / 485.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.944e-05/0.08679, allocations: 8 kB / 485.3 MB, free: 1.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.116e-05/0.08682, allocations: 17.72 kB / 485.3 MB, free: 1.637 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.712e-05/0.08687, allocations: 37.83 kB / 485.4 MB, free: 1.594 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.08688, allocations: 3.938 kB / 485.4 MB, free: 1.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.151e-05/0.08697, allocations: 57.67 kB / 485.4 MB, free: 1.527 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.08699, allocations: 11.94 kB / 485.4 MB, free: 1.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.087, allocations: 3.938 kB / 485.4 MB, free: 1.512 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.834e-06/0.08701, allocations: 0 / 485.4 MB, free: 1.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.321e-05/0.08707, allocations: 8 kB / 485.5 MB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.08708, allocations: 0 / 485.5 MB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.021e-05/0.08711, allocations: 3.906 kB / 485.5 MB, free: 1.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.08712, allocations: 8 kB / 485.5 MB, free: 1.492 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 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 5.474e-05/0.08718, allocations: 113.7 kB / 485.6 MB, free: 1.371 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.019e-05/0.0872, allocations: 4.031 kB / 485.6 MB, free: 1.367 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001049/0.08731, allocations: 69.11 kB / 485.7 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.08732, allocations: 0 / 485.7 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.08733, allocations: 0 / 485.7 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.08734, allocations: 4 kB / 485.7 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.08748, allocations: 157.6 kB / 485.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.08749, allocations: 0 / 485.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.491e-05/0.08752, allocations: 8 kB / 485.8 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.08753, allocations: 0 / 485.8 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.428e-06/0.08754, allocations: 0 / 485.8 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.08755, allocations: 0 / 485.8 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.08755, allocations: 4 kB / 485.8 MB, free: 1.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001091/0.08767, allocations: 155.5 kB / 486 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.794e-05/0.0877, allocations: 81.02 kB / 486.1 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.018e-05/0.08772, allocations: 4.234 kB / 486.1 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.961e-05/0.08777, allocations: 4 kB / 486.1 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.353e-05/0.0878, allocations: 7.938 kB / 486.1 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.08781, allocations: 0 / 486.1 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.477e-05/0.08784, allocations: 79.28 kB / 486.1 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08784, allocations: 0 / 486.1 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001998/0.08805, allocations: 12 kB / 486.2 MB, free: 0.6992 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.0003434/0.0884, allocations: 0.6813 MB / 486.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 7.399e-05/0.08848, allocations: 24.03 kB / 486.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.08849, allocations: 7.938 kB / 486.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.55e-05/0.08852, allocations: 15.98 kB / 486.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001799/0.08871, allocations: 6.5 kB / 486.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002935/0.08901, allocations: 140.3 kB / 487 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001946/0.08921, allocations: 0.677 MB / 487.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.691e-05/0.08925, allocations: 4 kB / 487.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.172e-05/0.08927, allocations: 11.44 kB / 487.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of SimCode: time 2.034e-06/0.08928, allocations: 0 / 487.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03904/0.1283, allocations: 1.092 MB / 488.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002039/0.1285, allocations: 206.9 kB / 489 MB, free: 13.84 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.544/1.673, allocations: 2.391 kB / 489 MB, free: 13.84 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches