Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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.0007969/0.0007969, allocations: 80.53 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007949/0.0007949, allocations: 169.9 kB / 23.21 MB, free: 1.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.7895/0.7895, allocations: 158.6 MB / 185 MB, free: 3.023 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1323/0.1323, allocations: 32.37 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TestRegRoot2Derivatives,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 406.8 MB, free: 2.266 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.254e-05/2.422e-05, allocations: 14.02 kB / 406.8 MB, free: 2.254 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001193/0.001217, allocations: 0.5376 MB / 407.4 MB, free: 1.719 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005217/0.001739, allocations: 380.6 kB / 407.7 MB, free: 1.344 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.421e-05/0.001763, allocations: 0 / 407.7 MB, free: 1.344 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.563e-05/0.001779, allocations: 7.938 kB / 407.7 MB, free: 1.336 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 3.122e-05/0.00181, allocations: 3.938 kB / 407.8 MB, free: 1.332 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004119/0.002222, allocations: 135.5 kB / 407.9 MB, free: 1.199 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 5.642e-05/0.002278, allocations: 27.92 kB / 407.9 MB, free: 1.172 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.369e-05/0.002322, allocations: 4 kB / 407.9 MB, free: 1.168 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.402e-05/0.002356, allocations: 11.92 kB / 407.9 MB, free: 1.156 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.477e-05/0.002411, allocations: 23.91 kB / 407.9 MB, free: 1.133 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.002423, allocations: 4 kB / 408 MB, free: 1.129 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001755/0.002598, allocations: 139.8 kB / 408.1 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.317e-05/0.002612, allocations: 4 kB / 408.1 MB, free: 0.9883 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.838e-05/0.00263, allocations: 11.94 kB / 408.1 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001604/0.00279, allocations: 143.7 kB / 408.2 MB, free: 0.8359 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.002792, allocations: 0 / 408.2 MB, free: 0.8359 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.002793, allocations: 0 / 408.2 MB, free: 0.8359 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.566e-06/0.002797, allocations: 0 / 408.2 MB, free: 0.8359 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003123/0.003109, allocations: 290 kB / 408.5 MB, free: 0.5234 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.003145, allocations: 8.031 kB / 408.5 MB, free: 0.5156 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.8e-05/0.003173, allocations: 42.69 kB / 408.6 MB, free: 476 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.958e-05/0.003193, allocations: 8.875 kB / 408.6 MB, free: 468 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.428e-05/0.003267, allocations: 121.7 kB / 408.7 MB, free: 320 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.003277, allocations: 8.312 kB / 408.7 MB, free: 312 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.003296, allocations: 4.375 kB / 408.7 MB, free: 308 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.596e-05/0.003392, allocations: 50.25 kB / 408.8 MB, free: 252 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.003402, allocations: 4.188 kB / 408.8 MB, free: 248 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.003411, allocations: 4.359 kB / 408.8 MB, free: 244 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.003415, allocations: 3.938 kB / 408.8 MB, free: 240 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.972e-05/0.003465, allocations: 23.98 kB / 408.8 MB, free: 216 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001221/0.003587, allocations: 144.7 kB / 408.9 MB, free: 28 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.003756, allocations: 50.62 kB / 409 MB, free: 15.96 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.062e-05/0.003786, allocations: 20.78 kB / 409 MB, free: 15.95 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001538/0.00394, allocations: 35.95 kB / 409 MB, free: 15.91 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.00396, allocations: 34.55 kB / 409.1 MB, free: 15.87 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/0.003962, allocations: 0 / 409.1 MB, free: 15.87 MB / 394.7 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: k2 2: k1 3: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.05877/0.06273, allocations: 6.377 MB / 415.5 MB, free: 9.445 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.06277, allocations: 51.41 kB / 415.5 MB, free: 9.383 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.83e-05/0.06283, allocations: 113.8 kB / 415.6 MB, free: 9.262 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/0.06286, allocations: 25.7 kB / 415.6 MB, free: 9.23 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.556e-05/0.06288, allocations: 88.08 kB / 415.7 MB, free: 9.141 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.33e-05/0.06294, allocations: 67.42 kB / 415.8 MB, free: 9.074 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.06305, allocations: 85.59 kB / 415.9 MB, free: 8.984 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.276e-05/0.06312, allocations: 323.3 kB / 416.2 MB, free: 8.66 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000312/0.06343, allocations: 223.8 kB / 416.4 MB, free: 8.441 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00031/0.06374, allocations: 239.4 kB / 416.6 MB, free: 8.211 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.06485, allocations: 0.5551 MB / 417.2 MB, free: 7.652 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.06485, allocations: 0 / 417.2 MB, free: 7.652 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001011/0.06586, allocations: 0.6143 MB / 417.8 MB, free: 7.031 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.06588, allocations: 4 kB / 417.8 MB, free: 7.027 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.06589, allocations: 7.984 kB / 417.8 MB, free: 7.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.0659, allocations: 0 / 417.8 MB, free: 7.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002972/0.0662, allocations: 107.8 kB / 417.9 MB, free: 6.914 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.0662, allocations: 4 kB / 417.9 MB, free: 6.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001825/0.06639, allocations: 28.2 kB / 418 MB, free: 6.883 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.706e-05/0.06642, allocations: 31.94 kB / 418 MB, free: 6.852 MB / 394.7 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 (19): * Single equations (assignments): 19 * 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 9.774e-05/0.06652, allocations: 125.7 kB / 418.1 MB, free: 6.719 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.902e-05/0.06656, allocations: 7.953 kB / 418.1 MB, free: 6.711 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001164/0.06772, allocations: 0.7313 MB / 418.9 MB, free: 5.98 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.06773, allocations: 4 kB / 418.9 MB, free: 5.977 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.06773, allocations: 0 / 418.9 MB, free: 5.977 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.06774, allocations: 3.984 kB / 418.9 MB, free: 5.973 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002056/0.06979, allocations: 1.079 MB / 419.9 MB, free: 4.824 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.0698, allocations: 4 kB / 420 MB, free: 4.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002329/0.07003, allocations: 95.8 kB / 420 MB, free: 4.727 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.07003, allocations: 7.938 kB / 420.1 MB, free: 4.719 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.8e-05/0.07006, allocations: 27.95 kB / 420.1 MB, free: 4.691 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.339e-06/0.07006, allocations: 7.984 kB / 420.1 MB, free: 4.684 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.07007, allocations: 4 kB / 420.1 MB, free: 4.68 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009022/0.07097, allocations: 0.5745 MB / 420.7 MB, free: 4.07 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.367e-05/0.07098, allocations: 11.89 kB / 420.7 MB, free: 4.059 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.062e-05/0.07101, allocations: 11.98 kB / 420.7 MB, free: 4.047 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/0.07119, allocations: 19.97 kB / 420.7 MB, free: 4.027 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.128e-05/0.07121, allocations: 23.91 kB / 420.7 MB, free: 4.004 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-05/0.07124, allocations: 31.95 kB / 420.8 MB, free: 3.973 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.508e-05/0.07127, allocations: 83.28 kB / 420.8 MB, free: 3.891 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.07127, allocations: 0 / 420.8 MB, free: 3.891 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001045/0.07231, allocations: 0.648 MB / 421.5 MB, free: 3.242 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 19 * 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.003065/0.07538, allocations: 1.333 MB / 422.8 MB, free: 1.863 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006804/0.07606, allocations: 431.5 kB / 423.2 MB, free: 1.441 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.07606, allocations: 0 / 423.2 MB, free: 1.441 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002882/0.07635, allocations: 195.8 kB / 423.4 MB, free: 1.25 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.07656, allocations: 24.97 kB / 423.5 MB, free: 1.23 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001724/0.07828, allocations: 0.6087 MB / 424.1 MB, free: 0.5586 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.371e-05/0.07834, allocations: 79.81 kB / 424.1 MB, free: 468 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002444/0.07858, allocations: 133.2 kB / 424.3 MB, free: 332 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002206/0.0788, allocations: 96.34 kB / 424.4 MB, free: 236 kB / 394.7 MB Notification: Performance of SimCode: time 4.1e-07/0.0788, allocations: 0 / 424.4 MB, free: 236 kB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.294/0.3728, allocations: 60.26 MB / 484.6 MB, free: 80.16 MB / 442.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.617/6.99, allocations: 6.594 kB / 484.6 MB, free: 80.16 MB / 442.8 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives_fmu --startTime=0 --stopTime=2 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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: 8.83609576150775]