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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 118.8 kB / 17.13 MB, free: 5.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 196.7 kB / 20.07 MB, free: 3.012 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.446/1.446, allocations: 207.6 MB / 230.5 MB, free: 4.035 MB / 174.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.3333/0.3333, allocations: 44.24 MB / 326.5 MB, free: 6.832 MB / 254.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.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.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00216/0.00216, allocations: 71.89 kB / 462.2 MB, free: 0.9492 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2828, allocations: 60.99 MB / 0.5109 GB, free: 13.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001613/0.2845, allocations: 0.5568 MB / 0.5114 GB, free: 12.92 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000711/0.2852, allocations: 407.4 kB / 0.5118 GB, free: 12.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.405e-05/0.2852, allocations: 1.094 kB / 0.5118 GB, free: 12.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.737e-05/0.2852, allocations: 7.938 kB / 0.5118 GB, free: 12.6 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.386e-05/0.2853, allocations: 3.938 kB / 0.5118 GB, free: 12.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004893/0.2858, allocations: 132.4 kB / 0.512 GB, free: 12.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.597e-05/0.2858, allocations: 24.7 kB / 0.512 GB, free: 12.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.37e-05/0.2859, allocations: 2.188 kB / 0.512 GB, free: 12.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.263e-05/0.2859, allocations: 21.75 kB / 0.512 GB, free: 12.49 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.001e-05/0.286, allocations: 16.23 kB / 0.512 GB, free: 12.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.286, allocations: 2.531 kB / 0.512 GB, free: 12.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002216/0.2862, allocations: 166.5 kB / 0.5122 GB, free: 12.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.28e-05/0.2862, allocations: 11.44 kB / 0.5122 GB, free: 12.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.346e-05/0.2862, allocations: 14.61 kB / 0.5122 GB, free: 12.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002043/0.2864, allocations: 125.2 kB / 0.5123 GB, free: 12.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2864, allocations: 0 / 0.5123 GB, free: 12.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2864, allocations: 0 / 0.5123 GB, free: 12.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.2864, allocations: 1.062 kB / 0.5123 GB, free: 12.29 MB / 382.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.0004111/0.2869, allocations: 369.7 kB / 0.5127 GB, free: 11.9 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.2869, allocations: 13.64 kB / 0.5127 GB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.091e-05/0.2869, allocations: 43.83 kB / 0.5127 GB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.968e-05/0.287, allocations: 3.5 kB / 0.5127 GB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.2871, allocations: 175.1 kB / 0.5129 GB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.2871, allocations: 1.781 kB / 0.5129 GB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.59e-05/0.2871, allocations: 3.375 kB / 0.5129 GB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.2872, allocations: 58.8 kB / 0.513 GB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.2872, allocations: 0 / 0.513 GB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.587e-06/0.2872, allocations: 5.375 kB / 0.513 GB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.2872, allocations: 1.531 kB / 0.513 GB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.263e-05/0.2873, allocations: 27.8 kB / 0.513 GB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000135/0.2874, allocations: 174.9 kB / 0.5132 GB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001969/0.2876, allocations: 50.5 kB / 0.5132 GB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.266e-05/0.2877, allocations: 28.16 kB / 0.5132 GB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002229/0.2879, allocations: 105.1 kB / 0.5133 GB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.387e-05/0.2879, allocations: 39.69 kB / 0.5134 GB, free: 11.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.2879, allocations: 0 / 0.5134 GB, free: 11.16 MB / 382.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.1267/0.4146, allocations: 6.381 MB / 0.5196 GB, free: 5.879 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/0.4147, allocations: 55.41 kB / 0.5197 GB, free: 5.812 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.066e-05/0.4147, allocations: 101.8 kB / 0.5198 GB, free: 5.703 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.777e-05/0.4147, allocations: 29.7 kB / 0.5198 GB, free: 5.668 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.072e-05/0.4148, allocations: 84.14 kB / 0.5199 GB, free: 5.582 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.802e-05/0.4148, allocations: 59.44 kB / 0.5199 GB, free: 5.523 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.415, allocations: 93.59 kB / 0.52 GB, free: 5.426 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.599e-05/0.415, allocations: 326.8 kB / 0.5203 GB, free: 5.098 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004471/0.4155, allocations: 223.8 kB / 0.5205 GB, free: 4.879 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004425/0.4159, allocations: 239.8 kB / 0.5208 GB, free: 4.645 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00181/0.4177, allocations: 0.5502 MB / 0.5213 GB, free: 4.094 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.4177, allocations: 3.938 kB / 0.5213 GB, free: 4.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001536/0.4193, allocations: 0.6105 MB / 0.5219 GB, free: 3.473 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.4193, allocations: 4 kB / 0.5219 GB, free: 3.469 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.4193, allocations: 0 / 0.5219 GB, free: 3.469 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.4193, allocations: 4 kB / 0.5219 GB, free: 3.465 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006028/0.4199, allocations: 107.8 kB / 0.522 GB, free: 3.359 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.4199, allocations: 0 / 0.522 GB, free: 3.359 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000415/0.4203, allocations: 27.91 kB / 0.522 GB, free: 3.332 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.914e-05/0.4204, allocations: 31.94 kB / 0.5221 GB, free: 3.301 MB / 382.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.0001079/0.4205, allocations: 121.8 kB / 0.5222 GB, free: 3.172 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.081e-05/0.4205, allocations: 7.953 kB / 0.5222 GB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00179/0.4223, allocations: 0.7304 MB / 0.5229 GB, free: 2.422 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.4223, allocations: 11.97 kB / 0.5229 GB, free: 2.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.4223, allocations: 3.938 kB / 0.5229 GB, free: 2.406 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.4223, allocations: 0 / 0.5229 GB, free: 2.406 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003622/0.426, allocations: 1.157 MB / 0.5241 GB, free: 1.176 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.426, allocations: 256 / 0.5241 GB, free: 1.176 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005173/0.4265, allocations: 103.8 kB / 0.5242 GB, free: 1.074 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.4265, allocations: 4 kB / 0.5242 GB, free: 1.07 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.878e-05/0.4265, allocations: 27.95 kB / 0.5242 GB, free: 1.043 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.4265, allocations: 8.172 kB / 0.5242 GB, free: 1.035 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.4265, allocations: 4 kB / 0.5242 GB, free: 1.031 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001411/0.428, allocations: 0.575 MB / 0.5248 GB, free: 432 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.966e-05/0.428, allocations: 85.53 kB / 0.5248 GB, free: 328 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.158e-05/0.428, allocations: 11.98 kB / 0.5249 GB, free: 316 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003949/0.4284, allocations: 19.97 kB / 0.5249 GB, free: 296 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.916e-05/0.4284, allocations: 19.98 kB / 0.5249 GB, free: 276 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.892e-05/0.4285, allocations: 27.95 kB / 0.5249 GB, free: 248 kB / 382.1 MB Notification: Performance of sorting global known variables: time 2.671e-05/0.4285, allocations: 95.14 kB / 0.525 GB, free: 152 kB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4285, allocations: 0 / 0.525 GB, free: 152 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.001759/0.4303, allocations: 0.6441 MB / 0.5256 GB, free: 15.5 MB / 398.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.004921/0.4352, allocations: 1.321 MB / 0.5269 GB, free: 14.13 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001201/0.4364, allocations: 445.1 kB / 0.5274 GB, free: 13.7 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.4364, allocations: 0 / 0.5274 GB, free: 13.7 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005171/0.4369, allocations: 191.7 kB / 0.5275 GB, free: 13.51 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/0.4372, allocations: 8 kB / 0.5275 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0032/0.4404, allocations: 0.6322 MB / 0.5282 GB, free: 12.81 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/0.4408, allocations: 0.6926 MB / 0.5288 GB, free: 12.09 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004374/0.4412, allocations: 124.9 kB / 0.529 GB, free: 11.96 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002996/0.4415, allocations: 99.28 kB / 0.5291 GB, free: 11.87 MB / 398.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4415, allocations: 0 / 0.5291 GB, free: 11.87 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09724/0.5388, allocations: 58.59 MB / 0.5863 GB, free: 1.023 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.518/9.057, allocations: 12 kB / 0.5863 GB, free: 1.012 MB / 446.1 MB " [Timeout remaining time 651] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.90131990192458]