Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001269/0.001269, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001497/0.001497, allocations: 204.2 kB / 23.73 MB, free: 4.379 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.377/1.377, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2197/0.2197, allocations: 46.96 MB / 360.9 MB, free: 4.062 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 67.89 kB / 0.4961 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3086, allocations: 66.03 MB / 0.5606 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001589/0.3102, allocations: 0.5266 MB / 0.5611 GB, free: 3.742 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007743/0.3109, allocations: 378.9 kB / 0.5615 GB, free: 3.367 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.524e-05/0.311, allocations: 0 / 0.5615 GB, free: 3.367 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.705e-05/0.311, allocations: 3.938 kB / 0.5615 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.001e-05/0.311, allocations: 0 / 0.5615 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004786/0.3115, allocations: 147.4 kB / 0.5616 GB, free: 3.223 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.021e-05/0.3115, allocations: 27.91 kB / 0.5616 GB, free: 3.195 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.402e-05/0.3116, allocations: 8 kB / 0.5616 GB, free: 3.188 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.529e-05/0.3116, allocations: 19.88 kB / 0.5617 GB, free: 3.168 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.425e-05/0.3117, allocations: 23.91 kB / 0.5617 GB, free: 3.145 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.828e-06/0.3117, allocations: 0 / 0.5617 GB, free: 3.145 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002512/0.3119, allocations: 139.8 kB / 0.5618 GB, free: 3.008 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.701e-05/0.3119, allocations: 8 kB / 0.5618 GB, free: 3 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.969e-05/0.312, allocations: 23.84 kB / 0.5618 GB, free: 2.977 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001963/0.3122, allocations: 121.7 kB / 0.562 GB, free: 2.859 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3122, allocations: 0 / 0.562 GB, free: 2.859 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3122, allocations: 0 / 0.562 GB, free: 2.859 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.3122, allocations: 0 / 0.562 GB, free: 2.859 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.0003821/0.3126, allocations: 298 kB / 0.5622 GB, free: 2.539 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.3126, allocations: 8.031 kB / 0.5622 GB, free: 2.531 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.686e-05/0.3126, allocations: 42.73 kB / 0.5623 GB, free: 2.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.773e-05/0.3127, allocations: 4.891 kB / 0.5623 GB, free: 2.477 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.821e-05/0.3128, allocations: 110.5 kB / 0.5624 GB, free: 2.344 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.3128, allocations: 8.375 kB / 0.5624 GB, free: 2.336 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.193e-05/0.3128, allocations: 4.375 kB / 0.5624 GB, free: 2.332 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.3129, allocations: 70.61 kB / 0.5625 GB, free: 2.258 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.313, allocations: 3.984 kB / 0.5625 GB, free: 2.254 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.313, allocations: 3.938 kB / 0.5625 GB, free: 2.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.313, allocations: 4 kB / 0.5625 GB, free: 2.246 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.329e-05/0.3131, allocations: 47.91 kB / 0.5625 GB, free: 2.199 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001922/0.3133, allocations: 144.6 kB / 0.5627 GB, free: 2.016 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.3134, allocations: 78.48 kB / 0.5627 GB, free: 1.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.775e-05/0.3134, allocations: 31.97 kB / 0.5628 GB, free: 1.898 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002269/0.3137, allocations: 23.97 kB / 0.5628 GB, free: 1.875 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.01e-05/0.3137, allocations: 38.5 kB / 0.5628 GB, free: 1.828 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.3137, allocations: 0 / 0.5628 GB, free: 1.828 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.1355/0.4492, allocations: 5.618 MB / 0.5683 GB, free: 12.17 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.592e-05/0.4492, allocations: 59.34 kB / 0.5684 GB, free: 12.1 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.231e-05/0.4493, allocations: 93.84 kB / 0.5685 GB, free: 12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.542e-05/0.4493, allocations: 29.7 kB / 0.5685 GB, free: 11.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.459e-05/0.4494, allocations: 84.64 kB / 0.5686 GB, free: 11.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.416e-05/0.4495, allocations: 75.34 kB / 0.5687 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.4496, allocations: 57.67 kB / 0.5687 GB, free: 11.74 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.4497, allocations: 330.8 kB / 0.569 GB, free: 11.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003391/0.4501, allocations: 107.9 kB / 0.5691 GB, free: 11.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003444/0.4504, allocations: 123.5 kB / 0.5692 GB, free: 11.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001437/0.4518, allocations: 320.6 kB / 0.5695 GB, free: 10.87 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.4518, allocations: 3.938 kB / 0.5696 GB, free: 10.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001234/0.4531, allocations: 360 kB / 0.5699 GB, free: 10.51 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.4531, allocations: 4 kB / 0.5699 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.4531, allocations: 0 / 0.5699 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.4531, allocations: 4 kB / 0.5699 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004143/0.4535, allocations: 75.92 kB / 0.57 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.4535, allocations: 4 kB / 0.57 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002123/0.4538, allocations: 27.89 kB / 0.57 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.401e-05/0.4538, allocations: 19.98 kB / 0.57 GB, free: 10.38 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.0002134/0.454, allocations: 117.8 kB / 0.5701 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.824e-05/0.454, allocations: 11.95 kB / 0.5702 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001512/0.4556, allocations: 425.9 kB / 0.5706 GB, free: 9.809 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.4556, allocations: 3.984 kB / 0.5706 GB, free: 9.805 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.4556, allocations: 8 kB / 0.5706 GB, free: 9.797 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.79e-06/0.4556, allocations: 3.938 kB / 0.5706 GB, free: 9.793 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002285/0.4579, allocations: 0.7396 MB / 0.5713 GB, free: 9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.4579, allocations: 0 / 0.5713 GB, free: 9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002943/0.4582, allocations: 71.92 kB / 0.5714 GB, free: 8.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.4582, allocations: 4 kB / 0.5714 GB, free: 8.926 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.974e-05/0.4582, allocations: 15.98 kB / 0.5714 GB, free: 8.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.4582, allocations: 4.062 kB / 0.5714 GB, free: 8.906 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.4582, allocations: 4 kB / 0.5714 GB, free: 8.902 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.4594, allocations: 424.7 kB / 0.5718 GB, free: 8.465 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.539e-05/0.4594, allocations: 11.95 kB / 0.5718 GB, free: 8.453 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.935e-05/0.4595, allocations: 0 / 0.5718 GB, free: 8.453 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000194/0.4597, allocations: 27.97 kB / 0.5718 GB, free: 8.426 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.355e-05/0.4597, allocations: 15.91 kB / 0.5718 GB, free: 8.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.258e-05/0.4597, allocations: 19.98 kB / 0.5719 GB, free: 8.391 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.702e-05/0.4598, allocations: 75.28 kB / 0.5719 GB, free: 8.316 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4598, allocations: 0 / 0.5719 GB, free: 8.316 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001708/0.4615, allocations: 0.6362 MB / 0.5726 GB, free: 7.68 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.004534/0.466, allocations: 1.145 MB / 0.5737 GB, free: 6.504 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007688/0.4668, allocations: 255.5 kB / 0.5739 GB, free: 6.254 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.4668, allocations: 0 / 0.5739 GB, free: 6.254 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003522/0.4671, allocations: 131.8 kB / 0.574 GB, free: 6.125 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/0.4674, allocations: 10.81 kB / 0.5741 GB, free: 6.117 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001763/0.4691, allocations: 424.7 kB / 0.5745 GB, free: 5.652 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.216e-05/0.4692, allocations: 83.98 kB / 0.5745 GB, free: 5.547 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002386/0.4695, allocations: 77.08 kB / 0.5746 GB, free: 5.473 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/0.4696, allocations: 55.39 kB / 0.5747 GB, free: 5.418 MB / 414.1 MB Notification: Performance of SimCode: time 6.32e-07/0.4696, allocations: 0 / 0.5747 GB, free: 5.418 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1024/0.572, allocations: 55.89 MB / 0.6292 GB, free: 13.61 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.43, allocations: 22.39 kB / 0.6293 GB, free: 13.59 MB / 478.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative_fmu --startTime=0 --stopTime=2 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 14.26601498099626]