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.001381/0.001381, allocations: 110 kB / 19.69 MB, free: 2.043 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.001864/0.001864, allocations: 223.8 kB / 23.01 MB, free: 4.949 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.367/1.367, allocations: 207.6 MB / 233.8 MB, free: 9.969 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.2183/0.2183, allocations: 44.23 MB / 330.3 MB, free: 9.512 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.002322/0.002322, allocations: 74.86 kB / 467.5 MB, free: 4.504 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1118, allocations: 61.04 MB / 0.5161 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001918/0.1137, allocations: 0.5493 MB / 0.5167 GB, free: 6.781 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008398/0.1146, allocations: 416.7 kB / 0.5171 GB, free: 6.371 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.917e-05/0.1146, allocations: 0 / 0.5171 GB, free: 6.371 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.801e-05/0.1146, allocations: 7.875 kB / 0.5171 GB, free: 6.363 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.228e-05/0.1147, allocations: 0 / 0.5171 GB, free: 6.363 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005247/0.1152, allocations: 151.5 kB / 0.5172 GB, free: 6.215 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.802e-05/0.1153, allocations: 23.97 kB / 0.5172 GB, free: 6.191 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.966e-05/0.1153, allocations: 4 kB / 0.5173 GB, free: 6.188 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.64e-05/0.1153, allocations: 7.938 kB / 0.5173 GB, free: 6.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.59e-05/0.1154, allocations: 15.92 kB / 0.5173 GB, free: 6.164 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.358e-06/0.1154, allocations: 4 kB / 0.5173 GB, free: 6.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002918/0.1157, allocations: 167.8 kB / 0.5174 GB, free: 5.996 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.413e-05/0.1157, allocations: 7.984 kB / 0.5174 GB, free: 5.988 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.643e-05/0.1157, allocations: 19.86 kB / 0.5175 GB, free: 5.969 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002226/0.1159, allocations: 119.7 kB / 0.5176 GB, free: 5.852 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1159, allocations: 4 kB / 0.5176 GB, free: 5.848 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1159, allocations: 0 / 0.5176 GB, free: 5.848 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.116, allocations: 0 / 0.5176 GB, free: 5.848 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.0004312/0.1164, allocations: 293.9 kB / 0.5179 GB, free: 5.531 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.1164, allocations: 12.03 kB / 0.5179 GB, free: 5.52 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.586e-05/0.1165, allocations: 42.73 kB / 0.5179 GB, free: 5.469 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.713e-05/0.1165, allocations: 4.938 kB / 0.5179 GB, free: 5.465 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.1166, allocations: 114.4 kB / 0.518 GB, free: 5.328 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.1166, allocations: 4.375 kB / 0.518 GB, free: 5.324 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/0.1167, allocations: 12.38 kB / 0.518 GB, free: 5.312 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.1168, allocations: 57.98 kB / 0.5181 GB, free: 5.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.1168, allocations: 0 / 0.5181 GB, free: 5.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.1168, allocations: 0 / 0.5181 GB, free: 5.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.1168, allocations: 0 / 0.5181 GB, free: 5.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.848e-05/0.1169, allocations: 23.98 kB / 0.5181 GB, free: 5.227 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000186/0.1171, allocations: 152.6 kB / 0.5183 GB, free: 5.035 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002063/0.1173, allocations: 50.55 kB / 0.5183 GB, free: 4.977 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.115e-05/0.1173, allocations: 32.78 kB / 0.5183 GB, free: 4.941 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002371/0.1176, allocations: 27.97 kB / 0.5184 GB, free: 4.914 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.1176, allocations: 34.78 kB / 0.5184 GB, free: 4.871 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.052e-06/0.1176, allocations: 0 / 0.5184 GB, free: 4.871 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.1345/0.2521, allocations: 6.377 MB / 0.5246 GB, free: 14.45 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.661e-05/0.2521, allocations: 59.34 kB / 0.5247 GB, free: 14.38 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.2522, allocations: 101.9 kB / 0.5248 GB, free: 14.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.827e-05/0.2523, allocations: 25.7 kB / 0.5248 GB, free: 14.24 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.11e-05/0.2523, allocations: 88.12 kB / 0.5249 GB, free: 14.15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.2524, allocations: 67.42 kB / 0.525 GB, free: 14.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001737/0.2526, allocations: 85.59 kB / 0.525 GB, free: 14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.2528, allocations: 326.8 kB / 0.5254 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005745/0.2534, allocations: 227.8 kB / 0.5256 GB, free: 13.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005475/0.2539, allocations: 231.2 kB / 0.5258 GB, free: 13.22 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002061/0.256, allocations: 0.5591 MB / 0.5263 GB, free: 12.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.256, allocations: 0 / 0.5263 GB, free: 12.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001885/0.2579, allocations: 0.6104 MB / 0.5269 GB, free: 12.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.2579, allocations: 8 kB / 0.5269 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.2579, allocations: 0 / 0.5269 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.2579, allocations: 3.984 kB / 0.5269 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006646/0.2586, allocations: 103.8 kB / 0.527 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.2586, allocations: 3.984 kB / 0.527 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004366/0.259, allocations: 23.97 kB / 0.5271 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.957e-05/0.2591, allocations: 31.94 kB / 0.5271 GB, free: 11.87 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.0001615/0.2593, allocations: 129.7 kB / 0.5272 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.431e-05/0.2593, allocations: 7.953 kB / 0.5272 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002196/0.2615, allocations: 0.7235 MB / 0.5279 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.2615, allocations: 0 / 0.5279 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.2615, allocations: 8 kB / 0.5279 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.513e-06/0.2615, allocations: 3.984 kB / 0.528 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00423/0.2658, allocations: 1.13 MB / 0.5291 GB, free: 9.793 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.2658, allocations: 7.969 kB / 0.5291 GB, free: 9.785 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005575/0.2663, allocations: 99.84 kB / 0.5292 GB, free: 9.688 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.2663, allocations: 256 / 0.5292 GB, free: 9.688 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.298e-05/0.2664, allocations: 31.95 kB / 0.5292 GB, free: 9.656 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.572e-06/0.2664, allocations: 11.88 kB / 0.5292 GB, free: 9.645 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.2664, allocations: 7.938 kB / 0.5292 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001757/0.2681, allocations: 0.5821 MB / 0.5298 GB, free: 9.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.142e-05/0.2682, allocations: 7.953 kB / 0.5298 GB, free: 9.012 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.705e-05/0.2682, allocations: 7.984 kB / 0.5298 GB, free: 9.004 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004186/0.2686, allocations: 27.95 kB / 0.5298 GB, free: 8.977 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.701e-05/0.2687, allocations: 15.92 kB / 0.5298 GB, free: 8.961 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.993e-05/0.2687, allocations: 27.95 kB / 0.5299 GB, free: 8.934 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.911e-05/0.2688, allocations: 87.22 kB / 0.5299 GB, free: 8.848 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2688, allocations: 0 / 0.5299 GB, free: 8.848 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001701/0.2705, allocations: 0.6519 MB / 0.5306 GB, free: 8.195 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.005245/0.2757, allocations: 1.295 MB / 0.5318 GB, free: 6.852 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001246/0.277, allocations: 447.5 kB / 0.5323 GB, free: 6.414 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.277, allocations: 0 / 0.5323 GB, free: 6.414 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005358/0.2775, allocations: 200.1 kB / 0.5325 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.0003084/0.2778, allocations: 15.44 kB / 0.5325 GB, free: 6.207 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00329/0.2811, allocations: 0.6124 MB / 0.5331 GB, free: 5.535 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.2815, allocations: 0.7004 MB / 0.5338 GB, free: 4.805 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004333/0.2819, allocations: 117 kB / 0.5339 GB, free: 4.688 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003298/0.2822, allocations: 103.3 kB / 0.534 GB, free: 4.586 MB / 414.1 MB Notification: Performance of SimCode: time 1.062e-06/0.2822, allocations: 0 / 0.534 GB, free: 4.586 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2764/0.5586, allocations: 58.9 MB / 0.5915 GB, free: 10.52 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/12, allocations: 7 kB / 0.5915 GB, free: 10.51 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: 14.817345246206969]