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.001773/0.001773, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001866/0.001866, allocations: 216.2 kB / 22.99 MB, free: 4.977 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.393/1.393, 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.2169/0.2169, allocations: 44.26 MB / 330.3 MB, free: 9.293 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.002268/0.002268, allocations: 75.89 kB / 467.5 MB, free: 4.336 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.124, allocations: 61.03 MB / 0.5161 GB, free: 7.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001727/0.1257, allocations: 0.5143 MB / 0.5166 GB, free: 6.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003236/0.126, allocations: 87.69 kB / 0.5167 GB, free: 6.574 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.997e-05/0.126, allocations: 0 / 0.5167 GB, free: 6.574 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.718e-05/0.1261, allocations: 4 kB / 0.5167 GB, free: 6.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.922e-05/0.1261, allocations: 0 / 0.5167 GB, free: 6.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002245/0.1263, allocations: 19.91 kB / 0.5167 GB, free: 6.551 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.46e-05/0.1264, allocations: 12 kB / 0.5168 GB, free: 6.539 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.427e-05/0.1264, allocations: 7.984 kB / 0.5168 GB, free: 6.531 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.57e-05/0.1264, allocations: 0 / 0.5168 GB, free: 6.531 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.429e-05/0.1265, allocations: 7.938 kB / 0.5168 GB, free: 6.523 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.1265, allocations: 0 / 0.5168 GB, free: 6.523 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.1266, allocations: 39.95 kB / 0.5168 GB, free: 6.484 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.95e-05/0.1266, allocations: 3.984 kB / 0.5168 GB, free: 6.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.699e-05/0.1267, allocations: 7.938 kB / 0.5168 GB, free: 6.473 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.1268, allocations: 24.19 kB / 0.5168 GB, free: 6.449 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1268, allocations: 0 / 0.5168 GB, free: 6.449 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.1268, allocations: 0 / 0.5168 GB, free: 6.449 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.1268, allocations: 4 kB / 0.5168 GB, free: 6.445 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.0004213/0.1272, allocations: 258.3 kB / 0.5171 GB, free: 6.16 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.1273, allocations: 8.031 kB / 0.5171 GB, free: 6.152 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.293e-05/0.1273, allocations: 38.69 kB / 0.5171 GB, free: 6.105 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.902e-05/0.1273, allocations: 8.938 kB / 0.5171 GB, free: 6.098 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.1275, allocations: 102.5 kB / 0.5172 GB, free: 5.973 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.1275, allocations: 4.312 kB / 0.5172 GB, free: 5.969 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/0.1275, allocations: 4.375 kB / 0.5173 GB, free: 5.965 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.1276, allocations: 51.97 kB / 0.5173 GB, free: 5.902 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.1276, allocations: 7.938 kB / 0.5173 GB, free: 5.895 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.1276, allocations: 4 kB / 0.5173 GB, free: 5.891 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.1276, allocations: 3.984 kB / 0.5173 GB, free: 5.887 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.186e-05/0.1277, allocations: 11.94 kB / 0.5173 GB, free: 5.875 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003872/0.1281, allocations: 288.2 kB / 0.5176 GB, free: 5.547 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.473e-05/0.1281, allocations: 26.52 kB / 0.5176 GB, free: 5.512 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.015e-05/0.1282, allocations: 16.94 kB / 0.5176 GB, free: 5.492 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.1282, allocations: 3.984 kB / 0.5176 GB, free: 5.488 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.1282, allocations: 42.44 kB / 0.5177 GB, free: 5.438 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1282, allocations: 0 / 0.5177 GB, free: 5.438 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001835/0.1284, allocations: 57.64 kB / 0.5177 GB, free: 5.375 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.727e-05/0.1285, allocations: 55.41 kB / 0.5178 GB, free: 5.309 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.507e-05/0.1286, allocations: 93.86 kB / 0.5179 GB, free: 5.207 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.1286, allocations: 29.7 kB / 0.5179 GB, free: 5.172 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.011e-05/0.1286, allocations: 80.14 kB / 0.518 GB, free: 5.09 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.771e-05/0.1286, allocations: 19.81 kB / 0.518 GB, free: 5.07 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-05/0.1287, allocations: 17.72 kB / 0.518 GB, free: 5.047 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002155/0.1289, allocations: 318.8 kB / 0.5183 GB, free: 4.727 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.398e-05/0.1289, allocations: 7.984 kB / 0.5183 GB, free: 4.719 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.815e-05/0.1289, allocations: 21.66 kB / 0.5184 GB, free: 4.691 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.405e-05/0.129, allocations: 29.84 kB / 0.5184 GB, free: 4.656 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.129, allocations: 3.938 kB / 0.5184 GB, free: 4.652 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001147/0.1291, allocations: 57.62 kB / 0.5184 GB, free: 4.59 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.1291, allocations: 4 kB / 0.5185 GB, free: 4.586 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.1291, allocations: 4 kB / 0.5185 GB, free: 4.582 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.1292, allocations: 3.984 kB / 0.5185 GB, free: 4.578 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.248e-05/0.1292, allocations: 8 kB / 0.5185 GB, free: 4.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.1292, allocations: 0 / 0.5185 GB, free: 4.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.465e-05/0.1292, allocations: 3.953 kB / 0.5185 GB, free: 4.566 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.1293, allocations: 4.031 kB / 0.5185 GB, free: 4.562 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 7.801e-05/0.1293, allocations: 117.8 kB / 0.5186 GB, free: 4.438 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.071e-05/0.1294, allocations: 0 / 0.5186 GB, free: 4.438 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000135/0.1295, allocations: 65.25 kB / 0.5186 GB, free: 4.363 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.1295, allocations: 3.984 kB / 0.5187 GB, free: 4.359 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1295, allocations: 192 / 0.5187 GB, free: 4.359 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.1295, allocations: 8 kB / 0.5187 GB, free: 4.352 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001578/0.1297, allocations: 124.7 kB / 0.5188 GB, free: 4.188 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.1297, allocations: 0 / 0.5188 GB, free: 4.188 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.476e-05/0.1297, allocations: 15.98 kB / 0.5188 GB, free: 4.172 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1297, allocations: 4 kB / 0.5188 GB, free: 4.168 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.291e-06/0.1297, allocations: 0 / 0.5188 GB, free: 4.168 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1297, allocations: 0 / 0.5188 GB, free: 4.168 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.1297, allocations: 0 / 0.5188 GB, free: 4.168 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001528/0.1299, allocations: 159.4 kB / 0.519 GB, free: 3.996 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.909e-06/0.1299, allocations: 0 / 0.519 GB, free: 3.996 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.1299, allocations: 4 kB / 0.519 GB, free: 3.992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.277e-05/0.1299, allocations: 4 kB / 0.519 GB, free: 3.988 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.658e-05/0.13, allocations: 0 / 0.519 GB, free: 3.988 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.13, allocations: 3.984 kB / 0.519 GB, free: 3.984 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.156e-05/0.13, allocations: 79.28 kB / 0.519 GB, free: 3.906 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.13, allocations: 8.031 kB / 0.519 GB, free: 3.898 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002185/0.1302, allocations: 4 kB / 0.519 GB, free: 3.895 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.0006303/0.1309, allocations: 0.6889 MB / 0.5197 GB, free: 3.176 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000108/0.131, allocations: 27.98 kB / 0.5197 GB, free: 3.148 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.131, allocations: 0 / 0.5197 GB, free: 3.148 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.815e-05/0.131, allocations: 11.94 kB / 0.5198 GB, free: 3.137 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002083/0.1312, allocations: 4 kB / 0.5198 GB, free: 3.133 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000405/0.1316, allocations: 140.2 kB / 0.5199 GB, free: 2.957 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.156e-05/0.1317, allocations: 67.42 kB / 0.52 GB, free: 2.871 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.026e-05/0.1317, allocations: 0 / 0.52 GB, free: 2.871 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.542e-05/0.1317, allocations: 15.42 kB / 0.52 GB, free: 2.855 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1317, allocations: 0 / 0.52 GB, free: 2.855 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03034/0.1621, allocations: 1.798 MB / 0.5217 GB, free: 1.055 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.08, allocations: 8.797 kB / 0.5217 GB, free: 1.047 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 & /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 --stepSize=0.0004 --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) [Timeout 52.5] 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","/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: 13.854185269679874]