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.001252/0.001252, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001436/0.001436, allocations: 214.1 kB / 24.52 MB, free: 3.941 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.449/1.449, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.2193/0.2193, allocations: 44.93 MB / 359.6 MB, free: 6.066 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.002022/0.002022, allocations: 67.89 kB / 0.4938 GB, free: 10.55 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3144, allocations: 65.46 MB / 0.5577 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001857/0.3163, allocations: 0.5222 MB / 0.5582 GB, free: 6.953 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008128/0.3171, allocations: 381.3 kB / 0.5586 GB, free: 6.652 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.81e-05/0.3171, allocations: 0 / 0.5586 GB, free: 6.652 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.534e-05/0.3172, allocations: 3.938 kB / 0.5586 GB, free: 6.648 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.64e-05/0.3172, allocations: 0 / 0.5586 GB, free: 6.648 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005574/0.3177, allocations: 147.4 kB / 0.5587 GB, free: 6.508 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.513e-05/0.3178, allocations: 23.92 kB / 0.5588 GB, free: 6.484 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.025e-05/0.3178, allocations: 7.938 kB / 0.5588 GB, free: 6.477 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.724e-05/0.3179, allocations: 19.92 kB / 0.5588 GB, free: 6.457 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.205e-05/0.3179, allocations: 23.91 kB / 0.5588 GB, free: 6.434 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.3179, allocations: 4 kB / 0.5588 GB, free: 6.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002611/0.3182, allocations: 139.8 kB / 0.5589 GB, free: 6.293 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.903e-05/0.3182, allocations: 11.98 kB / 0.559 GB, free: 6.281 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.401e-05/0.3182, allocations: 11.94 kB / 0.559 GB, free: 6.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.3185, allocations: 121.6 kB / 0.5591 GB, free: 6.152 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.3185, allocations: 0 / 0.5591 GB, free: 6.152 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.869e-06/0.3185, allocations: 4 kB / 0.5591 GB, free: 6.148 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.3185, allocations: 0 / 0.5591 GB, free: 6.148 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.000428/0.3189, allocations: 294 kB / 0.5594 GB, free: 5.832 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.3189, allocations: 16.03 kB / 0.5594 GB, free: 5.816 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.307e-05/0.3189, allocations: 192 / 0.5594 GB, free: 5.816 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.783e-05/0.319, allocations: 46.67 kB / 0.5594 GB, free: 5.762 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.608e-05/0.319, allocations: 8.828 kB / 0.5594 GB, free: 5.754 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.3191, allocations: 110.5 kB / 0.5595 GB, free: 5.621 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.3191, allocations: 8.375 kB / 0.5595 GB, free: 5.613 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.3192, allocations: 4.375 kB / 0.5596 GB, free: 5.609 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.3193, allocations: 69.78 kB / 0.5596 GB, free: 5.535 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.3193, allocations: 0 / 0.5596 GB, free: 5.535 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.3193, allocations: 4 kB / 0.5596 GB, free: 5.531 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.3193, allocations: 0 / 0.5596 GB, free: 5.531 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.951e-05/0.3194, allocations: 47.89 kB / 0.5597 GB, free: 5.484 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001828/0.3196, allocations: 148.7 kB / 0.5598 GB, free: 5.297 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001413/0.3197, allocations: 78.53 kB / 0.5599 GB, free: 5.211 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.501e-05/0.3198, allocations: 24.86 kB / 0.5599 GB, free: 5.184 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002269/0.32, allocations: 27.95 kB / 0.5599 GB, free: 5.156 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.32, allocations: 38.44 kB / 0.56 GB, free: 5.109 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.162e-06/0.32, allocations: 0 / 0.56 GB, free: 5.109 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.1239/0.4439, allocations: 5.621 MB / 0.5655 GB, free: 15.45 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.4439, allocations: 55.27 kB / 0.5655 GB, free: 15.38 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.797e-05/0.444, allocations: 97.8 kB / 0.5656 GB, free: 15.28 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.377e-05/0.4441, allocations: 29.7 kB / 0.5656 GB, free: 15.24 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.611e-05/0.4441, allocations: 84.64 kB / 0.5657 GB, free: 15.15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.408e-05/0.4442, allocations: 75.33 kB / 0.5658 GB, free: 15.08 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/0.4443, allocations: 61.69 kB / 0.5658 GB, free: 15.01 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.4445, allocations: 318.8 kB / 0.5662 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003688/0.4448, allocations: 111.9 kB / 0.5663 GB, free: 14.58 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000344/0.4452, allocations: 119.9 kB / 0.5664 GB, free: 14.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001439/0.4466, allocations: 320.2 kB / 0.5667 GB, free: 14.15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.4466, allocations: 0 / 0.5667 GB, free: 14.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001211/0.4478, allocations: 361.2 kB / 0.567 GB, free: 13.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.4478, allocations: 4 kB / 0.567 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.4478, allocations: 0 / 0.567 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.4479, allocations: 0 / 0.567 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003976/0.4483, allocations: 83.91 kB / 0.5671 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.4483, allocations: 7.922 kB / 0.5671 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002008/0.4485, allocations: 23.91 kB / 0.5671 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.702e-05/0.4485, allocations: 23.98 kB / 0.5672 GB, free: 13.65 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.0001372/0.4486, allocations: 117.8 kB / 0.5673 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.997e-05/0.4487, allocations: 11.95 kB / 0.5673 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00142/0.4501, allocations: 432.7 kB / 0.5677 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.4501, allocations: 0 / 0.5677 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.4501, allocations: 0 / 0.5677 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.4501, allocations: 11.86 kB / 0.5677 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002256/0.4524, allocations: 0.7343 MB / 0.5684 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.4524, allocations: 0 / 0.5684 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003173/0.4527, allocations: 71.92 kB / 0.5685 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.4527, allocations: 4 kB / 0.5685 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.134e-05/0.4527, allocations: 15.98 kB / 0.5685 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.4527, allocations: 3.938 kB / 0.5685 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.4527, allocations: 8 kB / 0.5685 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001194/0.4539, allocations: 420.8 kB / 0.5689 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.418e-05/0.454, allocations: 15.95 kB / 0.5689 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.122e-05/0.454, allocations: 0 / 0.5689 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001986/0.4542, allocations: 27.97 kB / 0.569 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.022e-05/0.4542, allocations: 11.97 kB / 0.569 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.275e-05/0.4542, allocations: 19.98 kB / 0.569 GB, free: 11.67 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.938e-05/0.4543, allocations: 75.28 kB / 0.5691 GB, free: 11.6 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4543, allocations: 0 / 0.5691 GB, free: 11.6 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00171/0.456, allocations: 0.6324 MB / 0.5697 GB, free: 10.96 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.004715/0.4607, allocations: 1.147 MB / 0.5708 GB, free: 9.785 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008085/0.4615, allocations: 257.7 kB / 0.5711 GB, free: 9.535 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.4615, allocations: 4 kB / 0.5711 GB, free: 9.531 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003597/0.4619, allocations: 125.9 kB / 0.5712 GB, free: 9.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/0.4621, allocations: 15.06 kB / 0.5712 GB, free: 9.398 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/0.4639, allocations: 432.6 kB / 0.5716 GB, free: 8.926 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.015e-05/0.464, allocations: 80.05 kB / 0.5717 GB, free: 8.824 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002505/0.4643, allocations: 81.08 kB / 0.5718 GB, free: 8.746 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001812/0.4645, allocations: 55.39 kB / 0.5718 GB, free: 8.691 MB / 414.1 MB Notification: Performance of SimCode: time 7.11e-07/0.4645, allocations: 0 / 0.5718 GB, free: 8.691 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09099/0.5555, allocations: 55.51 MB / 0.626 GB, free: 1.277 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.33, allocations: 11.84 kB / 0.626 GB, free: 1.266 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.35713541903533]