Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TestRegRootDerivative,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",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.00102/0.00102, allocations: 103.6 kB / 16.27 MB, free: 5.93 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.001106/0.001106, allocations: 189.4 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.231/1.231, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1989/0.1989, allocations: 43.52 MB / 313.9 MB, free: 0.5234 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002165/0.002165, allocations: 67.64 kB / 382.8 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09358/0.09576, allocations: 57.79 MB / 440.6 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001458/0.09726, allocations: 0.4991 MB / 441.1 MB, free: 6.285 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002283/0.09751, allocations: 91.72 kB / 441.2 MB, free: 6.195 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.138e-05/0.09754, allocations: 0 / 441.2 MB, free: 6.195 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.349e-05/0.09759, allocations: 0 / 441.2 MB, free: 6.195 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 1.614e-05/0.09761, allocations: 0 / 441.2 MB, free: 6.195 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001685/0.09779, allocations: 23.84 kB / 441.2 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.028e-05/0.09784, allocations: 8 kB / 441.2 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.105e-05/0.09788, allocations: 4 kB / 441.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.235e-05/0.09791, allocations: 15.92 kB / 441.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.987e-05/0.09796, allocations: 0 / 441.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.214e-05/0.09797, allocations: 4 kB / 441.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.509e-05/0.09805, allocations: 35.97 kB / 441.3 MB, free: 6.105 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.1e-05/0.09807, allocations: 7.922 kB / 441.3 MB, free: 6.098 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.887e-05/0.09809, allocations: 0 / 441.3 MB, free: 6.098 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 7.573e-05/0.09817, allocations: 27.89 kB / 441.3 MB, free: 6.07 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.09818, allocations: 0 / 441.3 MB, free: 6.07 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.09819, allocations: 0 / 441.3 MB, free: 6.07 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.0982, allocations: 4 kB / 441.3 MB, free: 6.066 MB / 318.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.000279/0.09848, allocations: 335.7 kB / 441.7 MB, free: 5.688 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.09852, allocations: 11.89 kB / 441.7 MB, free: 5.676 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.227e-05/0.09856, allocations: 42.69 kB / 441.7 MB, free: 5.625 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.275e-05/0.09859, allocations: 0.9375 kB / 441.7 MB, free: 5.625 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.267e-05/0.09866, allocations: 160.4 kB / 441.9 MB, free: 5.43 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.09867, allocations: 384 / 441.9 MB, free: 5.43 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.993e-06/0.09868, allocations: 4.375 kB / 441.9 MB, free: 5.426 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.397e-05/0.09878, allocations: 55.97 kB / 441.9 MB, free: 5.359 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.0988, allocations: 3.938 kB / 441.9 MB, free: 5.355 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.714e-06/0.09881, allocations: 4 kB / 441.9 MB, free: 5.352 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.09882, allocations: 0 / 441.9 MB, free: 5.352 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.11e-05/0.09886, allocations: 15.92 kB / 442 MB, free: 5.336 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001949/0.09906, allocations: 317.1 kB / 442.3 MB, free: 4.973 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.582e-05/0.09912, allocations: 35.11 kB / 442.3 MB, free: 4.93 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.19e-05/0.09916, allocations: 12.86 kB / 442.3 MB, free: 4.914 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.09918, allocations: 0 / 442.3 MB, free: 4.914 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.578e-05/0.0992, allocations: 46.44 kB / 442.4 MB, free: 4.859 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 7.21e-07/0.09921, allocations: 0 / 442.4 MB, free: 4.859 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001491/0.09936, allocations: 53.69 kB / 442.4 MB, free: 4.801 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.94e-05/0.09939, allocations: 51.41 kB / 442.5 MB, free: 4.738 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.194e-05/0.09943, allocations: 105.8 kB / 442.6 MB, free: 4.625 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.871e-06/0.09945, allocations: 25.7 kB / 442.6 MB, free: 4.594 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.895e-05/0.09947, allocations: 80.14 kB / 442.7 MB, free: 4.512 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.076e-05/0.09949, allocations: 19.75 kB / 442.7 MB, free: 4.492 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.658e-05/0.09952, allocations: 13.72 kB / 442.7 MB, free: 4.473 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.556e-05/0.09956, allocations: 318.8 kB / 443 MB, free: 4.152 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.888e-05/0.09958, allocations: 4 kB / 443 MB, free: 4.148 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.032e-05/0.09961, allocations: 25.78 kB / 443 MB, free: 4.117 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.037e-05/0.09965, allocations: 29.7 kB / 443.1 MB, free: 4.082 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.09966, allocations: 7.875 kB / 443.1 MB, free: 4.074 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.655e-05/0.09974, allocations: 57.86 kB / 443.1 MB, free: 4.012 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.09976, allocations: 8 kB / 443.2 MB, free: 4.004 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.09977, allocations: 3.984 kB / 443.2 MB, free: 4 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.09978, allocations: 0 / 443.2 MB, free: 4 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.9e-05/0.09984, allocations: 8 kB / 443.2 MB, free: 3.992 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.09985, allocations: 4.031 kB / 443.2 MB, free: 3.988 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.025e-05/0.09987, allocations: 0 / 443.2 MB, free: 3.988 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-06/0.09988, allocations: 4 kB / 443.2 MB, free: 3.984 MB / 318.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 3.974e-05/0.09993, allocations: 122.8 kB / 443.3 MB, free: 3.855 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.289e-05/0.09996, allocations: 3.906 kB / 443.3 MB, free: 3.852 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.886e-05/0.1001, allocations: 65.11 kB / 443.4 MB, free: 3.777 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1001, allocations: 0 / 443.4 MB, free: 3.777 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1001, allocations: 0 / 443.4 MB, free: 3.777 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.1001, allocations: 4 kB / 443.4 MB, free: 3.773 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.937e-05/0.1002, allocations: 165.6 kB / 443.5 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1002, allocations: 0 / 443.5 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.747e-05/0.1002, allocations: 12 kB / 443.5 MB, free: 3.551 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1002, allocations: 0 / 443.5 MB, free: 3.551 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.511e-06/0.1003, allocations: 0 / 443.5 MB, free: 3.551 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1003, allocations: 0 / 443.5 MB, free: 3.551 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1003, allocations: 192 / 443.5 MB, free: 3.551 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.454e-05/0.1004, allocations: 163.4 kB / 443.7 MB, free: 3.375 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.401e-05/0.1004, allocations: 81.11 kB / 443.8 MB, free: 3.277 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.07e-05/0.1004, allocations: 3.984 kB / 443.8 MB, free: 3.273 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.692e-05/0.1004, allocations: 4 kB / 443.8 MB, free: 3.27 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.238e-05/0.1005, allocations: 4 kB / 443.8 MB, free: 3.266 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-06/0.1005, allocations: 0 / 443.8 MB, free: 3.266 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.476e-05/0.1005, allocations: 75.28 kB / 443.9 MB, free: 3.191 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1005, allocations: 4 kB / 443.9 MB, free: 3.188 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002109/0.1007, allocations: 4 kB / 443.9 MB, free: 3.184 MB / 318.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.0002354/0.101, allocations: 0.6968 MB / 444.6 MB, free: 2.461 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.482e-05/0.1011, allocations: 24 kB / 444.6 MB, free: 2.438 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.1011, allocations: 0 / 444.6 MB, free: 2.438 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.543e-05/0.1011, allocations: 23.92 kB / 444.6 MB, free: 2.414 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002148/0.1013, allocations: 0 / 444.6 MB, free: 2.414 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002899/0.1016, allocations: 130.8 kB / 444.7 MB, free: 2.246 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.576e-05/0.1017, allocations: 0.6807 MB / 445.4 MB, free: 1.539 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.674e-05/0.1017, allocations: 0 / 445.4 MB, free: 1.539 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.291e-05/0.1018, allocations: 15.38 kB / 445.4 MB, free: 1.523 MB / 318.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1018, allocations: 0 / 445.4 MB, free: 1.523 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.102/2.203, allocations: 1.262 MB / 446.7 MB, free: 292 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.749/9.952, allocations: 15.25 kB / 446.7 MB, free: 280 kB / 318.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches