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.001347/0.001347, allocations: 103.1 kB / 17.63 MB, free: 5.344 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.001701/0.001701, allocations: 192 kB / 18.56 MB, free: 4.434 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.308/1.308, allocations: 222.9 MB / 242.2 MB, free: 15.16 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.1976/0.1976, allocations: 44.18 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 62.45 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1129, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001667/0.1146, allocations: 499.7 kB / 469.8 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002565/0.1149, allocations: 103.5 kB / 469.9 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.939e-05/0.1149, allocations: 0 / 469.9 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.037e-05/0.1149, allocations: 0 / 469.9 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.953e-05/0.115, allocations: 0 / 469.9 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001748/0.1151, allocations: 19.91 kB / 470 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.491e-05/0.1152, allocations: 8 kB / 470 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.835e-05/0.1152, allocations: 4 kB / 470 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.836e-05/0.1153, allocations: 15.97 kB / 470 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.25e-05/0.1153, allocations: 7.938 kB / 470 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.1153, allocations: 0 / 470 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.158e-05/0.1154, allocations: 35.95 kB / 470 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.019e-05/0.1154, allocations: 0 / 470 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.12e-05/0.1155, allocations: 7.938 kB / 470 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.732e-05/0.1156, allocations: 23.97 kB / 470.1 MB, free: 13.56 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1156, allocations: 4 kB / 470.1 MB, free: 13.56 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1156, allocations: 0 / 470.1 MB, free: 13.56 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.1156, allocations: 0 / 470.1 MB, free: 13.56 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.0003295/0.1159, allocations: 327.5 kB / 470.4 MB, free: 13.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.116, allocations: 12.03 kB / 470.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.142e-05/0.116, allocations: 38.69 kB / 470.4 MB, free: 13.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.026e-05/0.116, allocations: 0.9375 kB / 470.4 MB, free: 13.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.1161, allocations: 160.7 kB / 470.6 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.804e-06/0.1162, allocations: 4.375 kB / 470.6 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.388e-06/0.1162, allocations: 384 / 470.6 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.1163, allocations: 63.97 kB / 470.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.1163, allocations: 3.938 kB / 470.7 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.1163, allocations: 3.984 kB / 470.7 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.656e-06/0.1163, allocations: 0 / 470.7 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.289e-05/0.1164, allocations: 11.94 kB / 470.7 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002667/0.1166, allocations: 329 kB / 471 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.4e-05/0.1167, allocations: 38.53 kB / 471 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.78e-05/0.1168, allocations: 16.86 kB / 471.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.1168, allocations: 3.938 kB / 471.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.1168, allocations: 30.56 kB / 471.1 MB, free: 12.35 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1168, allocations: 0 / 471.1 MB, free: 12.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001606/0.117, allocations: 49.78 kB / 471.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.117, allocations: 55.41 kB / 471.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.454e-05/0.1171, allocations: 101.8 kB / 471.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.1171, allocations: 25.7 kB / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.319e-05/0.1171, allocations: 82.64 kB / 471.4 MB, free: 12.01 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.154e-05/0.1172, allocations: 15.81 kB / 471.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.2e-05/0.1172, allocations: 17.66 kB / 471.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.632e-05/0.1173, allocations: 318.8 kB / 471.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.461e-05/0.1173, allocations: 7.938 kB / 471.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.104e-05/0.1174, allocations: 25.84 kB / 471.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.867e-05/0.1174, allocations: 25.7 kB / 471.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.1174, allocations: 3.938 kB / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.485e-05/0.1175, allocations: 61.53 kB / 471.9 MB, free: 11.51 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.1176, allocations: 8 kB / 471.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1176, allocations: 0 / 471.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.1176, allocations: 0 / 471.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.193e-05/0.1177, allocations: 11.94 kB / 471.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.1177, allocations: 0 / 471.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.113e-05/0.1177, allocations: 4.031 kB / 471.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-06/0.1177, allocations: 4 kB / 471.9 MB, free: 11.48 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.187e-05/0.1178, allocations: 121.7 kB / 472 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.1178, allocations: 4 kB / 472 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001195/0.1179, allocations: 61.12 kB / 472.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/0.118, allocations: 4 kB / 472.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.118, allocations: 0 / 472.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.118, allocations: 0 / 472.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/0.1181, allocations: 161.6 kB / 472.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1181, allocations: 192 / 472.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.28e-05/0.1182, allocations: 12 kB / 472.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1182, allocations: 0 / 472.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/0.1182, allocations: 0 / 472.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1182, allocations: 0 / 472.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.1182, allocations: 3.984 kB / 472.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001222/0.1183, allocations: 155.3 kB / 472.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.217e-05/0.1184, allocations: 81.09 kB / 472.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.1184, allocations: 8 kB / 472.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.835e-05/0.1184, allocations: 0 / 472.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.676e-05/0.1185, allocations: 4 kB / 472.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.1185, allocations: 0 / 472.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.452e-05/0.1185, allocations: 79.28 kB / 472.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1185, allocations: 0 / 472.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002295/0.1188, allocations: 8 kB / 472.6 MB, free: 10.69 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.0003673/0.1191, allocations: 0.689 MB / 473.3 MB, free: 9.973 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.54e-05/0.1192, allocations: 20 kB / 473.3 MB, free: 9.953 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.1193, allocations: 4 kB / 473.3 MB, free: 9.949 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.375e-05/0.1193, allocations: 19.92 kB / 473.3 MB, free: 9.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/0.1195, allocations: 3.938 kB / 473.3 MB, free: 9.926 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003465/0.1199, allocations: 150.5 kB / 473.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.1201, allocations: 0.681 MB / 474.1 MB, free: 9.031 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.916e-05/0.1201, allocations: 3.938 kB / 474.1 MB, free: 9.027 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.847e-05/0.1202, allocations: 11.44 kB / 474.2 MB, free: 9.016 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1202, allocations: 0 / 474.2 MB, free: 9.016 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01567/0.1358, allocations: 1.262 MB / 475.4 MB, free: 7.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.361/7.497, allocations: 14.97 kB / 475.4 MB, free: 7.828 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