Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.000949/0.000949, allocations: 80.48 kB / 19.92 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.0009506/0.0009506, allocations: 169.9 kB / 23.21 MB, free: 1.352 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.8452/0.8452, allocations: 158.6 MB / 185 MB, free: 3.02 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.1329/0.1329, 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.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 406.8 MB, free: 13.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.953e-05/2.094e-05, allocations: 5.938 kB / 406.8 MB, free: 13.52 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001095/0.001116, allocations: 0.5339 MB / 407.4 MB, free: 12.99 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005116/0.001628, allocations: 372.7 kB / 407.7 MB, free: 12.62 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.272e-05/0.001651, allocations: 4 kB / 407.7 MB, free: 12.62 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.73e-05/0.001668, allocations: 3.938 kB / 407.7 MB, free: 12.62 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.105e-05/0.001689, allocations: 0 / 407.7 MB, free: 12.62 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003856/0.002075, allocations: 143.4 kB / 407.9 MB, free: 12.48 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.017e-05/0.002125, allocations: 27.97 kB / 407.9 MB, free: 12.45 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.216e-05/0.002167, allocations: 4 kB / 407.9 MB, free: 12.45 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.417e-05/0.002201, allocations: 27.92 kB / 407.9 MB, free: 12.42 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.246e-05/0.002244, allocations: 11.97 kB / 408 MB, free: 12.41 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.002254, allocations: 4 kB / 408 MB, free: 12.4 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001799/0.002434, allocations: 143.8 kB / 408.1 MB, free: 12.26 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.254e-05/0.002447, allocations: 11.88 kB / 408.1 MB, free: 12.25 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.696e-05/0.002464, allocations: 7.984 kB / 408.1 MB, free: 12.24 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001626/0.002626, allocations: 151.6 kB / 408.3 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.002628, allocations: 0 / 408.3 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.002629, allocations: 0 / 408.3 MB, free: 12.09 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.002633, allocations: 0 / 408.3 MB, free: 12.09 MB / 346.7 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.0002889/0.002922, allocations: 294 kB / 408.6 MB, free: 11.78 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.002958, allocations: 8.031 kB / 408.6 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.18e-05/0.00299, allocations: 46.72 kB / 408.6 MB, free: 11.71 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.275e-05/0.003013, allocations: 4.891 kB / 408.6 MB, free: 11.71 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.128e-05/0.003084, allocations: 113.7 kB / 408.7 MB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.003094, allocations: 4.375 kB / 408.7 MB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.137e-05/0.003116, allocations: 8.375 kB / 408.7 MB, free: 11.56 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.003218, allocations: 66.17 kB / 408.8 MB, free: 11.49 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.00323, allocations: 4.172 kB / 408.8 MB, free: 11.49 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.003241, allocations: 384 / 408.8 MB, free: 11.49 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.003248, allocations: 7.938 kB / 408.8 MB, free: 11.48 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.27e-05/0.003311, allocations: 43.97 kB / 408.9 MB, free: 11.44 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001249/0.003436, allocations: 144.7 kB / 409 MB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.847e-05/0.003534, allocations: 82.61 kB / 409.1 MB, free: 11.16 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.397e-05/0.003568, allocations: 28.84 kB / 409.1 MB, free: 11.13 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001573/0.003726, allocations: 27.91 kB / 409.1 MB, free: 11.11 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.003745, allocations: 34.56 kB / 409.2 MB, free: 11.06 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 7.91e-07/0.003746, allocations: 0 / 409.2 MB, free: 11.06 MB / 346.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: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.05675/0.0605, allocations: 5.621 MB / 414.8 MB, free: 5.402 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/0.06054, allocations: 55.41 kB / 414.8 MB, free: 5.336 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.473e-05/0.06059, allocations: 93.84 kB / 414.9 MB, free: 5.234 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.06061, allocations: 29.7 kB / 415 MB, free: 5.199 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.149e-05/0.06063, allocations: 88.64 kB / 415 MB, free: 5.105 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.636e-05/0.06069, allocations: 79.27 kB / 415.1 MB, free: 5.027 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.625e-05/0.06075, allocations: 57.67 kB / 415.2 MB, free: 4.965 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.694e-05/0.06083, allocations: 326.8 kB / 415.5 MB, free: 4.637 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001835/0.06101, allocations: 111.8 kB / 415.6 MB, free: 4.527 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001871/0.0612, allocations: 119.9 kB / 415.7 MB, free: 4.41 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006953/0.0619, allocations: 325 kB / 416 MB, free: 4.09 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.0619, allocations: 0 / 416 MB, free: 4.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006153/0.06251, allocations: 357 kB / 416.4 MB, free: 3.734 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.06253, allocations: 4 kB / 416.4 MB, free: 3.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.06253, allocations: 0 / 416.4 MB, free: 3.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.06255, allocations: 7.984 kB / 416.4 MB, free: 3.723 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001854/0.06273, allocations: 75.92 kB / 416.5 MB, free: 3.648 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.06274, allocations: 11.92 kB / 416.5 MB, free: 3.637 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.026e-05/0.06282, allocations: 19.97 kB / 416.5 MB, free: 3.617 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.206e-05/0.06284, allocations: 27.97 kB / 416.5 MB, free: 3.59 MB / 346.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 (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 7.726e-05/0.06292, allocations: 117.8 kB / 416.7 MB, free: 3.465 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.112e-05/0.06294, allocations: 11.95 kB / 416.7 MB, free: 3.453 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007378/0.06368, allocations: 422 kB / 417.1 MB, free: 3.027 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.06368, allocations: 4 kB / 417.1 MB, free: 3.023 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.06369, allocations: 4 kB / 417.1 MB, free: 3.02 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.06369, allocations: 0 / 417.1 MB, free: 3.02 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/0.06485, allocations: 0.7328 MB / 417.8 MB, free: 2.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.06485, allocations: 0 / 417.8 MB, free: 2.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001282/0.06498, allocations: 75.92 kB / 417.9 MB, free: 2.156 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.06498, allocations: 0 / 417.9 MB, free: 2.156 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.065, allocations: 15.94 kB / 417.9 MB, free: 2.141 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.065, allocations: 7.984 kB / 417.9 MB, free: 2.133 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.06501, allocations: 11.94 kB / 417.9 MB, free: 2.121 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005835/0.06559, allocations: 409 kB / 418.3 MB, free: 1.699 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.05e-05/0.0656, allocations: 15.89 kB / 418.3 MB, free: 1.684 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.06562, allocations: 11.98 kB / 418.4 MB, free: 1.672 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.524e-05/0.06571, allocations: 23.97 kB / 418.4 MB, free: 1.648 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.812e-05/0.06572, allocations: 11.97 kB / 418.4 MB, free: 1.637 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.06574, allocations: 15.94 kB / 418.4 MB, free: 1.621 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.04e-05/0.06576, allocations: 79.22 kB / 418.5 MB, free: 1.543 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06576, allocations: 4 kB / 418.5 MB, free: 1.539 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001043/0.0668, allocations: 0.6284 MB / 419.1 MB, free: 0.9102 MB / 346.7 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.002795/0.0696, allocations: 1.174 MB / 420.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004252/0.07002, allocations: 247.7 kB / 420.5 MB, free: 15.46 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.07002, allocations: 0 / 420.5 MB, free: 15.46 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001817/0.0702, allocations: 127.8 kB / 420.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001759/0.07038, allocations: 21.94 kB / 420.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.07141, allocations: 428.7 kB / 421.1 MB, free: 14.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.225e-05/0.07147, allocations: 80.06 kB / 421.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001385/0.07161, allocations: 77.14 kB / 421.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.07171, allocations: 64.42 kB / 421.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of SimCode: time 5e-07/0.07171, allocations: 0 / 421.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1946/0.2663, allocations: 55.93 MB / 477.2 MB, free: 8.16 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.821/7.087, allocations: 3.281 kB / 477.2 MB, free: 8.16 MB / 362.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative_fmu --startTime=0 --stopTime=2 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 8.964596461504698]