Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_4_0_0_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.001649/0.001648, allocations: 107.5 kB / 17.21 MB, free: 6.293 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.001656/0.001656, allocations: 194 kB / 18.12 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 222.9 MB / 241.8 MB, free: 15.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2085/0.2085, allocations: 44.17 MB / 336.1 MB, free: 2.98 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002154/0.002154, allocations: 58.16 kB / 407.8 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1115, allocations: 60.83 MB / 468.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001637/0.1132, allocations: 0.5527 MB / 469.2 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002917/0.1135, allocations: 102 kB / 469.3 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.329e-05/0.1135, allocations: 7.938 kB / 469.3 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.36e-05/0.1135, allocations: 0 / 469.3 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.916e-05/0.1136, allocations: 0 / 469.3 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001395/0.1137, allocations: 11.98 kB / 469.3 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.795e-05/0.1138, allocations: 8 kB / 469.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.022e-05/0.1138, allocations: 3.984 kB / 469.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.433e-05/0.1138, allocations: 11.98 kB / 469.3 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.272e-05/0.1139, allocations: 3.938 kB / 469.3 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.1139, allocations: 0 / 469.3 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.8e-05/0.114, allocations: 31.97 kB / 469.4 MB, free: 14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.153e-05/0.114, allocations: 7.984 kB / 469.4 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.176e-05/0.114, allocations: 11.94 kB / 469.4 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.434e-05/0.1141, allocations: 27.95 kB / 469.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1141, allocations: 0 / 469.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.22e-07/0.1141, allocations: 0 / 469.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.1142, allocations: 0 / 469.4 MB, free: 13.95 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.0003361/0.1145, allocations: 327.5 kB / 469.7 MB, free: 13.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.1145, allocations: 8.031 kB / 469.7 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.373e-05/0.1146, allocations: 42.67 kB / 469.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.089e-05/0.1146, allocations: 4.938 kB / 469.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.1147, allocations: 164.7 kB / 469.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.183e-06/0.1147, allocations: 384 / 469.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/0.1147, allocations: 384 / 469.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.1149, allocations: 55.97 kB / 470 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.1149, allocations: 3.938 kB / 470 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.1149, allocations: 4 kB / 470 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1149, allocations: 0 / 470 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.363e-05/0.115, allocations: 11.92 kB / 470 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002814/0.1152, allocations: 333 kB / 470.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.268e-05/0.1153, allocations: 34.55 kB / 470.4 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.419e-05/0.1154, allocations: 12.86 kB / 470.4 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.502e-05/0.1154, allocations: 3.938 kB / 470.4 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.1154, allocations: 38.56 kB / 470.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.1154, allocations: 0 / 470.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001806/0.1156, allocations: 49.78 kB / 470.5 MB, free: 12.69 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.1156, allocations: 55.41 kB / 470.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.04e-05/0.1157, allocations: 97.84 kB / 470.6 MB, free: 12.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.1157, allocations: 25.7 kB / 470.7 MB, free: 12.49 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.599e-05/0.1158, allocations: 84.08 kB / 470.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.315e-05/0.1158, allocations: 11.81 kB / 470.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.135e-05/0.1158, allocations: 17.84 kB / 470.8 MB, free: 12.37 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.1159, allocations: 322.8 kB / 471.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.56e-05/0.116, allocations: 4 kB / 471.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.581e-05/0.116, allocations: 21.66 kB / 471.1 MB, free: 12.01 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.318e-05/0.1161, allocations: 29.7 kB / 471.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.1161, allocations: 3.938 kB / 471.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.369e-05/0.1162, allocations: 65.53 kB / 471.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.1162, allocations: 4 kB / 471.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1162, allocations: 0 / 471.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.1162, allocations: 7.938 kB / 471.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.954e-05/0.1163, allocations: 4 kB / 471.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.1163, allocations: 0 / 471.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.185e-05/0.1163, allocations: 4 kB / 471.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.331e-06/0.1163, allocations: 0 / 471.2 MB, free: 11.88 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 7.435e-05/0.1164, allocations: 121.7 kB / 471.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.375e-05/0.1164, allocations: 4.031 kB / 471.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001268/0.1166, allocations: 73.23 kB / 471.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1166, allocations: 0 / 471.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.1166, allocations: 0 / 471.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.1166, allocations: 240 / 471.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001495/0.1168, allocations: 157.6 kB / 471.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1168, allocations: 4 kB / 471.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.994e-05/0.1168, allocations: 7.984 kB / 471.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.1168, allocations: 0 / 471.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.1168, allocations: 4 kB / 471.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.1168, allocations: 7.984 kB / 471.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1168, allocations: 0 / 471.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001249/0.117, allocations: 155.3 kB / 471.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.082e-05/0.117, allocations: 77.11 kB / 471.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.117, allocations: 11.98 kB / 471.8 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.988e-05/0.1171, allocations: 0 / 471.8 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.397e-05/0.1171, allocations: 0 / 471.8 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.1171, allocations: 4 kB / 471.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.476e-05/0.1172, allocations: 79.28 kB / 471.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1172, allocations: 0 / 471.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002296/0.1174, allocations: 8 kB / 471.9 MB, free: 11.08 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.0003922/0.1178, allocations: 0.6856 MB / 472.6 MB, free: 10.37 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.886e-05/0.1179, allocations: 28.09 kB / 472.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1179, allocations: 3.938 kB / 472.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.109e-05/0.118, allocations: 20.11 kB / 472.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.1182, allocations: 4 kB / 472.7 MB, free: 10.31 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003502/0.1185, allocations: 148.4 kB / 472.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002273/0.1188, allocations: 0.677 MB / 473.5 MB, free: 9.422 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.339e-05/0.1188, allocations: 8.062 kB / 473.5 MB, free: 9.414 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.087e-05/0.1188, allocations: 15.38 kB / 473.5 MB, free: 9.398 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1189, allocations: 0 / 473.5 MB, free: 9.398 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01088/0.1297, allocations: 1.145 MB / 474.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001944/0.13, allocations: 205.7 kB / 474.9 MB, free: 8.117 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.711/1.841, allocations: 0 / 474.9 MB, free: 8.117 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches