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.001867/0.001867, allocations: 115.6 kB / 20.43 MB, free: 1.309 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.002539/0.002539, allocations: 215 kB / 23.74 MB, free: 4.535 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.497/1.497, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.2292/0.2292, allocations: 46.93 MB / 360.9 MB, free: 4.277 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.002001/0.002001, allocations: 71.89 kB / 0.4962 GB, free: 7.922 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3112, allocations: 66.04 MB / 0.5606 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001749/0.3129, allocations: 0.5422 MB / 0.5612 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000859/0.3138, allocations: 410.8 kB / 0.5616 GB, free: 3.539 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.816e-05/0.3138, allocations: 4 kB / 0.5616 GB, free: 3.535 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.307e-05/0.3138, allocations: 3.938 kB / 0.5616 GB, free: 3.531 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.254e-05/0.3139, allocations: 0 / 0.5616 GB, free: 3.531 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005251/0.3144, allocations: 147.3 kB / 0.5617 GB, free: 3.391 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.735e-05/0.3145, allocations: 23.92 kB / 0.5617 GB, free: 3.367 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.629e-05/0.3145, allocations: 4 kB / 0.5617 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.586e-05/0.3145, allocations: 23.91 kB / 0.5618 GB, free: 3.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.372e-05/0.3146, allocations: 19.92 kB / 0.5618 GB, free: 3.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.031e-05/0.3146, allocations: 4 kB / 0.5618 GB, free: 3.316 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002828/0.3149, allocations: 159.8 kB / 0.5619 GB, free: 3.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.865e-05/0.3149, allocations: 11.97 kB / 0.5619 GB, free: 3.148 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.611e-05/0.3149, allocations: 15.88 kB / 0.562 GB, free: 3.133 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000221/0.3152, allocations: 125.7 kB / 0.5621 GB, free: 3.012 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.3152, allocations: 4 kB / 0.5621 GB, free: 3.008 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3152, allocations: 0 / 0.5621 GB, free: 3.008 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.3152, allocations: 0 / 0.5621 GB, free: 3.008 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.0004307/0.3156, allocations: 298 kB / 0.5624 GB, free: 2.688 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.3157, allocations: 12.03 kB / 0.5624 GB, free: 2.676 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.846e-05/0.3157, allocations: 34.75 kB / 0.5624 GB, free: 2.633 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.043e-05/0.3157, allocations: 12.83 kB / 0.5624 GB, free: 2.621 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.3158, allocations: 110.5 kB / 0.5625 GB, free: 2.488 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.3159, allocations: 4.375 kB / 0.5625 GB, free: 2.484 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.94e-05/0.3159, allocations: 8.359 kB / 0.5625 GB, free: 2.477 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.316, allocations: 69.98 kB / 0.5626 GB, free: 2.402 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.316, allocations: 0 / 0.5626 GB, free: 2.402 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.316, allocations: 0 / 0.5626 GB, free: 2.402 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.316, allocations: 0 / 0.5626 GB, free: 2.402 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.708e-05/0.3161, allocations: 51.95 kB / 0.5627 GB, free: 2.352 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001877/0.3163, allocations: 144.6 kB / 0.5628 GB, free: 2.168 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001433/0.3165, allocations: 82.42 kB / 0.5629 GB, free: 2.078 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.983e-05/0.3165, allocations: 28.84 kB / 0.5629 GB, free: 2.047 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002216/0.3167, allocations: 35.88 kB / 0.5629 GB, free: 2.012 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.3168, allocations: 38.5 kB / 0.563 GB, free: 1.965 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.092e-06/0.3168, allocations: 4 kB / 0.563 GB, free: 1.961 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.1238/0.4406, allocations: 5.608 MB / 0.5685 GB, free: 12.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/0.4406, allocations: 63.2 kB / 0.5685 GB, free: 12.24 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.378e-05/0.4407, allocations: 93.86 kB / 0.5686 GB, free: 12.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.321e-05/0.4407, allocations: 29.7 kB / 0.5686 GB, free: 12.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.924e-05/0.4408, allocations: 80.52 kB / 0.5687 GB, free: 12.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.007e-05/0.4409, allocations: 79.31 kB / 0.5688 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.441, allocations: 61.67 kB / 0.5688 GB, free: 11.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.4411, allocations: 322.8 kB / 0.5692 GB, free: 11.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003391/0.4414, allocations: 116 kB / 0.5693 GB, free: 11.44 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003233/0.4418, allocations: 119.8 kB / 0.5694 GB, free: 11.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001348/0.4431, allocations: 320.2 kB / 0.5697 GB, free: 11.01 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4431, allocations: 0 / 0.5697 GB, free: 11.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00118/0.4443, allocations: 353.2 kB / 0.57 GB, free: 10.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.4443, allocations: 8 kB / 0.57 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.4443, allocations: 0 / 0.57 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.4443, allocations: 4 kB / 0.57 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004007/0.4447, allocations: 87.84 kB / 0.5701 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.4448, allocations: 0 / 0.5701 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001955/0.445, allocations: 23.91 kB / 0.5701 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-05/0.445, allocations: 19.98 kB / 0.5702 GB, free: 10.52 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.0001394/0.4451, allocations: 121.8 kB / 0.5703 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.927e-05/0.4452, allocations: 11.95 kB / 0.5703 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001437/0.4466, allocations: 424.7 kB / 0.5707 GB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.4466, allocations: 4 kB / 0.5707 GB, free: 9.945 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.4466, allocations: 0 / 0.5707 GB, free: 9.945 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.345e-06/0.4466, allocations: 7.922 kB / 0.5707 GB, free: 9.938 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002288/0.4489, allocations: 0.746 MB / 0.5714 GB, free: 9.137 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.4489, allocations: 3.938 kB / 0.5714 GB, free: 9.133 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002925/0.4492, allocations: 79.86 kB / 0.5715 GB, free: 9.055 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.4492, allocations: 3.984 kB / 0.5715 GB, free: 9.051 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.522e-05/0.4492, allocations: 15.98 kB / 0.5715 GB, free: 9.035 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/0.4492, allocations: 8.062 kB / 0.5715 GB, free: 9.027 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.4492, allocations: 0 / 0.5715 GB, free: 9.027 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/0.4504, allocations: 428.7 kB / 0.5719 GB, free: 8.586 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.465e-05/0.4504, allocations: 7.953 kB / 0.572 GB, free: 8.578 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.331e-05/0.4504, allocations: 8 kB / 0.572 GB, free: 8.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001922/0.4506, allocations: 23.97 kB / 0.572 GB, free: 8.547 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.971e-05/0.4507, allocations: 15.97 kB / 0.572 GB, free: 8.531 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-05/0.4507, allocations: 19.98 kB / 0.572 GB, free: 8.512 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.27e-05/0.4507, allocations: 75.28 kB / 0.5721 GB, free: 8.438 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4507, allocations: 0 / 0.5721 GB, free: 8.438 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001622/0.4523, allocations: 0.6284 MB / 0.5727 GB, free: 7.809 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.004764/0.4571, allocations: 1.145 MB / 0.5738 GB, free: 6.633 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000866/0.458, allocations: 259.5 kB / 0.5741 GB, free: 6.379 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.458, allocations: 4 kB / 0.5741 GB, free: 6.375 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003577/0.4583, allocations: 130 kB / 0.5742 GB, free: 6.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002538/0.4586, allocations: 8 kB / 0.5742 GB, free: 6.242 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001888/0.4605, allocations: 424.7 kB / 0.5746 GB, free: 5.777 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.4608, allocations: 0.7009 MB / 0.5753 GB, free: 5.047 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002402/0.4611, allocations: 73.08 kB / 0.5754 GB, free: 4.977 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001535/0.4612, allocations: 51.39 kB / 0.5754 GB, free: 4.926 MB / 414.1 MB Notification: Performance of SimCode: time 8.61e-07/0.4612, allocations: 8 kB / 0.5754 GB, free: 4.918 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1062/0.5674, allocations: 55.29 MB / 0.6294 GB, free: 13.71 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.51, allocations: 10.69 kB / 0.6294 GB, free: 13.71 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.468636192148551]