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.001731/0.001731, 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.00215/0.00215, allocations: 209.5 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.455/1.455, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2249/0.2249, allocations: 44.93 MB / 358.8 MB, free: 6.051 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",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.0021/0.0021, allocations: 63.91 kB / 0.493 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3348, allocations: 65.47 MB / 0.557 GB, free: 7.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001732/0.3366, allocations: 0.5307 MB / 0.5575 GB, free: 6.797 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008077/0.3374, allocations: 372.8 kB / 0.5578 GB, free: 6.504 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.978e-05/0.3374, allocations: 0 / 0.5578 GB, free: 6.504 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.903e-05/0.3374, allocations: 3.938 kB / 0.5578 GB, free: 6.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.167e-05/0.3375, allocations: 0 / 0.5578 GB, free: 6.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005437/0.338, allocations: 151.3 kB / 0.558 GB, free: 6.355 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.696e-05/0.3381, allocations: 27.92 kB / 0.558 GB, free: 6.328 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.124e-05/0.3381, allocations: 3.984 kB / 0.558 GB, free: 6.324 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.271e-05/0.3381, allocations: 19.92 kB / 0.558 GB, free: 6.305 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.985e-05/0.3382, allocations: 15.92 kB / 0.558 GB, free: 6.289 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.3382, allocations: 0 / 0.558 GB, free: 6.289 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002665/0.3385, allocations: 135.8 kB / 0.5582 GB, free: 6.156 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.491e-05/0.3385, allocations: 7.984 kB / 0.5582 GB, free: 6.148 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.848e-05/0.3385, allocations: 23.8 kB / 0.5582 GB, free: 6.125 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002242/0.3388, allocations: 117.7 kB / 0.5583 GB, free: 6.012 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3388, allocations: 4 kB / 0.5583 GB, free: 6.008 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.707e-06/0.3388, allocations: 3.984 kB / 0.5583 GB, free: 6.004 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.3388, allocations: 0 / 0.5583 GB, free: 6.004 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.0004334/0.3392, allocations: 298 kB / 0.5586 GB, free: 5.684 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.3392, allocations: 8.031 kB / 0.5586 GB, free: 5.676 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.384e-05/0.3393, allocations: 38.75 kB / 0.5587 GB, free: 5.629 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.212e-05/0.3393, allocations: 4.891 kB / 0.5587 GB, free: 5.625 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.3394, allocations: 106.5 kB / 0.5588 GB, free: 5.496 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.3395, allocations: 8.375 kB / 0.5588 GB, free: 5.488 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.641e-05/0.3395, allocations: 4.375 kB / 0.5588 GB, free: 5.484 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.3396, allocations: 77.91 kB / 0.5588 GB, free: 5.402 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.3397, allocations: 0 / 0.5588 GB, free: 5.402 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.3397, allocations: 4 kB / 0.5589 GB, free: 5.398 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.3397, allocations: 0 / 0.5589 GB, free: 5.398 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.742e-05/0.3398, allocations: 43.95 kB / 0.5589 GB, free: 5.355 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001927/0.3399, allocations: 148.6 kB / 0.559 GB, free: 5.168 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.3401, allocations: 85.92 kB / 0.5591 GB, free: 5.078 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.282e-05/0.3402, allocations: 28.86 kB / 0.5591 GB, free: 5.047 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002233/0.3404, allocations: 23.95 kB / 0.5592 GB, free: 5.023 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.3404, allocations: 46.5 kB / 0.5592 GB, free: 4.969 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.3404, allocations: 0 / 0.5592 GB, free: 4.969 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.1292/0.4697, allocations: 5.598 MB / 0.5647 GB, free: 15.33 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.936e-05/0.4697, allocations: 63.27 kB / 0.5647 GB, free: 15.25 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.4698, allocations: 89.86 kB / 0.5648 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.016e-05/0.4699, allocations: 33.7 kB / 0.5649 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.82e-05/0.4699, allocations: 84.45 kB / 0.5649 GB, free: 15.03 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.987e-05/0.47, allocations: 83.31 kB / 0.565 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.4701, allocations: 57.67 kB / 0.5651 GB, free: 14.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.4703, allocations: 322.8 kB / 0.5654 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003542/0.4706, allocations: 116 kB / 0.5655 GB, free: 14.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003272/0.471, allocations: 111.9 kB / 0.5656 GB, free: 14.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001374/0.4723, allocations: 332.1 kB / 0.5659 GB, free: 14.01 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.4723, allocations: 0 / 0.5659 GB, free: 14.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001146/0.4735, allocations: 353.2 kB / 0.5662 GB, free: 13.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.4735, allocations: 4 kB / 0.5663 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.4735, allocations: 0 / 0.5663 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.4735, allocations: 4 kB / 0.5663 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003768/0.4739, allocations: 83.84 kB / 0.5663 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.4739, allocations: 4 kB / 0.5663 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001776/0.4741, allocations: 31.91 kB / 0.5664 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.368e-05/0.4741, allocations: 19.97 kB / 0.5664 GB, free: 13.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.0001208/0.4742, allocations: 117.8 kB / 0.5665 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.547e-05/0.4743, allocations: 7.953 kB / 0.5665 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00141/0.4757, allocations: 432.7 kB / 0.5669 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.898e-06/0.4757, allocations: 4 kB / 0.5669 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.4757, allocations: 0 / 0.5669 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.4757, allocations: 7.922 kB / 0.5669 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002256/0.478, allocations: 0.7278 MB / 0.5676 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.478, allocations: 7.984 kB / 0.5677 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000278/0.4783, allocations: 75.94 kB / 0.5677 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.4783, allocations: 0 / 0.5677 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.613e-05/0.4783, allocations: 15.98 kB / 0.5677 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.4783, allocations: 0 / 0.5677 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.4783, allocations: 4 kB / 0.5677 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.4794, allocations: 424.8 kB / 0.5681 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.462e-05/0.4794, allocations: 11.89 kB / 0.5682 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.092e-05/0.4795, allocations: 4 kB / 0.5682 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.4796, allocations: 23.97 kB / 0.5682 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.706e-05/0.4797, allocations: 19.97 kB / 0.5682 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.748e-05/0.4797, allocations: 11.98 kB / 0.5682 GB, free: 11.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.115e-05/0.4798, allocations: 83.28 kB / 0.5683 GB, free: 11.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4798, allocations: 3.938 kB / 0.5683 GB, free: 11.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001791/0.4815, allocations: 0.6284 MB / 0.5689 GB, free: 10.83 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.004699/0.4862, allocations: 1.148 MB / 0.57 GB, free: 9.656 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008772/0.4871, allocations: 263.5 kB / 0.5703 GB, free: 9.398 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.4871, allocations: 3.938 kB / 0.5703 GB, free: 9.395 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003403/0.4875, allocations: 123.8 kB / 0.5704 GB, free: 9.273 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/0.4877, allocations: 17.94 kB / 0.5704 GB, free: 9.262 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001715/0.4894, allocations: 420.7 kB / 0.5708 GB, free: 8.801 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.827e-05/0.4895, allocations: 84.05 kB / 0.5709 GB, free: 8.695 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002477/0.4898, allocations: 77.08 kB / 0.571 GB, free: 8.621 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001545/0.4899, allocations: 59.39 kB / 0.571 GB, free: 8.562 MB / 414.1 MB Notification: Performance of SimCode: time 7.91e-07/0.4899, allocations: 0 / 0.571 GB, free: 8.562 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1022/0.5921, allocations: 55.83 MB / 0.6256 GB, free: 0.8086 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.88, allocations: 0 / 0.6256 GB, free: 0.8086 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: 14.843957081902772]