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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001749/0.001749, allocations: 114.3 kB / 17.13 MB, free: 5.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002048/0.002048, allocations: 191.7 kB / 20.07 MB, free: 2.984 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.438/1.438, allocations: 207.6 MB / 230.5 MB, free: 4.027 MB / 174.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.3655/0.3655, allocations: 44.23 MB / 326.5 MB, free: 6.84 MB / 254.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002177/0.002177, allocations: 75.88 kB / 462.2 MB, free: 0.9492 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3295, allocations: 61 MB / 0.5109 GB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001728/0.3312, allocations: 0.5488 MB / 0.5114 GB, free: 12.9 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000719/0.3319, allocations: 413.1 kB / 0.5118 GB, free: 12.58 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.261e-05/0.332, allocations: 1.188 kB / 0.5118 GB, free: 12.58 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.122e-05/0.332, allocations: 3.938 kB / 0.5118 GB, free: 12.58 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.157e-05/0.332, allocations: 4 kB / 0.5118 GB, free: 12.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004713/0.3325, allocations: 137 kB / 0.512 GB, free: 12.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.22e-05/0.3326, allocations: 34.28 kB / 0.512 GB, free: 12.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.592e-05/0.3326, allocations: 2.562 kB / 0.512 GB, free: 12.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.766e-05/0.3326, allocations: 14.61 kB / 0.512 GB, free: 12.47 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.265e-05/0.3327, allocations: 22.62 kB / 0.512 GB, free: 12.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.174e-05/0.3327, allocations: 6.094 kB / 0.512 GB, free: 12.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002473/0.333, allocations: 166.4 kB / 0.5122 GB, free: 12.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.839e-05/0.333, allocations: 7.922 kB / 0.5122 GB, free: 12.35 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.058e-05/0.333, allocations: 18.95 kB / 0.5122 GB, free: 12.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002192/0.3332, allocations: 133.4 kB / 0.5123 GB, free: 12.26 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3333, allocations: 0 / 0.5123 GB, free: 12.26 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.3333, allocations: 4.938 kB / 0.5124 GB, free: 12.26 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.3333, allocations: 0 / 0.5124 GB, free: 12.26 MB / 382.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.0003707/0.3336, allocations: 366.3 kB / 0.5127 GB, free: 11.87 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.3337, allocations: 16.91 kB / 0.5127 GB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.855e-05/0.3337, allocations: 40.72 kB / 0.5128 GB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.718e-05/0.3337, allocations: 11.02 kB / 0.5128 GB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.268e-05/0.3338, allocations: 166.6 kB / 0.5129 GB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.3338, allocations: 2.844 kB / 0.5129 GB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.075e-05/0.3339, allocations: 8.625 kB / 0.5129 GB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.334, allocations: 66.72 kB / 0.513 GB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.334, allocations: 9.578 kB / 0.513 GB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.334, allocations: 4 kB / 0.513 GB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.334, allocations: 1.688 kB / 0.513 GB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.91e-05/0.3341, allocations: 42.8 kB / 0.5131 GB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001442/0.3343, allocations: 169.7 kB / 0.5132 GB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.3344, allocations: 82.97 kB / 0.5133 GB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.249e-05/0.3344, allocations: 25.97 kB / 0.5133 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002283/0.3347, allocations: 103.1 kB / 0.5134 GB, free: 11.15 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.3347, allocations: 43.84 kB / 0.5135 GB, free: 11.1 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.163e-06/0.3347, allocations: 4 kB / 0.5135 GB, free: 11.09 MB / 382.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.143/0.4777, allocations: 5.612 MB / 0.5189 GB, free: 6.559 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.4777, allocations: 55.39 kB / 0.519 GB, free: 6.492 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.474e-05/0.4778, allocations: 101.9 kB / 0.5191 GB, free: 6.383 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.4778, allocations: 25.7 kB / 0.5191 GB, free: 6.352 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.489e-05/0.4778, allocations: 80.52 kB / 0.5192 GB, free: 6.266 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.008e-05/0.4779, allocations: 79.33 kB / 0.5193 GB, free: 6.188 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.989e-05/0.4779, allocations: 57.67 kB / 0.5193 GB, free: 6.125 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.129e-05/0.478, allocations: 326.8 kB / 0.5196 GB, free: 5.797 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002859/0.4783, allocations: 112 kB / 0.5197 GB, free: 5.688 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002764/0.4786, allocations: 119.8 kB / 0.5199 GB, free: 5.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/0.4798, allocations: 320.6 kB / 0.5202 GB, free: 5.254 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.4798, allocations: 0 / 0.5202 GB, free: 5.254 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001004/0.4808, allocations: 365.6 kB / 0.5205 GB, free: 4.891 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.4808, allocations: 4 kB / 0.5205 GB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.4808, allocations: 4 kB / 0.5205 GB, free: 4.883 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.4808, allocations: 0 / 0.5205 GB, free: 4.883 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003482/0.4812, allocations: 83.91 kB / 0.5206 GB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.363e-06/0.4812, allocations: 0 / 0.5206 GB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001756/0.4813, allocations: 27.91 kB / 0.5206 GB, free: 4.773 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.505e-05/0.4814, allocations: 19.92 kB / 0.5206 GB, free: 4.754 MB / 382.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 8.539e-05/0.4815, allocations: 125.7 kB / 0.5208 GB, free: 4.621 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.292e-05/0.4815, allocations: 7.953 kB / 0.5208 GB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001175/0.4827, allocations: 441.7 kB / 0.5212 GB, free: 4.164 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.4827, allocations: 4 kB / 0.5212 GB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.4827, allocations: 0 / 0.5212 GB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.4827, allocations: 7.922 kB / 0.5212 GB, free: 4.152 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001857/0.4845, allocations: 0.769 MB / 0.522 GB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.4845, allocations: 0 / 0.522 GB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002505/0.4848, allocations: 71.92 kB / 0.522 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.4848, allocations: 3.984 kB / 0.522 GB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/0.4848, allocations: 15.94 kB / 0.522 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.4848, allocations: 7.984 kB / 0.5221 GB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.4848, allocations: 4 kB / 0.5221 GB, free: 3.219 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009487/0.4858, allocations: 420.8 kB / 0.5225 GB, free: 2.785 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.232e-05/0.4858, allocations: 89.06 kB / 0.5225 GB, free: 2.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.016e-05/0.4858, allocations: 3.984 kB / 0.5225 GB, free: 2.676 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.486, allocations: 27.97 kB / 0.5226 GB, free: 2.648 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.146e-05/0.486, allocations: 11.98 kB / 0.5226 GB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.486, allocations: 15.98 kB / 0.5226 GB, free: 2.621 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.014e-05/0.4861, allocations: 83.22 kB / 0.5227 GB, free: 2.539 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4861, allocations: 4 kB / 0.5227 GB, free: 2.535 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001473/0.4875, allocations: 0.6284 MB / 0.5233 GB, free: 1.906 MB / 382.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.003699/0.4912, allocations: 1.143 MB / 0.5244 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006533/0.4919, allocations: 251.7 kB / 0.5247 GB, free: 496 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.4919, allocations: 4 kB / 0.5247 GB, free: 492 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002752/0.4922, allocations: 123.8 kB / 0.5248 GB, free: 368 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.4924, allocations: 8 kB / 0.5248 GB, free: 360 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.4939, allocations: 444.5 kB / 0.5252 GB, free: 15.86 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/0.4943, allocations: 0.6931 MB / 0.5259 GB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002532/0.4946, allocations: 77.08 kB / 0.526 GB, free: 15.07 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/0.4947, allocations: 55.39 kB / 0.526 GB, free: 15.01 MB / 398.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4947, allocations: 0 / 0.526 GB, free: 15.01 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1025/0.5972, allocations: 55.08 MB / 0.5798 GB, free: 7.711 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.428/9.026, allocations: 8.047 kB / 0.5798 GB, free: 7.703 MB / 446.1 MB " [Timeout remaining time 651] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.952501257881522]