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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 104.3 kB / 19.69 MB, free: 1.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 222.6 kB / 23 MB, free: 4.973 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.385/1.385, allocations: 207.7 MB / 233.8 MB, free: 9.789 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2168/0.2168, allocations: 44.27 MB / 330.3 MB, free: 9.309 MB / 270.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003878/0.003878, allocations: 71.89 kB / 467.5 MB, free: 4.367 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1357, allocations: 61.04 MB / 0.5161 GB, free: 7.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001726/0.1374, allocations: 0.5103 MB / 0.5166 GB, free: 6.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003023/0.1377, allocations: 95.67 kB / 0.5167 GB, free: 6.586 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.523e-05/0.1378, allocations: 0 / 0.5167 GB, free: 6.586 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.53e-05/0.1378, allocations: 0 / 0.5167 GB, free: 6.586 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.106e-05/0.1378, allocations: 0 / 0.5167 GB, free: 6.586 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001935/0.138, allocations: 27.91 kB / 0.5168 GB, free: 6.559 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.002e-05/0.138, allocations: 4 kB / 0.5168 GB, free: 6.555 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.875e-05/0.1381, allocations: 3.984 kB / 0.5168 GB, free: 6.551 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.39e-05/0.1381, allocations: 8 kB / 0.5168 GB, free: 6.543 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.802e-05/0.1382, allocations: 7.938 kB / 0.5168 GB, free: 6.535 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.214e-05/0.1382, allocations: 0 / 0.5168 GB, free: 6.535 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.926e-05/0.1383, allocations: 35.95 kB / 0.5168 GB, free: 6.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.574e-05/0.1383, allocations: 4 kB / 0.5168 GB, free: 6.496 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.006e-05/0.1383, allocations: 3.938 kB / 0.5168 GB, free: 6.492 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001064/0.1384, allocations: 32.17 kB / 0.5169 GB, free: 6.461 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1384, allocations: 4 kB / 0.5169 GB, free: 6.457 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1384, allocations: 0 / 0.5169 GB, free: 6.457 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.1384, allocations: 0 / 0.5169 GB, free: 6.457 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.0004049/0.1388, allocations: 258.3 kB / 0.5171 GB, free: 6.172 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.1389, allocations: 11.97 kB / 0.5171 GB, free: 6.16 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.724e-05/0.1389, allocations: 34.69 kB / 0.5171 GB, free: 6.117 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.358e-05/0.1389, allocations: 4.938 kB / 0.5172 GB, free: 6.113 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.139, allocations: 102.5 kB / 0.5172 GB, free: 5.988 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.544e-06/0.139, allocations: 384 / 0.5172 GB, free: 5.988 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.1391, allocations: 8.375 kB / 0.5173 GB, free: 5.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.1392, allocations: 59.97 kB / 0.5173 GB, free: 5.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.1392, allocations: 3.938 kB / 0.5173 GB, free: 5.906 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.695e-06/0.1392, allocations: 0 / 0.5173 GB, free: 5.906 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.1392, allocations: 3.984 kB / 0.5173 GB, free: 5.902 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.034e-05/0.1392, allocations: 15.94 kB / 0.5173 GB, free: 5.887 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003326/0.1396, allocations: 288.2 kB / 0.5176 GB, free: 5.559 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.111e-05/0.1396, allocations: 22.52 kB / 0.5176 GB, free: 5.527 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.252e-05/0.1397, allocations: 20.94 kB / 0.5177 GB, free: 5.504 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.1397, allocations: 0 / 0.5177 GB, free: 5.504 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.1397, allocations: 34.5 kB / 0.5177 GB, free: 5.461 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.1397, allocations: 4 kB / 0.5177 GB, free: 5.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.000195/0.1399, allocations: 57.64 kB / 0.5177 GB, free: 5.395 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.14, allocations: 59.34 kB / 0.5178 GB, free: 5.324 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.493e-05/0.1401, allocations: 89.86 kB / 0.5179 GB, free: 5.227 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.1401, allocations: 25.7 kB / 0.5179 GB, free: 5.195 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.442e-05/0.1401, allocations: 84.14 kB / 0.518 GB, free: 5.109 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.804e-05/0.1402, allocations: 19.83 kB / 0.518 GB, free: 5.09 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.923e-05/0.1402, allocations: 17.72 kB / 0.518 GB, free: 5.066 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.1403, allocations: 310.8 kB / 0.5183 GB, free: 4.754 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.44e-05/0.1404, allocations: 7.984 kB / 0.5183 GB, free: 4.746 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.384e-05/0.1404, allocations: 29.78 kB / 0.5184 GB, free: 4.711 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.457e-05/0.1405, allocations: 29.72 kB / 0.5184 GB, free: 4.676 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.1405, allocations: 3.938 kB / 0.5184 GB, free: 4.672 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.924e-05/0.1406, allocations: 53.62 kB / 0.5184 GB, free: 4.613 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.1406, allocations: 4 kB / 0.5184 GB, free: 4.609 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.1406, allocations: 0 / 0.5184 GB, free: 4.609 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.1406, allocations: 7.984 kB / 0.5185 GB, free: 4.602 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.192e-05/0.1407, allocations: 4 kB / 0.5185 GB, free: 4.598 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.1407, allocations: 4 kB / 0.5185 GB, free: 4.594 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.387e-05/0.1407, allocations: 11.92 kB / 0.5185 GB, free: 4.582 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.1407, allocations: 0 / 0.5185 GB, free: 4.582 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 8.572e-05/0.1408, allocations: 117.8 kB / 0.5186 GB, free: 4.457 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.179e-05/0.1408, allocations: 0 / 0.5186 GB, free: 4.457 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001384/0.1409, allocations: 65.55 kB / 0.5186 GB, free: 4.383 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.1409, allocations: 3.984 kB / 0.5187 GB, free: 4.379 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1409, allocations: 0 / 0.5187 GB, free: 4.379 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.141, allocations: 3.984 kB / 0.5187 GB, free: 4.375 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.1411, allocations: 132.7 kB / 0.5188 GB, free: 4.203 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1411, allocations: 192 / 0.5188 GB, free: 4.203 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.549e-05/0.1412, allocations: 19.98 kB / 0.5188 GB, free: 4.184 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.1412, allocations: 0 / 0.5188 GB, free: 4.184 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.1412, allocations: 0 / 0.5188 GB, free: 4.184 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1412, allocations: 0 / 0.5188 GB, free: 4.184 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1412, allocations: 0 / 0.5188 GB, free: 4.184 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001452/0.1413, allocations: 163.4 kB / 0.519 GB, free: 4.008 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.911e-06/0.1413, allocations: 0 / 0.519 GB, free: 4.008 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.023e-05/0.1413, allocations: 0 / 0.519 GB, free: 4.008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.111e-05/0.1414, allocations: 4 kB / 0.519 GB, free: 4.004 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.54e-05/0.1414, allocations: 0 / 0.519 GB, free: 4.004 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-06/0.1414, allocations: 3.984 kB / 0.519 GB, free: 4 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.963e-05/0.1415, allocations: 83.28 kB / 0.519 GB, free: 3.918 MB / 398.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1415, allocations: 0 / 0.519 GB, free: 3.918 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002244/0.1417, allocations: 8 kB / 0.5191 GB, free: 3.91 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.0005046/0.1422, allocations: 0.6927 MB / 0.5197 GB, free: 3.188 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001064/0.1423, allocations: 23.98 kB / 0.5198 GB, free: 3.164 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1423, allocations: 0 / 0.5198 GB, free: 3.164 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.11e-05/0.1423, allocations: 15.94 kB / 0.5198 GB, free: 3.148 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002065/0.1425, allocations: 0 / 0.5198 GB, free: 3.148 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004542/0.143, allocations: 144.2 kB / 0.5199 GB, free: 2.969 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.095e-05/0.1431, allocations: 63.52 kB / 0.52 GB, free: 2.887 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.835e-05/0.1431, allocations: 3.938 kB / 0.52 GB, free: 2.883 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.186e-05/0.1431, allocations: 15.42 kB / 0.52 GB, free: 2.867 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1431, allocations: 0 / 0.52 GB, free: 2.867 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02923/0.1724, allocations: 1.789 MB / 0.5217 GB, free: 1.074 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.14, allocations: 8.297 kB / 0.5217 GB, free: 1.07 MB / 398.1 MB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.csv","/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.092787693720311]