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.001303/0.001303, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001363/0.001363, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.405/1.405, allocations: 230.6 MB / 258.3 MB, free: 8.004 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.2199/0.2199, allocations: 44.91 MB / 359.6 MB, free: 6.285 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.0021/0.0021, allocations: 63.91 kB / 0.4938 GB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3662, allocations: 65.47 MB / 0.5578 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001768/0.368, allocations: 0.536 MB / 0.5583 GB, free: 7.129 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009661/0.369, allocations: 421.3 kB / 0.5587 GB, free: 6.805 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.559e-05/0.369, allocations: 0 / 0.5587 GB, free: 6.805 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.716e-05/0.369, allocations: 0 / 0.5587 GB, free: 6.805 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.051e-05/0.369, allocations: 8.969 kB / 0.5587 GB, free: 6.797 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005037/0.3695, allocations: 142.9 kB / 0.5589 GB, free: 6.688 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.995e-05/0.3696, allocations: 31.91 kB / 0.5589 GB, free: 6.656 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.499e-05/0.3697, allocations: 0 / 0.5589 GB, free: 6.656 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.955e-05/0.3697, allocations: 19.92 kB / 0.5589 GB, free: 6.637 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.945e-05/0.3697, allocations: 23.86 kB / 0.5589 GB, free: 6.613 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.08e-05/0.3697, allocations: 0 / 0.5589 GB, free: 6.613 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002941/0.37, allocations: 163.8 kB / 0.5591 GB, free: 6.453 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.033e-05/0.3701, allocations: 4 kB / 0.5591 GB, free: 6.449 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.613e-05/0.3701, allocations: 27.84 kB / 0.5591 GB, free: 6.422 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002268/0.3703, allocations: 121.7 kB / 0.5592 GB, free: 6.305 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.3703, allocations: 0 / 0.5592 GB, free: 6.305 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3703, allocations: 0 / 0.5592 GB, free: 6.305 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.3703, allocations: 0 / 0.5592 GB, free: 6.305 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.0004531/0.3708, allocations: 301.9 kB / 0.5595 GB, free: 5.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.3708, allocations: 8.031 kB / 0.5595 GB, free: 5.973 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.558e-05/0.3708, allocations: 4.188 kB / 0.5595 GB, free: 5.969 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.139e-05/0.3709, allocations: 42.73 kB / 0.5596 GB, free: 5.918 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.32e-05/0.3709, allocations: 8.891 kB / 0.5596 GB, free: 5.91 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.371, allocations: 102.5 kB / 0.5597 GB, free: 5.785 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.371, allocations: 12.31 kB / 0.5597 GB, free: 5.773 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.688e-05/0.3711, allocations: 4.375 kB / 0.5597 GB, free: 5.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.3712, allocations: 65.8 kB / 0.5598 GB, free: 5.699 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.3712, allocations: 7.984 kB / 0.5598 GB, free: 5.691 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.3712, allocations: 3.938 kB / 0.5598 GB, free: 5.688 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.3712, allocations: 0 / 0.5598 GB, free: 5.688 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002218/0.3715, allocations: 43.97 kB / 0.5598 GB, free: 5.645 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001951/0.3717, allocations: 152.6 kB / 0.56 GB, free: 5.453 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002477/0.3719, allocations: 78.53 kB / 0.56 GB, free: 5.367 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.34e-05/0.372, allocations: 28.84 kB / 0.5601 GB, free: 5.336 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002431/0.3722, allocations: 23.97 kB / 0.5601 GB, free: 5.312 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.3722, allocations: 42.44 kB / 0.5601 GB, free: 5.262 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.133e-06/0.3722, allocations: 0 / 0.5601 GB, free: 5.262 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.1315/0.5037, allocations: 5.614 MB / 0.5656 GB, free: 15.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.5037, allocations: 63.27 kB / 0.5657 GB, free: 15.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.272e-05/0.5038, allocations: 93.8 kB / 0.5657 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.304e-05/0.5039, allocations: 33.7 kB / 0.5658 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.873e-05/0.5039, allocations: 80.52 kB / 0.5659 GB, free: 15.31 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.404e-05/0.504, allocations: 79.33 kB / 0.5659 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.5041, allocations: 57.61 kB / 0.566 GB, free: 15.17 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.5043, allocations: 326.8 kB / 0.5663 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003699/0.5046, allocations: 116 kB / 0.5664 GB, free: 14.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003542/0.505, allocations: 115.5 kB / 0.5665 GB, free: 14.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/0.5064, allocations: 320.6 kB / 0.5668 GB, free: 14.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.5064, allocations: 0 / 0.5668 GB, free: 14.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001226/0.5077, allocations: 356 kB / 0.5672 GB, free: 13.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.5077, allocations: 4 kB / 0.5672 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.5077, allocations: 3.984 kB / 0.5672 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.5077, allocations: 4 kB / 0.5672 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003978/0.5081, allocations: 79.92 kB / 0.5673 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.5081, allocations: 4 kB / 0.5673 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002003/0.5083, allocations: 23.91 kB / 0.5673 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.809e-05/0.5083, allocations: 23.97 kB / 0.5673 GB, free: 13.81 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.0001195/0.5085, allocations: 121.8 kB / 0.5674 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.198e-05/0.5085, allocations: 11.95 kB / 0.5674 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001434/0.5099, allocations: 429.8 kB / 0.5678 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.5099, allocations: 4 kB / 0.5678 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.51, allocations: 0 / 0.5678 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.51, allocations: 3.938 kB / 0.5678 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00229/0.5122, allocations: 0.7499 MB / 0.5686 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.5123, allocations: 4 kB / 0.5686 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000297/0.5125, allocations: 75.92 kB / 0.5687 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.5126, allocations: 3.938 kB / 0.5687 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.676e-05/0.5126, allocations: 11.98 kB / 0.5687 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/0.5126, allocations: 7.938 kB / 0.5687 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.5126, allocations: 4.062 kB / 0.5687 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001206/0.5138, allocations: 420.8 kB / 0.5691 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.23e-05/0.5138, allocations: 7.953 kB / 0.5691 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.383e-05/0.5138, allocations: 7.984 kB / 0.5691 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001973/0.514, allocations: 27.97 kB / 0.5691 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.109e-05/0.5141, allocations: 11.97 kB / 0.5691 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-05/0.5141, allocations: 20 kB / 0.5692 GB, free: 11.81 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.387e-05/0.5141, allocations: 83.2 kB / 0.5692 GB, free: 11.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5141, allocations: 0 / 0.5692 GB, free: 11.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001728/0.5159, allocations: 0.6246 MB / 0.5698 GB, free: 11.1 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.00467/0.5205, allocations: 1.139 MB / 0.571 GB, free: 9.934 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008399/0.5214, allocations: 263.5 kB / 0.5712 GB, free: 9.676 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5214, allocations: 0 / 0.5712 GB, free: 9.676 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003752/0.5218, allocations: 131.8 kB / 0.5713 GB, free: 9.547 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.522, allocations: 14.59 kB / 0.5713 GB, free: 9.535 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/0.5238, allocations: 424.6 kB / 0.5718 GB, free: 9.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/0.5242, allocations: 0.7009 MB / 0.5724 GB, free: 8.34 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002426/0.5244, allocations: 77.08 kB / 0.5725 GB, free: 8.266 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001674/0.5246, allocations: 59.38 kB / 0.5726 GB, free: 8.207 MB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.5246, allocations: 0 / 0.5726 GB, free: 8.207 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09272/0.6173, allocations: 55.32 MB / 0.6266 GB, free: 0.9727 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/12.11, allocations: 8.062 kB / 0.6266 GB, free: 0.9648 MB / 462.1 MB " [Timeout remaining time 648] (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: 15.110000113025308]