Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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.001626/0.001626, allocations: 114.5 kB / 19.69 MB, free: 2.188 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.00201/0.00201, allocations: 216 kB / 23 MB, free: 5.004 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.37/1.37, allocations: 207.6 MB / 233.8 MB, free: 10 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.2126/0.2126, allocations: 44.24 MB / 330.3 MB, free: 9.527 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.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",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.002411/0.002411, allocations: 70.5 kB / 467.5 MB, free: 4.523 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1134, allocations: 61.05 MB / 0.5161 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001697/0.1151, allocations: 0.5337 MB / 0.5167 GB, free: 6.801 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007971/0.1159, allocations: 416.8 kB / 0.5171 GB, free: 6.391 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.778e-05/0.116, allocations: 0 / 0.5171 GB, free: 6.391 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.557e-05/0.116, allocations: 3.938 kB / 0.5171 GB, free: 6.387 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.709e-05/0.116, allocations: 0 / 0.5171 GB, free: 6.387 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005059/0.1165, allocations: 151.5 kB / 0.5172 GB, free: 6.238 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.196e-05/0.1166, allocations: 27.92 kB / 0.5172 GB, free: 6.211 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.714e-05/0.1166, allocations: 8 kB / 0.5172 GB, free: 6.203 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.697e-05/0.1167, allocations: 19.86 kB / 0.5173 GB, free: 6.184 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.119e-05/0.1167, allocations: 27.91 kB / 0.5173 GB, free: 6.156 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.928e-06/0.1167, allocations: 0 / 0.5173 GB, free: 6.156 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002843/0.117, allocations: 163.8 kB / 0.5174 GB, free: 5.996 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.7e-05/0.117, allocations: 11.98 kB / 0.5175 GB, free: 5.984 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.461e-05/0.1171, allocations: 19.86 kB / 0.5175 GB, free: 5.965 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002161/0.1173, allocations: 123.6 kB / 0.5176 GB, free: 5.844 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1173, allocations: 4 kB / 0.5176 GB, free: 5.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1173, allocations: 0 / 0.5176 GB, free: 5.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.1173, allocations: 0 / 0.5176 GB, free: 5.84 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003961/0.1177, allocations: 290 kB / 0.5179 GB, free: 5.527 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.1177, allocations: 12.03 kB / 0.5179 GB, free: 5.516 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.445e-05/0.1178, allocations: 42.69 kB / 0.5179 GB, free: 5.465 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.812e-05/0.1178, allocations: 8.891 kB / 0.5179 GB, free: 5.457 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.1179, allocations: 114.4 kB / 0.518 GB, free: 5.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.1179, allocations: 384 / 0.518 GB, free: 5.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.693e-05/0.1179, allocations: 12.36 kB / 0.5181 GB, free: 5.309 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.1181, allocations: 65.98 kB / 0.5181 GB, free: 5.238 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.1181, allocations: 3.953 kB / 0.5181 GB, free: 5.234 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.1181, allocations: 4 kB / 0.5181 GB, free: 5.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.1181, allocations: 8 kB / 0.5181 GB, free: 5.223 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.259e-05/0.1182, allocations: 39.95 kB / 0.5182 GB, free: 5.184 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001879/0.1184, allocations: 144.7 kB / 0.5183 GB, free: 5 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.1185, allocations: 82.61 kB / 0.5184 GB, free: 4.91 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.525e-05/0.1186, allocations: 24.84 kB / 0.5184 GB, free: 4.883 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002305/0.1188, allocations: 31.95 kB / 0.5184 GB, free: 4.852 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.1188, allocations: 38.5 kB / 0.5185 GB, free: 4.805 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.183e-06/0.1188, allocations: 4 kB / 0.5185 GB, free: 4.801 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: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.1249/0.2437, allocations: 5.616 MB / 0.524 GB, free: 15.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.019e-05/0.2437, allocations: 55.39 kB / 0.524 GB, free: 15.08 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.089e-05/0.2438, allocations: 93.86 kB / 0.5241 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.788e-05/0.2439, allocations: 29.7 kB / 0.5241 GB, free: 14.94 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.906e-05/0.2439, allocations: 80.52 kB / 0.5242 GB, free: 14.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.293e-05/0.244, allocations: 75.28 kB / 0.5243 GB, free: 14.78 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.2441, allocations: 61.67 kB / 0.5244 GB, free: 14.71 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.2442, allocations: 326.9 kB / 0.5247 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003595/0.2446, allocations: 115.9 kB / 0.5248 GB, free: 14.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003342/0.2449, allocations: 119.7 kB / 0.5249 GB, free: 14.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001367/0.2463, allocations: 320.6 kB / 0.5252 GB, free: 13.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2463, allocations: 0 / 0.5252 GB, free: 13.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001168/0.2475, allocations: 357.7 kB / 0.5255 GB, free: 13.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.2475, allocations: 8 kB / 0.5255 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.2475, allocations: 0 / 0.5255 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.2475, allocations: 4 kB / 0.5255 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003815/0.2479, allocations: 83.84 kB / 0.5256 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.2479, allocations: 0 / 0.5256 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001969/0.2481, allocations: 31.84 kB / 0.5257 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.093e-05/0.2481, allocations: 15.98 kB / 0.5257 GB, free: 13.34 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 (23): * Single equations (assignments): 23 * 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.0001212/0.2482, allocations: 125.8 kB / 0.5258 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.656e-05/0.2483, allocations: 7.953 kB / 0.5258 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00135/0.2496, allocations: 429.8 kB / 0.5262 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.2496, allocations: 4 kB / 0.5262 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.2496, allocations: 0 / 0.5262 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.2497, allocations: 7.922 kB / 0.5262 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002212/0.2519, allocations: 0.7446 MB / 0.5269 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.2519, allocations: 0 / 0.5269 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002867/0.2522, allocations: 75.86 kB / 0.527 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.2522, allocations: 4 kB / 0.527 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.877e-05/0.2522, allocations: 11.98 kB / 0.527 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/0.2522, allocations: 12.06 kB / 0.527 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2522, allocations: 0 / 0.527 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/0.2534, allocations: 428.7 kB / 0.5275 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.642e-05/0.2534, allocations: 7.953 kB / 0.5275 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.29e-05/0.2534, allocations: 8 kB / 0.5275 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001853/0.2536, allocations: 19.97 kB / 0.5275 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.619e-05/0.2536, allocations: 19.97 kB / 0.5275 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.689e-05/0.2537, allocations: 15.98 kB / 0.5275 GB, free: 11.35 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.566e-05/0.2537, allocations: 75.28 kB / 0.5276 GB, free: 11.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2537, allocations: 0 / 0.5276 GB, free: 11.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0016/0.2553, allocations: 0.6324 MB / 0.5282 GB, free: 10.64 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (23): * Single equations (assignments): 23 * 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.00456/0.2599, allocations: 1.151 MB / 0.5293 GB, free: 9.457 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007805/0.2606, allocations: 255.7 kB / 0.5296 GB, free: 9.207 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2606, allocations: 0 / 0.5296 GB, free: 9.207 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003432/0.261, allocations: 123.8 kB / 0.5297 GB, free: 9.086 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002435/0.2612, allocations: 12 kB / 0.5297 GB, free: 9.074 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/0.2629, allocations: 428.5 kB / 0.5301 GB, free: 8.605 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/0.2633, allocations: 0.7009 MB / 0.5308 GB, free: 7.875 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002243/0.2635, allocations: 73.08 kB / 0.5309 GB, free: 7.805 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001599/0.2636, allocations: 59.39 kB / 0.5309 GB, free: 7.746 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2636, allocations: 4 kB / 0.5309 GB, free: 7.742 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2694/0.5331, allocations: 55.29 MB / 0.5849 GB, free: 472 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.75, allocations: 9.469 kB / 0.5849 GB, free: 464 kB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative_fmu --startTime=0 --stopTime=2 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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.565138494828716]