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.001609/0.001609, allocations: 122.2 kB / 17.78 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002038/0.002038, allocations: 201.2 kB / 18.72 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2122/0.2122, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 76.2 kB / 480.8 MB, free: 4.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2926, allocations: 62.45 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001652/0.2943, allocations: 0.5025 MB / 0.531 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002782/0.2946, allocations: 92.44 kB / 0.5311 GB, free: 12.99 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.093e-05/0.2947, allocations: 0 / 0.5311 GB, free: 12.99 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.718e-05/0.2947, allocations: 3.938 kB / 0.5311 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.924e-05/0.2947, allocations: 1 kB / 0.5311 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001896/0.2949, allocations: 20.5 kB / 0.5311 GB, free: 12.97 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.307e-05/0.295, allocations: 13.8 kB / 0.5311 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.415e-05/0.295, allocations: 1.25 kB / 0.5311 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.601e-05/0.2951, allocations: 7.125 kB / 0.5311 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.186e-05/0.2951, allocations: 10.33 kB / 0.5311 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.2951, allocations: 1.156 kB / 0.5311 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.543e-05/0.2952, allocations: 31.12 kB / 0.5312 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.299e-05/0.2952, allocations: 4 kB / 0.5312 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.279e-05/0.2953, allocations: 9.953 kB / 0.5312 GB, free: 12.92 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.2954, allocations: 24.69 kB / 0.5312 GB, free: 12.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.2954, allocations: 0 / 0.5312 GB, free: 12.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2954, allocations: 1.188 kB / 0.5312 GB, free: 12.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.2954, allocations: 0 / 0.5312 GB, free: 12.91 MB / 398.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.0003575/0.2958, allocations: 333.3 kB / 0.5315 GB, free: 12.54 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.2958, allocations: 13.33 kB / 0.5315 GB, free: 12.54 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.953e-05/0.2959, allocations: 36.56 kB / 0.5316 GB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.212e-05/0.2959, allocations: 4.875 kB / 0.5316 GB, free: 12.49 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.296, allocations: 161.7 kB / 0.5317 GB, free: 12.3 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.296, allocations: 5.875 kB / 0.5317 GB, free: 12.29 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.296, allocations: 1.938 kB / 0.5317 GB, free: 12.29 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.2962, allocations: 55.5 kB / 0.5318 GB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.2962, allocations: 3.938 kB / 0.5318 GB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.134e-06/0.2962, allocations: 0 / 0.5318 GB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.2962, allocations: 5.5 kB / 0.5318 GB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.793e-05/0.2962, allocations: 14.86 kB / 0.5318 GB, free: 12.22 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003071/0.2966, allocations: 319.8 kB / 0.5321 GB, free: 11.86 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.583e-05/0.2966, allocations: 24.39 kB / 0.5321 GB, free: 11.83 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.003e-05/0.2967, allocations: 18.31 kB / 0.5322 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.2967, allocations: 5.312 kB / 0.5322 GB, free: 11.81 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.2967, allocations: 31.88 kB / 0.5322 GB, free: 11.77 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.2967, allocations: 0 / 0.5322 GB, free: 11.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.00018/0.2969, allocations: 62.36 kB / 0.5322 GB, free: 11.72 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.297, allocations: 51.41 kB / 0.5323 GB, free: 11.66 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.605e-05/0.297, allocations: 96.48 kB / 0.5324 GB, free: 11.56 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.2971, allocations: 26.61 kB / 0.5324 GB, free: 11.53 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.528e-05/0.2971, allocations: 85.56 kB / 0.5325 GB, free: 11.44 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.3e-05/0.2971, allocations: 17.44 kB / 0.5325 GB, free: 11.43 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.484e-05/0.2972, allocations: 16.91 kB / 0.5325 GB, free: 11.41 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.8e-05/0.2973, allocations: 316.3 kB / 0.5328 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.544e-05/0.2973, allocations: 12.52 kB / 0.5328 GB, free: 11.08 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.543e-05/0.2973, allocations: 14.19 kB / 0.5329 GB, free: 11.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.958e-05/0.2974, allocations: 36.16 kB / 0.5329 GB, free: 11.04 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.2974, allocations: 7.938 kB / 0.5329 GB, free: 11.03 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000101/0.2975, allocations: 58.52 kB / 0.533 GB, free: 10.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.2975, allocations: 5.344 kB / 0.533 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.2975, allocations: 5.922 kB / 0.533 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.2976, allocations: 0 / 0.533 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.417e-05/0.2976, allocations: 11.25 kB / 0.533 GB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.2976, allocations: 1.812 kB / 0.533 GB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.62e-05/0.2977, allocations: 3.953 kB / 0.533 GB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.271e-06/0.2977, allocations: 1.75 kB / 0.533 GB, free: 10.97 MB / 398.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.95e-05/0.2978, allocations: 119.5 kB / 0.5331 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.326e-05/0.2978, allocations: 1.781 kB / 0.5331 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001197/0.2979, allocations: 67.67 kB / 0.5332 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.2979, allocations: 1.781 kB / 0.5332 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.2979, allocations: 0 / 0.5332 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.2979, allocations: 3.938 kB / 0.5332 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.2981, allocations: 159 kB / 0.5333 GB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2981, allocations: 3.938 kB / 0.5333 GB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.998e-05/0.2982, allocations: 7.156 kB / 0.5333 GB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.2982, allocations: 4 kB / 0.5333 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.2982, allocations: 1.781 kB / 0.5333 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2982, allocations: 0 / 0.5333 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.2982, allocations: 0 / 0.5333 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000129/0.2983, allocations: 153.3 kB / 0.5335 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.755e-05/0.2984, allocations: 86.34 kB / 0.5336 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.2984, allocations: 1.312 kB / 0.5336 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.052e-05/0.2984, allocations: 0 / 0.5336 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.161e-05/0.2985, allocations: 9.359 kB / 0.5336 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.2985, allocations: 5.312 kB / 0.5336 GB, free: 10.31 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.971e-05/0.2985, allocations: 81.69 kB / 0.5337 GB, free: 10.23 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2985, allocations: 0 / 0.5337 GB, free: 10.23 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002242/0.2988, allocations: 5 kB / 0.5337 GB, free: 10.23 MB / 398.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.0004083/0.2992, allocations: 0.6918 MB / 0.5343 GB, free: 9.547 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.808e-05/0.2993, allocations: 25.67 kB / 0.5344 GB, free: 9.535 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2993, allocations: 1.625 kB / 0.5344 GB, free: 9.535 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.945e-05/0.2993, allocations: 12.91 kB / 0.5344 GB, free: 9.531 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002032/0.2995, allocations: 10.7 kB / 0.5344 GB, free: 9.527 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003393/0.2999, allocations: 134.6 kB / 0.5345 GB, free: 9.375 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002299/0.3001, allocations: 0.6833 MB / 0.5352 GB, free: 8.672 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.113e-05/0.3002, allocations: 8.062 kB / 0.5352 GB, free: 8.664 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.958e-05/0.3002, allocations: 13.78 kB / 0.5352 GB, free: 8.652 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3002, allocations: 0 / 0.5352 GB, free: 8.652 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01696/0.3172, allocations: 1.287 MB / 0.5365 GB, free: 7.934 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.302/7.619, allocations: 22.09 kB / 0.5365 GB, free: 7.914 MB / 398.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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.csv","/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