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.001834/0.001834, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.002416/0.002416, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.984 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.2138/0.2138, allocations: 44.91 MB / 358.8 MB, free: 6.273 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.002019/0.002019, allocations: 64.19 kB / 0.4931 GB, free: 10.72 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.291, allocations: 65.47 MB / 0.557 GB, free: 7.711 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001632/0.2927, allocations: 0.5412 MB / 0.5575 GB, free: 7.301 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008044/0.2935, allocations: 419.8 kB / 0.5579 GB, free: 6.973 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.75e-05/0.2935, allocations: 0 / 0.5579 GB, free: 6.973 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.484e-05/0.2935, allocations: 3.938 kB / 0.558 GB, free: 6.969 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.22e-05/0.2935, allocations: 0 / 0.558 GB, free: 6.969 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004704/0.294, allocations: 147.3 kB / 0.5581 GB, free: 6.828 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.206e-05/0.2941, allocations: 23.92 kB / 0.5581 GB, free: 6.805 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.086e-05/0.2941, allocations: 4 kB / 0.5581 GB, free: 6.801 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.323e-05/0.2941, allocations: 23.92 kB / 0.5581 GB, free: 6.777 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.633e-05/0.2942, allocations: 23.91 kB / 0.5582 GB, free: 6.754 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.648e-06/0.2942, allocations: 0 / 0.5582 GB, free: 6.754 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000267/0.2945, allocations: 155.8 kB / 0.5583 GB, free: 6.602 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.423e-05/0.2945, allocations: 11.92 kB / 0.5583 GB, free: 6.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.809e-05/0.2945, allocations: 15.88 kB / 0.5583 GB, free: 6.574 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002169/0.2947, allocations: 125.9 kB / 0.5585 GB, free: 6.453 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2947, allocations: 0 / 0.5585 GB, free: 6.453 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2947, allocations: 0 / 0.5585 GB, free: 6.453 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.2947, allocations: 4 kB / 0.5585 GB, free: 6.449 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.000406/0.2951, allocations: 298 kB / 0.5587 GB, free: 6.129 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.2952, allocations: 12.03 kB / 0.5588 GB, free: 6.117 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.318e-05/0.2952, allocations: 34.75 kB / 0.5588 GB, free: 6.074 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.905e-05/0.2952, allocations: 8.891 kB / 0.5588 GB, free: 6.066 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.998e-05/0.2953, allocations: 106.5 kB / 0.5589 GB, free: 5.938 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.2954, allocations: 8.375 kB / 0.5589 GB, free: 5.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.92e-05/0.2954, allocations: 8.312 kB / 0.5589 GB, free: 5.922 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.2955, allocations: 65.92 kB / 0.559 GB, free: 5.852 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.2955, allocations: 8 kB / 0.559 GB, free: 5.844 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.2955, allocations: 0 / 0.559 GB, free: 5.844 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.2956, allocations: 7.938 kB / 0.559 GB, free: 5.836 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.34e-05/0.2956, allocations: 43.95 kB / 0.559 GB, free: 5.793 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001878/0.2958, allocations: 156.6 kB / 0.5592 GB, free: 5.598 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.296, allocations: 78.48 kB / 0.5593 GB, free: 5.512 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.555e-05/0.296, allocations: 24.86 kB / 0.5593 GB, free: 5.484 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002212/0.2962, allocations: 31.95 kB / 0.5593 GB, free: 5.453 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.2963, allocations: 34.5 kB / 0.5593 GB, free: 5.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.132e-06/0.2963, allocations: 0 / 0.5593 GB, free: 5.41 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.1267/0.423, allocations: 5.618 MB / 0.5648 GB, free: 15.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.356e-05/0.423, allocations: 55.27 kB / 0.5649 GB, free: 15.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.917e-05/0.4231, allocations: 93.86 kB / 0.565 GB, free: 15.58 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.428e-05/0.4231, allocations: 29.7 kB / 0.565 GB, free: 15.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.965e-05/0.4232, allocations: 84.45 kB / 0.5651 GB, free: 15.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.887e-05/0.4233, allocations: 75.33 kB / 0.5652 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.4234, allocations: 61.67 kB / 0.5652 GB, free: 15.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.4235, allocations: 326.9 kB / 0.5655 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003421/0.4239, allocations: 111.9 kB / 0.5656 GB, free: 14.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003386/0.4242, allocations: 115.5 kB / 0.5657 GB, free: 14.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001408/0.4256, allocations: 324.5 kB / 0.5661 GB, free: 14.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.4256, allocations: 0 / 0.5661 GB, free: 14.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001226/0.4269, allocations: 356.1 kB / 0.5664 GB, free: 14.1 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.125e-05/0.4269, allocations: 10.66 kB / 0.5664 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.4269, allocations: 4 kB / 0.5664 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.4269, allocations: 0 / 0.5664 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003929/0.4273, allocations: 83.84 kB / 0.5665 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.4273, allocations: 0 / 0.5665 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001971/0.4275, allocations: 27.91 kB / 0.5665 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.467e-05/0.4275, allocations: 19.98 kB / 0.5665 GB, free: 13.96 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.000132/0.4277, allocations: 117.8 kB / 0.5666 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.639e-05/0.4277, allocations: 11.94 kB / 0.5667 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001395/0.4291, allocations: 425.8 kB / 0.5671 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.4291, allocations: 4 kB / 0.5671 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.4291, allocations: 0 / 0.5671 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.826e-06/0.4291, allocations: 7.922 kB / 0.5671 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002339/0.4315, allocations: 0.7539 MB / 0.5678 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.4315, allocations: 0 / 0.5678 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003001/0.4318, allocations: 79.88 kB / 0.5679 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.696e-06/0.4318, allocations: 3.984 kB / 0.5679 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.563e-05/0.4318, allocations: 16.05 kB / 0.5679 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.4318, allocations: 4 kB / 0.5679 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4318, allocations: 0 / 0.5679 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.433, allocations: 428.7 kB / 0.5683 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.343e-05/0.433, allocations: 11.89 kB / 0.5683 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.271e-05/0.433, allocations: 7.938 kB / 0.5683 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/0.4332, allocations: 27.97 kB / 0.5684 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.605e-05/0.4333, allocations: 15.97 kB / 0.5684 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.692e-05/0.4333, allocations: 15.98 kB / 0.5684 GB, free: 11.95 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.428e-05/0.4333, allocations: 79.28 kB / 0.5685 GB, free: 11.88 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4333, allocations: 0 / 0.5685 GB, free: 11.88 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001666/0.435, allocations: 0.6284 MB / 0.5691 GB, free: 11.25 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.004641/0.4396, allocations: 1.141 MB / 0.5702 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008279/0.4405, allocations: 263.5 kB / 0.5705 GB, free: 9.816 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.4405, allocations: 0 / 0.5705 GB, free: 9.816 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003501/0.4408, allocations: 126.4 kB / 0.5706 GB, free: 9.695 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.4411, allocations: 14.81 kB / 0.5706 GB, free: 9.684 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001695/0.4428, allocations: 420.7 kB / 0.571 GB, free: 9.223 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.4431, allocations: 0.7009 MB / 0.5717 GB, free: 8.492 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002357/0.4434, allocations: 73.08 kB / 0.5717 GB, free: 8.422 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001565/0.4435, allocations: 59.39 kB / 0.5718 GB, free: 8.363 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4435, allocations: 0 / 0.5718 GB, free: 8.363 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1045/0.5481, allocations: 55.29 MB / 0.6258 GB, free: 1.152 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.99, allocations: 14.28 kB / 0.6258 GB, free: 1.145 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.024080538889393]