Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001248/0.001248, allocations: 109.1 kB / 21.22 MB, free: 0.7539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001339/0.001339, allocations: 221 kB / 24.53 MB, free: 4.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 230.5 MB / 258.2 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2122/0.2122, allocations: 46.92 MB / 361.6 MB, free: 4.188 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002124/0.002124, allocations: 75.88 kB / 0.497 GB, free: 7.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2881, allocations: 66.09 MB / 0.5615 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001871/0.29, allocations: 0.5305 MB / 0.562 GB, free: 3.789 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009716/0.291, allocations: 418.8 kB / 0.5624 GB, free: 3.375 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.165e-05/0.291, allocations: 0 / 0.5624 GB, free: 3.375 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.614e-05/0.291, allocations: 3.938 kB / 0.5624 GB, free: 3.371 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.547e-05/0.2911, allocations: 3.938 kB / 0.5624 GB, free: 3.367 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004812/0.2915, allocations: 138.5 kB / 0.5626 GB, free: 3.238 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.677e-05/0.2916, allocations: 27.92 kB / 0.5626 GB, free: 3.211 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.84e-05/0.2917, allocations: 7.984 kB / 0.5626 GB, free: 3.203 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.487e-05/0.2917, allocations: 19.92 kB / 0.5626 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.121e-05/0.2917, allocations: 19.92 kB / 0.5626 GB, free: 3.164 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/0.2917, allocations: 0 / 0.5626 GB, free: 3.164 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002733/0.292, allocations: 163.8 kB / 0.5628 GB, free: 3.004 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.64e-05/0.292, allocations: 11.98 kB / 0.5628 GB, free: 2.992 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.847e-05/0.2921, allocations: 15.88 kB / 0.5628 GB, free: 2.977 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000212/0.2923, allocations: 125.7 kB / 0.5629 GB, free: 2.855 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.2923, allocations: 0 / 0.5629 GB, free: 2.855 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2923, allocations: 0 / 0.5629 GB, free: 2.855 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.2923, allocations: 4 kB / 0.5629 GB, free: 2.852 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.0004022/0.2927, allocations: 301.9 kB / 0.5632 GB, free: 2.527 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.2927, allocations: 12.03 kB / 0.5632 GB, free: 2.516 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.935e-05/0.2928, allocations: 4.188 kB / 0.5632 GB, free: 2.512 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.531e-05/0.2928, allocations: 38.75 kB / 0.5633 GB, free: 2.465 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.245e-05/0.2928, allocations: 8.875 kB / 0.5633 GB, free: 2.457 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.293, allocations: 114.4 kB / 0.5634 GB, free: 2.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.293, allocations: 384 / 0.5634 GB, free: 2.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.206e-05/0.293, allocations: 12.38 kB / 0.5634 GB, free: 2.309 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.2932, allocations: 65.8 kB / 0.5635 GB, free: 2.238 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.2932, allocations: 0 / 0.5635 GB, free: 2.238 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.2932, allocations: 4 kB / 0.5635 GB, free: 2.234 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.2932, allocations: 4 kB / 0.5635 GB, free: 2.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.455e-05/0.2933, allocations: 39.95 kB / 0.5635 GB, free: 2.191 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002158/0.2935, allocations: 152.6 kB / 0.5637 GB, free: 2 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.2936, allocations: 78.48 kB / 0.5637 GB, free: 1.914 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.091e-05/0.2937, allocations: 32.84 kB / 0.5638 GB, free: 1.879 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002539/0.294, allocations: 23.97 kB / 0.5638 GB, free: 1.855 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/0.294, allocations: 38.5 kB / 0.5638 GB, free: 1.809 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.092e-06/0.294, allocations: 0 / 0.5638 GB, free: 1.809 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.1217/0.4157, allocations: 5.622 MB / 0.5693 GB, free: 12.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/0.4158, allocations: 59.27 kB / 0.5694 GB, free: 12.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.678e-05/0.4159, allocations: 93.8 kB / 0.5695 GB, free: 11.97 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.412e-05/0.4159, allocations: 29.7 kB / 0.5695 GB, free: 11.94 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.524e-05/0.4159, allocations: 80.52 kB / 0.5696 GB, free: 11.85 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.741e-05/0.416, allocations: 87.38 kB / 0.5696 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.4161, allocations: 61.67 kB / 0.5697 GB, free: 11.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.4163, allocations: 326.8 kB / 0.57 GB, free: 11.37 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003517/0.4166, allocations: 107.9 kB / 0.5701 GB, free: 11.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003433/0.417, allocations: 115.9 kB / 0.5702 GB, free: 11.15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001408/0.4184, allocations: 321.1 kB / 0.5705 GB, free: 10.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.4184, allocations: 0 / 0.5705 GB, free: 10.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00117/0.4196, allocations: 357.2 kB / 0.5709 GB, free: 10.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.4196, allocations: 4 kB / 0.5709 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.4196, allocations: 0 / 0.5709 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.4196, allocations: 0 / 0.5709 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003742/0.42, allocations: 83.84 kB / 0.571 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.42, allocations: 0 / 0.571 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000198/0.4202, allocations: 35.91 kB / 0.571 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.022e-05/0.4202, allocations: 11.98 kB / 0.571 GB, free: 10.35 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.0001246/0.4203, allocations: 127.1 kB / 0.5711 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.524e-05/0.4204, allocations: 7.953 kB / 0.5711 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00137/0.4217, allocations: 429.9 kB / 0.5715 GB, free: 9.773 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.4217, allocations: 0 / 0.5715 GB, free: 9.773 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.4217, allocations: 0 / 0.5715 GB, free: 9.773 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.4217, allocations: 3.938 kB / 0.5715 GB, free: 9.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00219/0.4239, allocations: 0.7484 MB / 0.5723 GB, free: 8.965 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.4239, allocations: 3.938 kB / 0.5723 GB, free: 8.961 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002804/0.4242, allocations: 79.88 kB / 0.5724 GB, free: 8.883 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.4242, allocations: 4 kB / 0.5724 GB, free: 8.879 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.633e-05/0.4242, allocations: 15.98 kB / 0.5724 GB, free: 8.863 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/0.4243, allocations: 4 kB / 0.5724 GB, free: 8.859 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4243, allocations: 0 / 0.5724 GB, free: 8.859 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001143/0.4254, allocations: 429.1 kB / 0.5728 GB, free: 8.418 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.264e-05/0.4254, allocations: 11.89 kB / 0.5728 GB, free: 8.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.279e-05/0.4254, allocations: 8 kB / 0.5728 GB, free: 8.402 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/0.4256, allocations: 27.95 kB / 0.5728 GB, free: 8.375 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.634e-05/0.4257, allocations: 15.98 kB / 0.5729 GB, free: 8.359 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.34e-05/0.4257, allocations: 11.98 kB / 0.5729 GB, free: 8.348 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.647e-05/0.4257, allocations: 79.28 kB / 0.5729 GB, free: 8.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4257, allocations: 0 / 0.5729 GB, free: 8.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001569/0.4273, allocations: 0.6284 MB / 0.5736 GB, free: 7.641 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.004254/0.4316, allocations: 1.147 MB / 0.5747 GB, free: 6.461 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007698/0.4323, allocations: 259.5 kB / 0.5749 GB, free: 6.207 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4323, allocations: 0 / 0.5749 GB, free: 6.207 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003448/0.4327, allocations: 123.8 kB / 0.575 GB, free: 6.086 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002345/0.4329, allocations: 25.11 kB / 0.5751 GB, free: 6.066 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/0.4346, allocations: 420.6 kB / 0.5755 GB, free: 5.605 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.4349, allocations: 0.6931 MB / 0.5761 GB, free: 4.883 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002276/0.4351, allocations: 81.08 kB / 0.5762 GB, free: 4.805 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001563/0.4352, allocations: 55.39 kB / 0.5763 GB, free: 4.75 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4352, allocations: 0 / 0.5763 GB, free: 4.75 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08721/0.5225, allocations: 55.33 MB / 0.6303 GB, free: 13.42 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.45, allocations: 0 / 0.6303 GB, free: 13.42 MB / 478.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative_fmu --startTime=0 --stopTime=2 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.34449438500451]