Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001724/0.001724, allocations: 120 kB / 18.49 MB, free: 4.562 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.002087/0.002087, allocations: 215.1 kB / 21.45 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.482/1.482, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2523/0.2523, allocations: 44.91 MB / 355.8 MB, free: 12.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002064/0.002064, allocations: 71.89 kB / 0.4885 GB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1221, allocations: 65.41 MB / 0.5524 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001926/0.124, allocations: 0.552 MB / 0.553 GB, free: 9.605 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009213/0.1249, allocations: 411.2 kB / 0.5533 GB, free: 9.199 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.656e-05/0.125, allocations: 0 / 0.5533 GB, free: 9.199 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 2.158e-05/0.125, allocations: 7.938 kB / 0.5534 GB, free: 9.191 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 2.493e-05/0.125, allocations: 0 / 0.5534 GB, free: 9.191 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005942/0.1256, allocations: 143.8 kB / 0.5535 GB, free: 9.051 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 7.736e-05/0.1257, allocations: 31.92 kB / 0.5535 GB, free: 9.02 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.823e-05/0.1257, allocations: 0 / 0.5535 GB, free: 9.02 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.269e-05/0.1258, allocations: 15.98 kB / 0.5535 GB, free: 9.004 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.71e-05/0.1258, allocations: 19.86 kB / 0.5536 GB, free: 8.984 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.1259, allocations: 4 kB / 0.5536 GB, free: 8.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003113/0.1262, allocations: 171.8 kB / 0.5537 GB, free: 8.812 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.605e-05/0.1262, allocations: 3.984 kB / 0.5537 GB, free: 8.809 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.297e-05/0.1262, allocations: 23.81 kB / 0.5538 GB, free: 8.785 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002569/0.1265, allocations: 131.6 kB / 0.5539 GB, free: 8.656 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1265, allocations: 0 / 0.5539 GB, free: 8.656 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1265, allocations: 0 / 0.5539 GB, free: 8.656 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.1265, allocations: 0 / 0.5539 GB, free: 8.656 MB / 414.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.0005051/0.127, allocations: 367.1 kB / 0.5542 GB, free: 8.25 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.127, allocations: 8.031 kB / 0.5542 GB, free: 8.242 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.236e-05/0.1271, allocations: 8.188 kB / 0.5542 GB, free: 8.234 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.987e-05/0.1271, allocations: 38.73 kB / 0.5543 GB, free: 8.188 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.229e-05/0.1271, allocations: 8.891 kB / 0.5543 GB, free: 8.18 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.1273, allocations: 164.3 kB / 0.5544 GB, free: 7.98 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.1273, allocations: 4.375 kB / 0.5544 GB, free: 7.977 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.256e-05/0.1273, allocations: 12.31 kB / 0.5545 GB, free: 7.965 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.1275, allocations: 61.8 kB / 0.5545 GB, free: 7.898 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.1275, allocations: 3.984 kB / 0.5545 GB, free: 7.895 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.1275, allocations: 8 kB / 0.5545 GB, free: 7.887 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.1275, allocations: 3.938 kB / 0.5545 GB, free: 7.883 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.1276, allocations: 43.95 kB / 0.5546 GB, free: 7.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002099/0.1278, allocations: 173.6 kB / 0.5547 GB, free: 7.621 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.128, allocations: 78.48 kB / 0.5548 GB, free: 7.535 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.013e-05/0.128, allocations: 28.84 kB / 0.5548 GB, free: 7.504 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003119/0.1284, allocations: 101.1 kB / 0.5549 GB, free: 7.387 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.087e-05/0.1284, allocations: 42.5 kB / 0.555 GB, free: 7.336 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 6.392e-06/0.1284, allocations: 3.984 kB / 0.555 GB, free: 7.332 MB / 414.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.1325/0.2609, allocations: 5.609 MB / 0.5605 GB, free: 1.691 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.423e-05/0.261, allocations: 67.27 kB / 0.5605 GB, free: 1.613 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.892e-05/0.2611, allocations: 93.8 kB / 0.5606 GB, free: 1.512 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/0.2611, allocations: 25.7 kB / 0.5606 GB, free: 1.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.669e-05/0.2612, allocations: 92.44 kB / 0.5607 GB, free: 1.383 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.2613, allocations: 79.28 kB / 0.5608 GB, free: 1.305 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.2614, allocations: 57.67 kB / 0.5609 GB, free: 1.242 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.2616, allocations: 318.8 kB / 0.5612 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000388/0.2619, allocations: 116 kB / 0.5613 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000387/0.2623, allocations: 111.9 kB / 0.5614 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001543/0.2639, allocations: 324.5 kB / 0.5617 GB, free: 388 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2639, allocations: 0 / 0.5617 GB, free: 388 kB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001342/0.2652, allocations: 360.1 kB / 0.562 GB, free: 24 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.2652, allocations: 4 kB / 0.562 GB, free: 20 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.2652, allocations: 0 / 0.562 GB, free: 20 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.2653, allocations: 4 kB / 0.562 GB, free: 16 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004191/0.2657, allocations: 79.86 kB / 0.5621 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.2657, allocations: 0 / 0.5621 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000207/0.2659, allocations: 31.89 kB / 0.5621 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.423e-05/0.2659, allocations: 15.98 kB / 0.5622 GB, free: 15.89 MB / 430.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.0001446/0.2661, allocations: 124 kB / 0.5623 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.105e-05/0.2661, allocations: 7.953 kB / 0.5623 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001549/0.2677, allocations: 433.7 kB / 0.5627 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.2677, allocations: 4 kB / 0.5627 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.2677, allocations: 0 / 0.5627 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.2677, allocations: 3.938 kB / 0.5627 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002518/0.2702, allocations: 0.7858 MB / 0.5635 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.2702, allocations: 0 / 0.5635 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002995/0.2705, allocations: 75.88 kB / 0.5636 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.806e-06/0.2705, allocations: 4 kB / 0.5636 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.058e-05/0.2705, allocations: 15.98 kB / 0.5636 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.2705, allocations: 4.062 kB / 0.5636 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.2705, allocations: 0 / 0.5636 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001302/0.2718, allocations: 438 kB / 0.564 GB, free: 13.92 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.714e-05/0.2719, allocations: 89 kB / 0.5641 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.315e-05/0.2719, allocations: 8 kB / 0.5641 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002103/0.2721, allocations: 23.95 kB / 0.5641 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.187e-05/0.2722, allocations: 19.98 kB / 0.5641 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.31e-05/0.2722, allocations: 15.98 kB / 0.5641 GB, free: 13.75 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.481e-05/0.2723, allocations: 75.28 kB / 0.5642 GB, free: 13.68 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2723, allocations: 0 / 0.5642 GB, free: 13.68 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001908/0.2742, allocations: 0.6284 MB / 0.5648 GB, free: 13.05 MB / 430.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.005244/0.2794, allocations: 1.139 MB / 0.5659 GB, free: 11.88 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001046/0.2805, allocations: 255.5 kB / 0.5662 GB, free: 11.62 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.2805, allocations: 4 kB / 0.5662 GB, free: 11.62 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000413/0.2809, allocations: 127.8 kB / 0.5663 GB, free: 11.5 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.2812, allocations: 14.23 kB / 0.5663 GB, free: 11.48 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00218/0.2834, allocations: 420.6 kB / 0.5667 GB, free: 11.02 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003798/0.2838, allocations: 0.697 MB / 0.5674 GB, free: 10.29 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002625/0.284, allocations: 69.09 kB / 0.5675 GB, free: 10.23 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001785/0.2842, allocations: 63.38 kB / 0.5675 GB, free: 10.16 MB / 430.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2842, allocations: 4 kB / 0.5675 GB, free: 10.16 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4193/0.7035, allocations: 55.11 MB / 0.6214 GB, free: 22.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.709/9.412, allocations: 12.25 kB / 0.6214 GB, free: 22.2 MB / 446.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative_fmu --startTime=0 --stopTime=2 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 12.604880855011288]