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.001309/0.00131, allocations: 105.6 kB / 15.98 MB, free: 5.898 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.001251/0.001252, allocations: 190.8 kB / 16.9 MB, free: 5.746 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.314/1.314, allocations: 205.1 MB / 222.8 MB, free: 12.44 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.1925/0.1925, allocations: 43.52 MB / 313.6 MB, free: 0.6914 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.001365/0.001366, allocations: 62.55 kB / 382.3 MB, free: 56.92 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09558/0.09696, allocations: 57.8 MB / 440.1 MB, free: 7.227 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001559/0.09855, allocations: 0.5583 MB / 440.7 MB, free: 6.66 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002489/0.09882, allocations: 97.47 kB / 440.8 MB, free: 6.566 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.043e-05/0.09885, allocations: 0 / 440.8 MB, free: 6.566 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.759e-05/0.09888, allocations: 0 / 440.8 MB, free: 6.566 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 1.938e-05/0.09891, allocations: 0 / 440.8 MB, free: 6.566 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001914/0.09911, allocations: 15.92 kB / 440.8 MB, free: 6.551 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.51e-05/0.09916, allocations: 11.98 kB / 440.8 MB, free: 6.539 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.742e-05/0.09921, allocations: 0 / 440.8 MB, free: 6.539 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.46e-05/0.09924, allocations: 11.94 kB / 440.8 MB, free: 6.527 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.959e-05/0.0993, allocations: 3.984 kB / 440.8 MB, free: 6.523 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.09932, allocations: 4 kB / 440.8 MB, free: 6.52 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.293e-05/0.09939, allocations: 35.91 kB / 440.8 MB, free: 6.484 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.14e-05/0.09941, allocations: 7.938 kB / 440.9 MB, free: 6.477 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.963e-05/0.09944, allocations: 7.969 kB / 440.9 MB, free: 6.469 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 7.785e-05/0.09952, allocations: 23.92 kB / 440.9 MB, free: 6.445 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.09953, allocations: 0 / 440.9 MB, free: 6.445 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.09953, allocations: 0 / 440.9 MB, free: 6.445 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.09954, allocations: 3.984 kB / 440.9 MB, free: 6.441 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.0003071/0.09985, allocations: 335.7 kB / 441.2 MB, free: 6.062 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.0999, allocations: 15.89 kB / 441.2 MB, free: 6.047 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.425e-05/0.09993, allocations: 34.75 kB / 441.3 MB, free: 6.004 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.219e-05/0.09996, allocations: 4.938 kB / 441.3 MB, free: 6 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.096e-05/0.1, allocations: 160.4 kB / 441.4 MB, free: 5.805 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.1, allocations: 4.312 kB / 441.4 MB, free: 5.801 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.296e-06/0.1001, allocations: 4.375 kB / 441.4 MB, free: 5.797 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.1002, allocations: 51.97 kB / 441.5 MB, free: 5.734 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.1002, allocations: 3.938 kB / 441.5 MB, free: 5.73 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.1002, allocations: 4 kB / 441.5 MB, free: 5.727 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.1002, allocations: 4 kB / 441.5 MB, free: 5.723 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.084e-05/0.1003, allocations: 15.92 kB / 441.5 MB, free: 5.707 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002244/0.1005, allocations: 313.2 kB / 441.8 MB, free: 5.348 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.441e-05/0.1005, allocations: 30.52 kB / 441.9 MB, free: 5.309 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.811e-05/0.1006, allocations: 12.94 kB / 441.9 MB, free: 5.293 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.1006, allocations: 11.94 kB / 441.9 MB, free: 5.281 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.1006, allocations: 34.56 kB / 441.9 MB, free: 5.238 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.363e-06/0.1006, allocations: 0 / 441.9 MB, free: 5.238 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001751/0.1008, allocations: 57.53 kB / 442 MB, free: 5.176 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.643e-05/0.1009, allocations: 51.41 kB / 442 MB, free: 5.113 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.12e-05/0.1009, allocations: 97.86 kB / 442.1 MB, free: 5.008 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.963e-06/0.1009, allocations: 25.7 kB / 442.1 MB, free: 4.977 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.78e-05/0.101, allocations: 88.25 kB / 442.2 MB, free: 4.887 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.188e-05/0.101, allocations: 19.75 kB / 442.2 MB, free: 4.867 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.644e-05/0.101, allocations: 13.72 kB / 442.3 MB, free: 4.848 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.33e-05/0.1011, allocations: 314.8 kB / 442.6 MB, free: 4.531 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.031e-05/0.1011, allocations: 7.984 kB / 442.6 MB, free: 4.523 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.038e-05/0.1011, allocations: 17.72 kB / 442.6 MB, free: 4.5 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.413e-05/0.1012, allocations: 33.83 kB / 442.6 MB, free: 4.461 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1012, allocations: 7.938 kB / 442.6 MB, free: 4.453 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.466e-05/0.1013, allocations: 53.69 kB / 442.7 MB, free: 4.395 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.1013, allocations: 11.92 kB / 442.7 MB, free: 4.383 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.1013, allocations: 4 kB / 442.7 MB, free: 4.379 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.1013, allocations: 0 / 442.7 MB, free: 4.379 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.227e-05/0.1014, allocations: 4 kB / 442.7 MB, free: 4.375 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.1014, allocations: 11.92 kB / 442.7 MB, free: 4.363 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.063e-05/0.1014, allocations: 0 / 442.7 MB, free: 4.363 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.1014, allocations: 128 / 442.7 MB, free: 4.363 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 4.749e-05/0.1015, allocations: 126.8 kB / 442.8 MB, free: 4.23 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.165e-05/0.1015, allocations: 3.906 kB / 442.8 MB, free: 4.227 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001087/0.1016, allocations: 69.11 kB / 442.9 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1016, allocations: 0 / 442.9 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1016, allocations: 0 / 442.9 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.1016, allocations: 0 / 442.9 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001081/0.1018, allocations: 165.6 kB / 443.1 MB, free: 3.938 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1018, allocations: 0 / 443.1 MB, free: 3.938 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.577e-05/0.1018, allocations: 8 kB / 443.1 MB, free: 3.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-06/0.1018, allocations: 8 kB / 443.1 MB, free: 3.922 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.1018, allocations: 0 / 443.1 MB, free: 3.922 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1018, allocations: 0 / 443.1 MB, free: 3.922 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1018, allocations: 3.938 kB / 443.1 MB, free: 3.918 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.03e-05/0.1019, allocations: 148 kB / 443.2 MB, free: 3.758 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.666e-05/0.102, allocations: 81.11 kB / 443.3 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/0.102, allocations: 0 / 443.3 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.817e-05/0.102, allocations: 4 kB / 443.3 MB, free: 3.656 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.293e-05/0.1021, allocations: 15.92 kB / 443.3 MB, free: 3.641 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.1021, allocations: 0 / 443.3 MB, free: 3.641 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.747e-05/0.1021, allocations: 75.28 kB / 443.4 MB, free: 3.566 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1021, allocations: 0 / 443.4 MB, free: 3.566 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002174/0.1023, allocations: 8 kB / 443.4 MB, free: 3.559 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.0002707/0.1026, allocations: 0.689 MB / 444.1 MB, free: 2.844 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 9.787e-05/0.1027, allocations: 36.11 kB / 444.1 MB, free: 2.809 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1027, allocations: 0 / 444.1 MB, free: 2.809 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.604e-05/0.1027, allocations: 23.98 kB / 444.2 MB, free: 2.785 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002113/0.103, allocations: 1.031 kB / 444.2 MB, free: 2.785 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003153/0.1033, allocations: 138.7 kB / 444.3 MB, free: 2.609 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.1034, allocations: 0.6768 MB / 445 MB, free: 1.906 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.069e-05/0.1034, allocations: 8.062 kB / 445 MB, free: 1.898 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.756e-05/0.1035, allocations: 7.438 kB / 445 MB, free: 1.891 MB / 318.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1035, allocations: 0 / 445 MB, free: 1.891 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009753/0.1132, allocations: 1.184 MB / 446.2 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000132/0.1134, allocations: 205.3 kB / 446.4 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.734/1.847, allocations: 0 / 446.4 MB, free: 0.5195 MB / 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","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches