Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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.002373/0.002373, 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.002945/0.002945, allocations: 218.1 kB / 22.99 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.382/1.382, allocations: 207.7 MB / 233.8 MB, free: 9.797 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.27 MB / 330.4 MB, free: 9.301 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.TestRegRoot2Derivatives,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives",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.002244/0.002244, allocations: 72.41 kB / 467.5 MB, free: 4.355 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1235, allocations: 61.04 MB / 0.5161 GB, free: 7.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001706/0.1252, allocations: 0.5375 MB / 0.5167 GB, free: 6.648 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007843/0.126, allocations: 373 kB / 0.517 GB, free: 6.281 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.739e-05/0.126, allocations: 0 / 0.517 GB, free: 6.281 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.181e-05/0.126, allocations: 3.938 kB / 0.517 GB, free: 6.277 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.941e-05/0.1261, allocations: 7.938 kB / 0.517 GB, free: 6.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004731/0.1265, allocations: 139.6 kB / 0.5172 GB, free: 6.133 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.161e-05/0.1266, allocations: 27.97 kB / 0.5172 GB, free: 6.105 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.381e-05/0.1267, allocations: 3.984 kB / 0.5172 GB, free: 6.102 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.694e-05/0.1267, allocations: 15.94 kB / 0.5172 GB, free: 6.086 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.183e-05/0.1267, allocations: 11.92 kB / 0.5172 GB, free: 6.074 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.1268, allocations: 3.938 kB / 0.5172 GB, free: 6.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002582/0.127, allocations: 143.8 kB / 0.5174 GB, free: 5.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.395e-05/0.127, allocations: 4 kB / 0.5174 GB, free: 5.926 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.453e-05/0.1271, allocations: 15.92 kB / 0.5174 GB, free: 5.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002094/0.1273, allocations: 123.6 kB / 0.5175 GB, free: 5.789 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.1273, allocations: 0 / 0.5175 GB, free: 5.789 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1273, allocations: 0 / 0.5175 GB, free: 5.789 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.1273, allocations: 3.938 kB / 0.5175 GB, free: 5.785 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004397/0.1277, allocations: 294 kB / 0.5178 GB, free: 5.469 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.1278, allocations: 8.031 kB / 0.5178 GB, free: 5.461 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.768e-05/0.1278, allocations: 34.75 kB / 0.5178 GB, free: 5.418 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.422e-05/0.1278, allocations: 0.9375 kB / 0.5178 GB, free: 5.418 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.128, allocations: 126.4 kB / 0.518 GB, free: 5.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.128, allocations: 384 / 0.518 GB, free: 5.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/0.128, allocations: 12.36 kB / 0.518 GB, free: 5.258 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.1281, allocations: 54 kB / 0.518 GB, free: 5.199 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.1281, allocations: 4 kB / 0.518 GB, free: 5.195 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.1281, allocations: 0 / 0.518 GB, free: 5.195 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1281, allocations: 0 / 0.518 GB, free: 5.195 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.444e-05/0.1282, allocations: 35.91 kB / 0.5181 GB, free: 5.16 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00018/0.1284, allocations: 140.7 kB / 0.5182 GB, free: 4.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002267/0.1286, allocations: 58.53 kB / 0.5182 GB, free: 4.914 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.512e-05/0.1287, allocations: 16.86 kB / 0.5183 GB, free: 4.895 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002281/0.1289, allocations: 36.23 kB / 0.5183 GB, free: 4.859 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.1289, allocations: 38.44 kB / 0.5183 GB, free: 4.812 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.143e-06/0.1289, allocations: 0 / 0.5183 GB, free: 4.812 MB / 398.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: k2 2: k1 3: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.1381/0.267, allocations: 6.375 MB / 0.5246 GB, free: 14.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.2671, allocations: 51.41 kB / 0.5246 GB, free: 14.33 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.196e-05/0.2671, allocations: 105.9 kB / 0.5247 GB, free: 14.22 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.881e-05/0.2672, allocations: 29.7 kB / 0.5247 GB, free: 14.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.494e-05/0.2673, allocations: 88.12 kB / 0.5248 GB, free: 14.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.498e-05/0.2673, allocations: 67.42 kB / 0.5249 GB, free: 14.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001682/0.2675, allocations: 89.59 kB / 0.525 GB, free: 13.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.2677, allocations: 326.8 kB / 0.5253 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005907/0.2683, allocations: 223.8 kB / 0.5255 GB, free: 13.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005688/0.2688, allocations: 231.8 kB / 0.5257 GB, free: 13.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002166/0.271, allocations: 0.5577 MB / 0.5263 GB, free: 12.6 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.271, allocations: 0 / 0.5263 GB, free: 12.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001931/0.2729, allocations: 0.6104 MB / 0.5269 GB, free: 11.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.273, allocations: 8 kB / 0.5269 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.273, allocations: 0 / 0.5269 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.273, allocations: 0 / 0.5269 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006711/0.2737, allocations: 107.8 kB / 0.527 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.2737, allocations: 0 / 0.527 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004272/0.2741, allocations: 23.95 kB / 0.527 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.129e-05/0.2742, allocations: 39.94 kB / 0.527 GB, free: 11.81 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (19): * Single equations (assignments): 19 * 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 0.000165/0.2743, allocations: 121.7 kB / 0.5271 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.433e-05/0.2744, allocations: 7.953 kB / 0.5272 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002266/0.2767, allocations: 0.724 MB / 0.5279 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.2767, allocations: 8 kB / 0.5279 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2767, allocations: 0 / 0.5279 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.2767, allocations: 0 / 0.5279 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004136/0.2808, allocations: 1.094 MB / 0.5289 GB, free: 9.777 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.2808, allocations: 11.88 kB / 0.5289 GB, free: 9.766 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005444/0.2814, allocations: 96.05 kB / 0.529 GB, free: 9.672 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.677e-06/0.2814, allocations: 8 kB / 0.529 GB, free: 9.664 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.778e-05/0.2814, allocations: 23.95 kB / 0.5291 GB, free: 9.641 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.244e-06/0.2814, allocations: 11.92 kB / 0.5291 GB, free: 9.629 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.2814, allocations: 4.25 kB / 0.5291 GB, free: 9.625 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002062/0.2835, allocations: 0.5705 MB / 0.5296 GB, free: 9.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.625e-05/0.2835, allocations: 7.953 kB / 0.5296 GB, free: 9.012 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.689e-05/0.2836, allocations: 19.92 kB / 0.5297 GB, free: 8.992 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000664/0.2843, allocations: 23.97 kB / 0.5297 GB, free: 8.969 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/0.2843, allocations: 15.97 kB / 0.5297 GB, free: 8.953 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.459e-05/0.2844, allocations: 27.95 kB / 0.5297 GB, free: 8.926 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.964e-05/0.2845, allocations: 87.22 kB / 0.5298 GB, free: 8.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2845, allocations: 0 / 0.5298 GB, free: 8.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002516/0.287, allocations: 0.648 MB / 0.5304 GB, free: 8.191 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 19 * 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.006568/0.2936, allocations: 1.306 MB / 0.5317 GB, free: 6.836 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001346/0.2949, allocations: 443.5 kB / 0.5321 GB, free: 6.402 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.2949, allocations: 0 / 0.5321 GB, free: 6.402 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005403/0.2955, allocations: 188.1 kB / 0.5323 GB, free: 6.219 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/0.2958, allocations: 27.36 kB / 0.5324 GB, free: 6.195 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003125/0.2989, allocations: 0.6007 MB / 0.5329 GB, free: 5.535 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.721e-05/0.299, allocations: 87.31 kB / 0.533 GB, free: 5.426 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004614/0.2995, allocations: 125 kB / 0.5331 GB, free: 5.301 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003299/0.2998, allocations: 95.28 kB / 0.5332 GB, free: 5.207 MB / 414.1 MB Notification: Performance of SimCode: time 8.92e-07/0.2998, allocations: 0 / 0.5332 GB, free: 5.207 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3254/0.6252, allocations: 60.26 MB / 0.5921 GB, free: 10.25 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.36, allocations: 3.281 kB / 0.5921 GB, free: 10.25 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives_fmu --startTime=0 --stopTime=2 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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: 15.278429078869522]