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.001148/0.001148, 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.001429/0.001429, 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.313/1.313, 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.2006/0.2006, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 70.19 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09761/0.09893, allocations: 62.45 MB / 480.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001586/0.1006, allocations: 499.7 kB / 480.6 MB, free: 4.691 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000264/0.1008, allocations: 110.3 kB / 480.7 MB, free: 4.586 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.043e-05/0.1009, allocations: 4 kB / 480.7 MB, free: 4.582 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.246e-05/0.1009, allocations: 0 / 480.7 MB, free: 4.582 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.864e-05/0.1009, allocations: 3.938 kB / 480.7 MB, free: 4.578 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001676/0.1011, allocations: 11.98 kB / 480.7 MB, free: 4.566 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.41e-05/0.1012, allocations: 8 kB / 480.7 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.826e-05/0.1012, allocations: 3.984 kB / 480.8 MB, free: 4.555 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.558e-05/0.1012, allocations: 8 kB / 480.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.367e-05/0.1013, allocations: 7.938 kB / 480.8 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.1013, allocations: 3.984 kB / 480.8 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.416e-05/0.1014, allocations: 35.95 kB / 480.8 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.06e-05/0.1014, allocations: 4 kB / 480.8 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.441e-05/0.1014, allocations: 3.938 kB / 480.8 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.67e-05/0.1015, allocations: 35.78 kB / 480.8 MB, free: 4.457 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1015, allocations: 4 kB / 480.9 MB, free: 4.453 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1016, allocations: 0 / 480.9 MB, free: 4.453 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.157e-06/0.1016, allocations: 0 / 480.9 MB, free: 4.453 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.0003363/0.1019, allocations: 323.6 kB / 481.2 MB, free: 4.086 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.1019, allocations: 12.03 kB / 481.2 MB, free: 4.074 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.119e-05/0.102, allocations: 34.75 kB / 481.2 MB, free: 4.031 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.031e-05/0.102, allocations: 4.938 kB / 481.2 MB, free: 4.027 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.083e-05/0.1021, allocations: 160.7 kB / 481.4 MB, free: 3.832 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.1021, allocations: 8.359 kB / 481.4 MB, free: 3.824 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.312e-06/0.1021, allocations: 384 / 481.4 MB, free: 3.824 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.1023, allocations: 51.97 kB / 481.4 MB, free: 3.762 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.1023, allocations: 7.875 kB / 481.4 MB, free: 3.754 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.1023, allocations: 4 kB / 481.4 MB, free: 3.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1023, allocations: 0 / 481.4 MB, free: 3.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.12e-05/0.1023, allocations: 8 kB / 481.5 MB, free: 3.742 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002658/0.1026, allocations: 337 kB / 481.8 MB, free: 3.359 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.192e-05/0.1027, allocations: 30.45 kB / 481.8 MB, free: 3.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.542e-05/0.1027, allocations: 12.86 kB / 481.8 MB, free: 3.305 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.1027, allocations: 0 / 481.8 MB, free: 3.305 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.1028, allocations: 38.56 kB / 481.9 MB, free: 3.258 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.1028, allocations: 0 / 481.9 MB, free: 3.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001599/0.1029, allocations: 49.78 kB / 481.9 MB, free: 3.203 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.103, allocations: 55.41 kB / 482 MB, free: 3.137 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.283e-05/0.103, allocations: 97.84 kB / 482.1 MB, free: 3.031 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.1031, allocations: 25.7 kB / 482.1 MB, free: 3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.674e-05/0.1031, allocations: 92.06 kB / 482.2 MB, free: 2.906 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.09e-05/0.1031, allocations: 11.81 kB / 482.2 MB, free: 2.895 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-05/0.1032, allocations: 21.83 kB / 482.2 MB, free: 2.867 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.3e-05/0.1033, allocations: 314.8 kB / 482.5 MB, free: 2.551 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.258e-05/0.1033, allocations: 4 kB / 482.5 MB, free: 2.547 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.975e-05/0.1033, allocations: 21.72 kB / 482.5 MB, free: 2.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.715e-05/0.1034, allocations: 29.64 kB / 482.6 MB, free: 2.484 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.1034, allocations: 3.938 kB / 482.6 MB, free: 2.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.997e-05/0.1035, allocations: 61.62 kB / 482.6 MB, free: 2.414 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.1035, allocations: 8 kB / 482.6 MB, free: 2.406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.1035, allocations: 0 / 482.6 MB, free: 2.406 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.1035, allocations: 0 / 482.6 MB, free: 2.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.153e-05/0.1036, allocations: 8 kB / 482.7 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.1036, allocations: 0 / 482.7 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.302e-05/0.1036, allocations: 3.906 kB / 482.7 MB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.1036, allocations: 4 kB / 482.7 MB, free: 2.391 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 6.648e-05/0.1037, allocations: 129.6 kB / 482.8 MB, free: 2.254 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.377e-05/0.1038, allocations: 8.031 kB / 482.8 MB, free: 2.246 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001128/0.1039, allocations: 57.31 kB / 482.8 MB, free: 2.184 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.1039, allocations: 4 kB / 482.9 MB, free: 2.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.1039, allocations: 0 / 482.9 MB, free: 2.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1039, allocations: 0 / 482.9 MB, free: 2.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001398/0.104, allocations: 157.6 kB / 483 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.104, allocations: 0 / 483 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.157e-05/0.1041, allocations: 12 kB / 483 MB, free: 1.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.1041, allocations: 0 / 483 MB, free: 1.965 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.1041, allocations: 3.984 kB / 483 MB, free: 1.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1041, allocations: 0 / 483 MB, free: 1.961 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1041, allocations: 4 kB / 483 MB, free: 1.957 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001142/0.1042, allocations: 155.4 kB / 483.2 MB, free: 1.789 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.804e-05/0.1043, allocations: 81.02 kB / 483.3 MB, free: 1.691 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.007e-05/0.1043, allocations: 0 / 483.3 MB, free: 1.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.717e-05/0.1043, allocations: 4 kB / 483.3 MB, free: 1.688 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.486e-05/0.1044, allocations: 4 kB / 483.3 MB, free: 1.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-06/0.1044, allocations: 0 / 483.3 MB, free: 1.684 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.93e-05/0.1044, allocations: 83.28 kB / 483.3 MB, free: 1.602 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1044, allocations: 0 / 483.3 MB, free: 1.602 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002229/0.1047, allocations: 7.984 kB / 483.4 MB, free: 1.594 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.000359/0.105, allocations: 0.6812 MB / 484 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.792e-05/0.1051, allocations: 28.31 kB / 484.1 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1052, allocations: 8 kB / 484.1 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.952e-05/0.1052, allocations: 19.94 kB / 484.1 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/0.1054, allocations: 2.406 kB / 484.1 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003367/0.1057, allocations: 138.8 kB / 484.2 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000211/0.106, allocations: 0.6807 MB / 484.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.16e-05/0.106, allocations: 8 kB / 484.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.64e-05/0.106, allocations: 11.44 kB / 484.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of SimCode: time 2.11e-07/0.106, allocations: 0 / 484.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01814/0.1242, allocations: 1.264 MB / 486.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.17, allocations: 11.95 kB / 486.2 MB, free: 14.74 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