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.001275/0.001275, 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.001486/0.001486, allocations: 214.1 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.397/1.397, allocations: 207.7 MB / 233.8 MB, free: 9.801 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.2233/0.2233, allocations: 44.27 MB / 330.3 MB, free: 9.309 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.002402/0.002402, allocations: 71.89 kB / 467.5 MB, free: 4.355 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1207, allocations: 61.04 MB / 0.5161 GB, free: 7.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.002177/0.1229, allocations: 0.5376 MB / 0.5167 GB, free: 6.648 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001046/0.1239, allocations: 373 kB / 0.517 GB, free: 6.281 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.435e-05/0.1239, allocations: 0 / 0.517 GB, free: 6.281 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.308e-05/0.124, allocations: 3.938 kB / 0.517 GB, free: 6.277 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.572e-05/0.124, allocations: 0 / 0.517 GB, free: 6.277 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006437/0.1246, allocations: 155.5 kB / 0.5172 GB, free: 6.125 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.588e-05/0.1247, allocations: 23.98 kB / 0.5172 GB, free: 6.102 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.652e-05/0.1248, allocations: 8 kB / 0.5172 GB, free: 6.094 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.103e-05/0.1248, allocations: 11.94 kB / 0.5172 GB, free: 6.082 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.324e-05/0.1249, allocations: 19.91 kB / 0.5172 GB, free: 6.062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.1249, allocations: 4 kB / 0.5172 GB, free: 6.059 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003181/0.1252, allocations: 139.8 kB / 0.5174 GB, free: 5.922 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.751e-05/0.1252, allocations: 7.984 kB / 0.5174 GB, free: 5.914 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.514e-05/0.1253, allocations: 19.92 kB / 0.5174 GB, free: 5.895 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002839/0.1256, allocations: 123.6 kB / 0.5175 GB, free: 5.773 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.1256, allocations: 0 / 0.5175 GB, free: 5.773 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1256, allocations: 0 / 0.5175 GB, free: 5.773 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.1256, allocations: 3.938 kB / 0.5175 GB, free: 5.77 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.000514/0.1261, allocations: 294 kB / 0.5178 GB, free: 5.453 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.1261, allocations: 15.97 kB / 0.5178 GB, free: 5.438 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.883e-05/0.1262, allocations: 34.73 kB / 0.5179 GB, free: 5.395 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.094e-05/0.1262, allocations: 8.891 kB / 0.5179 GB, free: 5.387 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.1264, allocations: 110.5 kB / 0.518 GB, free: 5.254 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.1264, allocations: 8.375 kB / 0.518 GB, free: 5.246 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.415e-05/0.1264, allocations: 8.375 kB / 0.518 GB, free: 5.238 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.1266, allocations: 61.98 kB / 0.518 GB, free: 5.172 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.435e-05/0.1266, allocations: 11.94 kB / 0.5181 GB, free: 5.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.1266, allocations: 3.938 kB / 0.5181 GB, free: 5.156 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.1267, allocations: 0 / 0.5181 GB, free: 5.156 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.1268, allocations: 39.97 kB / 0.5181 GB, free: 5.117 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002431/0.127, allocations: 144.8 kB / 0.5182 GB, free: 4.934 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001558/0.1272, allocations: 82.48 kB / 0.5183 GB, free: 4.844 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.712e-05/0.1272, allocations: 32.83 kB / 0.5183 GB, free: 4.809 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002412/0.1275, allocations: 27.97 kB / 0.5184 GB, free: 4.781 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.469e-05/0.1275, allocations: 42.44 kB / 0.5184 GB, free: 4.73 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.333e-06/0.1275, allocations: 0 / 0.5184 GB, free: 4.73 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.1303/0.2578, allocations: 5.623 MB / 0.5239 GB, free: 15.06 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.2578, allocations: 51.41 kB / 0.524 GB, free: 15 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.382e-05/0.2579, allocations: 97.84 kB / 0.524 GB, free: 14.89 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.247e-05/0.258, allocations: 29.7 kB / 0.5241 GB, free: 14.86 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.913e-05/0.258, allocations: 80.52 kB / 0.5241 GB, free: 14.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.992e-05/0.2581, allocations: 79.28 kB / 0.5242 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.2582, allocations: 61.67 kB / 0.5243 GB, free: 14.63 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.2584, allocations: 322.8 kB / 0.5246 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003583/0.2587, allocations: 116 kB / 0.5247 GB, free: 14.19 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003709/0.2591, allocations: 115.8 kB / 0.5248 GB, free: 14.08 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001383/0.2605, allocations: 316.6 kB / 0.5251 GB, free: 13.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.2605, allocations: 0 / 0.5251 GB, free: 13.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001196/0.2617, allocations: 369.6 kB / 0.5255 GB, free: 13.4 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.2617, allocations: 4 kB / 0.5255 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.2617, allocations: 0 / 0.5255 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.2617, allocations: 0 / 0.5255 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003793/0.2621, allocations: 79.92 kB / 0.5255 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.2621, allocations: 0 / 0.5255 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001863/0.2623, allocations: 31.89 kB / 0.5256 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.451e-05/0.2623, allocations: 15.98 kB / 0.5256 GB, free: 13.27 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.0001286/0.2625, allocations: 121.8 kB / 0.5257 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.701e-05/0.2625, allocations: 7.953 kB / 0.5257 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001435/0.2639, allocations: 437.8 kB / 0.5261 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.2639, allocations: 0 / 0.5261 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.2639, allocations: 0 / 0.5261 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.2639, allocations: 7.938 kB / 0.5261 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002279/0.2662, allocations: 0.7251 MB / 0.5268 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.2662, allocations: 0 / 0.5268 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002912/0.2665, allocations: 75.98 kB / 0.5269 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.491e-05/0.2665, allocations: 7.938 kB / 0.5269 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.959e-05/0.2666, allocations: 15.98 kB / 0.5269 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.2666, allocations: 7.938 kB / 0.527 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.2666, allocations: 0 / 0.527 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001232/0.2678, allocations: 428.8 kB / 0.5274 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.531e-05/0.2678, allocations: 7.953 kB / 0.5274 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.375e-05/0.2678, allocations: 4 kB / 0.5274 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.268, allocations: 19.97 kB / 0.5274 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.834e-05/0.2681, allocations: 19.97 kB / 0.5274 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.88e-05/0.2681, allocations: 19.98 kB / 0.5274 GB, free: 11.29 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.355e-05/0.2681, allocations: 79.22 kB / 0.5275 GB, free: 11.21 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2681, allocations: 0 / 0.5275 GB, free: 11.21 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001597/0.2697, allocations: 0.6324 MB / 0.5281 GB, free: 10.58 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.004868/0.2746, allocations: 1.143 MB / 0.5292 GB, free: 9.402 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008344/0.2754, allocations: 251.7 kB / 0.5295 GB, free: 9.156 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.2754, allocations: 0 / 0.5295 GB, free: 9.156 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003624/0.2758, allocations: 123.8 kB / 0.5296 GB, free: 9.035 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000247/0.276, allocations: 12.12 kB / 0.5296 GB, free: 9.023 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/0.2778, allocations: 440.3 kB / 0.53 GB, free: 8.543 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.367e-05/0.2779, allocations: 88.3 kB / 0.5301 GB, free: 8.434 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002585/0.2782, allocations: 73.08 kB / 0.5302 GB, free: 8.363 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001537/0.2783, allocations: 55.39 kB / 0.5302 GB, free: 8.309 MB / 414.1 MB Notification: Performance of SimCode: time 1.362e-06/0.2783, allocations: 4 kB / 0.5302 GB, free: 8.305 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3289/0.6072, allocations: 55.83 MB / 0.5848 GB, free: 1.117 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.56, allocations: 10.86 kB / 0.5848 GB, free: 1.109 MB / 414.1 MB " [Timeout remaining time 647] (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: 18.16653089923784]