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.001858/0.001858, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.00226/0.00226, allocations: 207.7 kB / 23.73 MB, free: 4.387 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.423/1.423, 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.2188/0.2188, allocations: 46.96 MB / 360.9 MB, free: 4.066 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.002063/0.002063, allocations: 67.91 kB / 0.4961 GB, free: 7.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3074, allocations: 66.03 MB / 0.5606 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.00168/0.3091, allocations: 0.5332 MB / 0.5611 GB, free: 3.754 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008137/0.3099, allocations: 374.9 kB / 0.5615 GB, free: 3.383 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.431e-05/0.31, allocations: 0 / 0.5615 GB, free: 3.383 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.239e-05/0.31, allocations: 0 / 0.5615 GB, free: 3.383 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.493e-05/0.31, allocations: 7.938 kB / 0.5615 GB, free: 3.375 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004745/0.3105, allocations: 147.4 kB / 0.5616 GB, free: 3.234 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.86e-05/0.3105, allocations: 23.92 kB / 0.5616 GB, free: 3.211 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.018e-05/0.3106, allocations: 4 kB / 0.5616 GB, free: 3.207 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.583e-05/0.3106, allocations: 19.92 kB / 0.5617 GB, free: 3.188 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.864e-05/0.3106, allocations: 15.92 kB / 0.5617 GB, free: 3.172 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.041e-05/0.3107, allocations: 0 / 0.5617 GB, free: 3.172 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002482/0.3109, allocations: 143.8 kB / 0.5618 GB, free: 3.031 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.516e-05/0.3109, allocations: 8 kB / 0.5618 GB, free: 3.023 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.518e-05/0.3109, allocations: 15.92 kB / 0.5618 GB, free: 3.008 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.3112, allocations: 129.6 kB / 0.5619 GB, free: 2.883 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3112, allocations: 0 / 0.5619 GB, free: 2.883 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3112, allocations: 0 / 0.5619 GB, free: 2.883 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.3112, allocations: 0 / 0.5619 GB, free: 2.883 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.0003849/0.3116, allocations: 294 kB / 0.5622 GB, free: 2.566 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.3116, allocations: 8.031 kB / 0.5622 GB, free: 2.559 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.239e-05/0.3116, allocations: 42.73 kB / 0.5623 GB, free: 2.508 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.662e-05/0.3117, allocations: 4.891 kB / 0.5623 GB, free: 2.504 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.3118, allocations: 114.5 kB / 0.5624 GB, free: 2.367 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.3118, allocations: 4.375 kB / 0.5624 GB, free: 2.363 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.622e-05/0.3118, allocations: 12.38 kB / 0.5624 GB, free: 2.352 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.3119, allocations: 61.98 kB / 0.5625 GB, free: 2.285 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.312, allocations: 3.984 kB / 0.5625 GB, free: 2.281 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.312, allocations: 0 / 0.5625 GB, free: 2.281 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.312, allocations: 4 kB / 0.5625 GB, free: 2.277 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.938e-05/0.3121, allocations: 39.97 kB / 0.5625 GB, free: 2.238 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001747/0.3122, allocations: 144.6 kB / 0.5627 GB, free: 2.055 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001553/0.3124, allocations: 90.33 kB / 0.5627 GB, free: 1.961 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.142e-05/0.3124, allocations: 36.78 kB / 0.5628 GB, free: 1.922 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002143/0.3127, allocations: 27.91 kB / 0.5628 GB, free: 1.895 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.3127, allocations: 46.48 kB / 0.5628 GB, free: 1.84 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.3127, allocations: 0 / 0.5628 GB, free: 1.84 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.1301/0.4428, allocations: 5.597 MB / 0.5683 GB, free: 12.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.762e-05/0.4429, allocations: 59.34 kB / 0.5684 GB, free: 12.13 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.12e-05/0.4429, allocations: 93.84 kB / 0.5685 GB, free: 12.03 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.248e-05/0.443, allocations: 29.7 kB / 0.5685 GB, free: 11.99 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.373e-05/0.443, allocations: 88.45 kB / 0.5686 GB, free: 11.9 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.4431, allocations: 79.33 kB / 0.5686 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.4432, allocations: 57.67 kB / 0.5687 GB, free: 11.76 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.4434, allocations: 330.8 kB / 0.569 GB, free: 11.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003598/0.4437, allocations: 112 kB / 0.5691 GB, free: 11.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003458/0.4441, allocations: 115.5 kB / 0.5692 GB, free: 11.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001441/0.4455, allocations: 320.6 kB / 0.5695 GB, free: 10.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.4455, allocations: 0 / 0.5695 GB, free: 10.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00121/0.4467, allocations: 356.1 kB / 0.5699 GB, free: 10.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.4468, allocations: 6.188 kB / 0.5699 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.4468, allocations: 0 / 0.5699 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.429e-05/0.4468, allocations: 7.938 kB / 0.5699 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003939/0.4472, allocations: 83.86 kB / 0.57 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.451e-05/0.4472, allocations: 7.984 kB / 0.57 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.4474, allocations: 27.91 kB / 0.57 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.29e-05/0.4474, allocations: 15.98 kB / 0.57 GB, free: 10.39 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.0001382/0.4476, allocations: 121.8 kB / 0.5701 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.842e-05/0.4476, allocations: 7.953 kB / 0.5701 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001541/0.4491, allocations: 425.9 kB / 0.5705 GB, free: 9.828 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.4492, allocations: 8 kB / 0.5706 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.4492, allocations: 4 kB / 0.5706 GB, free: 9.816 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.387e-05/0.4492, allocations: 3.938 kB / 0.5706 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002271/0.4514, allocations: 0.7241 MB / 0.5713 GB, free: 9.035 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.4515, allocations: 4.062 kB / 0.5713 GB, free: 9.031 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002987/0.4517, allocations: 79.86 kB / 0.5714 GB, free: 8.953 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/0.4518, allocations: 0 / 0.5714 GB, free: 8.953 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.22e-05/0.4518, allocations: 15.98 kB / 0.5714 GB, free: 8.938 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.4518, allocations: 0 / 0.5714 GB, free: 8.938 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.4518, allocations: 4 kB / 0.5714 GB, free: 8.934 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001223/0.453, allocations: 428.7 kB / 0.5718 GB, free: 8.492 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.874e-05/0.453, allocations: 7.953 kB / 0.5718 GB, free: 8.484 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.366e-05/0.4531, allocations: 8 kB / 0.5718 GB, free: 8.477 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/0.4533, allocations: 23.97 kB / 0.5718 GB, free: 8.453 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.706e-05/0.4533, allocations: 19.97 kB / 0.5718 GB, free: 8.434 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.802e-05/0.4533, allocations: 11.98 kB / 0.5718 GB, free: 8.422 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.692e-05/0.4534, allocations: 79.28 kB / 0.5719 GB, free: 8.344 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4534, allocations: 0 / 0.5719 GB, free: 8.344 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001623/0.455, allocations: 0.6284 MB / 0.5725 GB, free: 7.715 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.00505/0.4601, allocations: 1.153 MB / 0.5737 GB, free: 6.531 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009485/0.461, allocations: 263.5 kB / 0.5739 GB, free: 6.273 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.391e-06/0.461, allocations: 0 / 0.5739 GB, free: 6.273 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003853/0.4614, allocations: 127.9 kB / 0.574 GB, free: 6.148 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.4617, allocations: 12 kB / 0.574 GB, free: 6.137 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001923/0.4636, allocations: 420.5 kB / 0.5744 GB, free: 5.676 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.861e-05/0.4637, allocations: 80.05 kB / 0.5745 GB, free: 5.574 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002592/0.4639, allocations: 77.08 kB / 0.5746 GB, free: 5.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001578/0.4641, allocations: 59.39 kB / 0.5747 GB, free: 5.441 MB / 414.1 MB Notification: Performance of SimCode: time 9.72e-07/0.4641, allocations: 0 / 0.5747 GB, free: 5.441 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1028/0.5669, allocations: 55.83 MB / 0.6292 GB, free: 13.69 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.84, allocations: 3.938 kB / 0.6292 GB, free: 13.69 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.762332757934928]