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.001287/0.001287, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001418/0.001418, allocations: 214.3 kB / 23.73 MB, free: 4.164 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.404/1.404, allocations: 230.5 MB / 257.4 MB, free: 7.793 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.219/0.219, allocations: 46.95 MB / 360.8 MB, free: 3.914 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002357/0.002357, allocations: 80.2 kB / 0.4961 GB, free: 7.543 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3506, allocations: 66.08 MB / 0.5607 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001616/0.3522, allocations: 0.5289 MB / 0.5612 GB, free: 3.492 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007987/0.353, allocations: 386.8 kB / 0.5616 GB, free: 3.109 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.012e-05/0.353, allocations: 0 / 0.5616 GB, free: 3.109 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.654e-05/0.3531, allocations: 3.938 kB / 0.5616 GB, free: 3.105 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.5e-05/0.3531, allocations: 0 / 0.5616 GB, free: 3.105 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004861/0.3536, allocations: 139.4 kB / 0.5617 GB, free: 2.973 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.491e-05/0.3536, allocations: 27.97 kB / 0.5617 GB, free: 2.945 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.134e-05/0.3537, allocations: 4 kB / 0.5617 GB, free: 2.941 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.121e-05/0.3537, allocations: 23.86 kB / 0.5618 GB, free: 2.918 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.546e-05/0.3538, allocations: 15.92 kB / 0.5618 GB, free: 2.902 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.3538, allocations: 4 kB / 0.5618 GB, free: 2.898 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002518/0.354, allocations: 135.8 kB / 0.5619 GB, free: 2.766 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.815e-05/0.3541, allocations: 11.94 kB / 0.5619 GB, free: 2.754 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.793e-05/0.3541, allocations: 15.92 kB / 0.5619 GB, free: 2.738 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002169/0.3543, allocations: 117.7 kB / 0.562 GB, free: 2.625 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3543, allocations: 0 / 0.562 GB, free: 2.625 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3543, allocations: 0 / 0.562 GB, free: 2.625 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.3543, allocations: 3.938 kB / 0.562 GB, free: 2.621 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.0004321/0.3547, allocations: 298 kB / 0.5623 GB, free: 2.301 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.3548, allocations: 16.03 kB / 0.5623 GB, free: 2.285 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.965e-05/0.3548, allocations: 34.75 kB / 0.5624 GB, free: 2.242 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.947e-05/0.3549, allocations: 8.891 kB / 0.5624 GB, free: 2.234 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.355, allocations: 110.5 kB / 0.5625 GB, free: 2.102 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.355, allocations: 8.375 kB / 0.5625 GB, free: 2.094 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.355, allocations: 4.375 kB / 0.5625 GB, free: 2.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.3552, allocations: 69.98 kB / 0.5626 GB, free: 2.016 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.3552, allocations: 0 / 0.5626 GB, free: 2.016 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.3552, allocations: 0 / 0.5626 GB, free: 2.016 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.3552, allocations: 0 / 0.5626 GB, free: 2.016 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.458e-05/0.3553, allocations: 55.83 kB / 0.5626 GB, free: 1.961 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001949/0.3555, allocations: 148.6 kB / 0.5628 GB, free: 1.773 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.3556, allocations: 74.55 kB / 0.5628 GB, free: 1.691 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.14e-05/0.3557, allocations: 28.84 kB / 0.5629 GB, free: 1.66 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002256/0.3559, allocations: 27.95 kB / 0.5629 GB, free: 1.633 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.3559, allocations: 34.5 kB / 0.5629 GB, free: 1.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.132e-06/0.3559, allocations: 0 / 0.5629 GB, free: 1.59 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.1286/0.4846, allocations: 5.615 MB / 0.5684 GB, free: 11.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.852e-05/0.4846, allocations: 55.34 kB / 0.5685 GB, free: 11.87 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.866e-05/0.4847, allocations: 93.86 kB / 0.5685 GB, free: 11.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.038e-05/0.4847, allocations: 29.7 kB / 0.5686 GB, free: 11.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.443e-05/0.4848, allocations: 80.52 kB / 0.5687 GB, free: 11.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.401e-05/0.4849, allocations: 87.38 kB / 0.5687 GB, free: 11.56 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.485, allocations: 61.67 kB / 0.5688 GB, free: 11.49 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.4851, allocations: 326.8 kB / 0.5691 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003584/0.4855, allocations: 111.9 kB / 0.5692 GB, free: 11.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000353/0.4858, allocations: 119.9 kB / 0.5693 GB, free: 10.94 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001411/0.4872, allocations: 317 kB / 0.5696 GB, free: 10.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.4872, allocations: 4 kB / 0.5696 GB, free: 10.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001166/0.4884, allocations: 353.2 kB / 0.57 GB, free: 10.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.4884, allocations: 8 kB / 0.57 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.4884, allocations: 0 / 0.57 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.4884, allocations: 3.984 kB / 0.57 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00037/0.4888, allocations: 79.92 kB / 0.5701 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.4888, allocations: 3.984 kB / 0.5701 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001832/0.489, allocations: 27.91 kB / 0.5701 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.503e-05/0.489, allocations: 19.97 kB / 0.5701 GB, free: 10.13 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.0001252/0.4892, allocations: 121.8 kB / 0.5702 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.632e-05/0.4892, allocations: 11.95 kB / 0.5702 GB, free: 9.988 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001385/0.4906, allocations: 429.9 kB / 0.5706 GB, free: 9.555 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.4906, allocations: 0 / 0.5706 GB, free: 9.555 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.4906, allocations: 0 / 0.5706 GB, free: 9.555 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.4906, allocations: 3.938 kB / 0.5706 GB, free: 9.551 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002201/0.4928, allocations: 0.7402 MB / 0.5714 GB, free: 8.758 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.4928, allocations: 3.938 kB / 0.5714 GB, free: 8.754 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000281/0.4931, allocations: 71.92 kB / 0.5714 GB, free: 8.684 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.4931, allocations: 4 kB / 0.5714 GB, free: 8.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/0.4931, allocations: 12 kB / 0.5715 GB, free: 8.668 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.4931, allocations: 3.984 kB / 0.5715 GB, free: 8.664 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.4931, allocations: 4.062 kB / 0.5715 GB, free: 8.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.4943, allocations: 425 kB / 0.5719 GB, free: 8.223 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.77e-05/0.4943, allocations: 11.95 kB / 0.5719 GB, free: 8.211 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.094e-05/0.4943, allocations: 11.92 kB / 0.5719 GB, free: 8.199 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/0.4945, allocations: 27.97 kB / 0.5719 GB, free: 8.172 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.765e-05/0.4945, allocations: 15.95 kB / 0.5719 GB, free: 8.156 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.613e-05/0.4946, allocations: 16 kB / 0.572 GB, free: 8.141 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.156e-05/0.4946, allocations: 75.28 kB / 0.572 GB, free: 8.066 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4946, allocations: 0 / 0.572 GB, free: 8.066 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001533/0.4961, allocations: 0.6324 MB / 0.5726 GB, free: 7.434 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.004259/0.5004, allocations: 1.143 MB / 0.5738 GB, free: 6.258 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007926/0.5012, allocations: 255.5 kB / 0.574 GB, free: 6.008 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5012, allocations: 0 / 0.574 GB, free: 6.008 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003592/0.5015, allocations: 131.9 kB / 0.5741 GB, free: 5.879 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002449/0.5018, allocations: 13.56 kB / 0.5741 GB, free: 5.871 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.5034, allocations: 424.6 kB / 0.5745 GB, free: 5.406 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.838e-05/0.5034, allocations: 83.98 kB / 0.5746 GB, free: 5.301 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000254/0.5037, allocations: 81.08 kB / 0.5747 GB, free: 5.223 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/0.5038, allocations: 51.39 kB / 0.5748 GB, free: 5.172 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.5039, allocations: 0 / 0.5748 GB, free: 5.172 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09841/0.6023, allocations: 55.83 MB / 0.6293 GB, free: 13.33 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.61, allocations: 4 kB / 0.6293 GB, free: 13.33 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.463120328262448]