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.001458/0.001458, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.00174/0.00174, allocations: 209.5 kB / 24.52 MB, free: 3.918 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.376/1.376, allocations: 230.5 MB / 258.2 MB, free: 7.75 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.2177/0.2177, allocations: 46.95 MB / 361.6 MB, free: 3.926 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.002173/0.002173, allocations: 75.88 kB / 0.4969 GB, free: 7.559 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3034, allocations: 66.08 MB / 0.5614 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001625/0.3051, allocations: 0.5227 MB / 0.5619 GB, free: 3.508 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007445/0.3058, allocations: 378.9 kB / 0.5623 GB, free: 3.133 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.766e-05/0.3058, allocations: 4 kB / 0.5623 GB, free: 3.129 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.198e-05/0.3059, allocations: 0 / 0.5623 GB, free: 3.129 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.521e-05/0.3059, allocations: 3.938 kB / 0.5623 GB, free: 3.125 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004473/0.3063, allocations: 135.4 kB / 0.5624 GB, free: 2.996 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.606e-05/0.3064, allocations: 35.91 kB / 0.5625 GB, free: 2.961 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.496e-05/0.3064, allocations: 0 / 0.5625 GB, free: 2.961 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.55e-05/0.3065, allocations: 23.92 kB / 0.5625 GB, free: 2.938 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.944e-05/0.3065, allocations: 15.92 kB / 0.5625 GB, free: 2.922 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.3065, allocations: 4 kB / 0.5625 GB, free: 2.918 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002353/0.3068, allocations: 151.8 kB / 0.5627 GB, free: 2.77 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.408e-05/0.3068, allocations: 4 kB / 0.5627 GB, free: 2.766 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.367e-05/0.3068, allocations: 15.92 kB / 0.5627 GB, free: 2.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002054/0.307, allocations: 125.6 kB / 0.5628 GB, free: 2.629 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.307, allocations: 0 / 0.5628 GB, free: 2.629 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.307, allocations: 0 / 0.5628 GB, free: 2.629 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.307, allocations: 0 / 0.5628 GB, free: 2.629 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.0004298/0.3074, allocations: 294 kB / 0.5631 GB, free: 2.312 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.3075, allocations: 16.03 kB / 0.5631 GB, free: 2.297 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.64e-05/0.3075, allocations: 4.188 kB / 0.5631 GB, free: 2.293 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.28e-05/0.3075, allocations: 38.69 kB / 0.5631 GB, free: 2.246 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.784e-05/0.3075, allocations: 12.88 kB / 0.5631 GB, free: 2.234 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.172e-05/0.3076, allocations: 110.5 kB / 0.5633 GB, free: 2.102 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.198e-06/0.3076, allocations: 384 / 0.5633 GB, free: 2.102 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.3077, allocations: 8.375 kB / 0.5633 GB, free: 2.094 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.3078, allocations: 65.8 kB / 0.5633 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.3078, allocations: 0 / 0.5633 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.3078, allocations: 4 kB / 0.5633 GB, free: 2.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.3078, allocations: 4 kB / 0.5633 GB, free: 2.016 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.537e-05/0.3079, allocations: 47.89 kB / 0.5634 GB, free: 1.969 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001877/0.3081, allocations: 148.6 kB / 0.5635 GB, free: 1.781 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.3082, allocations: 78.55 kB / 0.5636 GB, free: 1.695 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.063e-05/0.3083, allocations: 32.34 kB / 0.5636 GB, free: 1.664 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002253/0.3085, allocations: 23.97 kB / 0.5636 GB, free: 1.641 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.3085, allocations: 42.44 kB / 0.5637 GB, free: 1.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.3085, allocations: 0 / 0.5637 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.1215/0.43, allocations: 5.606 MB / 0.5692 GB, free: 11.94 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.426e-05/0.4301, allocations: 59.34 kB / 0.5692 GB, free: 11.87 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.426e-05/0.4301, allocations: 97.8 kB / 0.5693 GB, free: 11.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.063e-05/0.4302, allocations: 29.7 kB / 0.5693 GB, free: 11.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.845e-05/0.4302, allocations: 88.62 kB / 0.5694 GB, free: 11.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.036e-05/0.4303, allocations: 79.33 kB / 0.5695 GB, free: 11.56 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.4304, allocations: 61.67 kB / 0.5696 GB, free: 11.49 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.4306, allocations: 322.8 kB / 0.5699 GB, free: 11.17 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003293/0.4309, allocations: 107.9 kB / 0.57 GB, free: 11.06 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003278/0.4312, allocations: 115.9 kB / 0.5701 GB, free: 10.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001389/0.4326, allocations: 325 kB / 0.5704 GB, free: 10.63 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.4326, allocations: 0 / 0.5704 GB, free: 10.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001255/0.4339, allocations: 357.2 kB / 0.5707 GB, free: 10.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.4339, allocations: 7.938 kB / 0.5707 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.4339, allocations: 4 kB / 0.5707 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.4339, allocations: 0 / 0.5707 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003904/0.4343, allocations: 75.92 kB / 0.5708 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.4343, allocations: 3.938 kB / 0.5708 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001978/0.4345, allocations: 31.89 kB / 0.5708 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.559e-05/0.4345, allocations: 19.98 kB / 0.5709 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.0001711/0.4347, allocations: 123.1 kB / 0.571 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.404e-05/0.4348, allocations: 7.953 kB / 0.571 GB, free: 9.996 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001376/0.4361, allocations: 429.9 kB / 0.5714 GB, free: 9.562 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.4361, allocations: 4 kB / 0.5714 GB, free: 9.559 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.4361, allocations: 0 / 0.5714 GB, free: 9.559 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.4361, allocations: 3.938 kB / 0.5714 GB, free: 9.555 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002208/0.4384, allocations: 0.7289 MB / 0.5721 GB, free: 8.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.86e-06/0.4384, allocations: 4 kB / 0.5721 GB, free: 8.766 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002887/0.4386, allocations: 71.92 kB / 0.5722 GB, free: 8.695 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.4386, allocations: 0 / 0.5722 GB, free: 8.695 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.805e-05/0.4387, allocations: 19.92 kB / 0.5722 GB, free: 8.676 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.299e-05/0.4387, allocations: 12.05 kB / 0.5722 GB, free: 8.664 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4387, allocations: 0 / 0.5722 GB, free: 8.664 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.4398, allocations: 421.1 kB / 0.5726 GB, free: 8.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.186e-05/0.4399, allocations: 19.92 kB / 0.5726 GB, free: 8.211 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.108e-05/0.4399, allocations: 8 kB / 0.5727 GB, free: 8.203 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/0.4401, allocations: 23.97 kB / 0.5727 GB, free: 8.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.784e-05/0.4401, allocations: 15.97 kB / 0.5727 GB, free: 8.164 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.799e-05/0.4401, allocations: 11.98 kB / 0.5727 GB, free: 8.152 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.193e-05/0.4402, allocations: 79.28 kB / 0.5728 GB, free: 8.074 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4402, allocations: 0 / 0.5728 GB, free: 8.074 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001726/0.4419, allocations: 0.6284 MB / 0.5734 GB, free: 7.445 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.004679/0.4466, allocations: 1.151 MB / 0.5745 GB, free: 6.262 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00083/0.4474, allocations: 263.5 kB / 0.5748 GB, free: 6.004 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.4474, allocations: 0 / 0.5748 GB, free: 6.004 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003477/0.4478, allocations: 127.8 kB / 0.5749 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.0002596/0.448, allocations: 17.41 kB / 0.5749 GB, free: 5.867 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001762/0.4498, allocations: 424.7 kB / 0.5753 GB, free: 5.402 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.835e-05/0.4499, allocations: 80.05 kB / 0.5754 GB, free: 5.301 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002247/0.4501, allocations: 81.03 kB / 0.5755 GB, free: 5.223 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001664/0.4503, allocations: 59.38 kB / 0.5755 GB, free: 5.164 MB / 414.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4503, allocations: 0 / 0.5755 GB, free: 5.164 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08868/0.5389, allocations: 55.51 MB / 0.6297 GB, free: 13.66 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.61, allocations: 8.062 kB / 0.6297 GB, free: 13.65 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.523169248946942]