Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.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.0008326/0.0008326, allocations: 80.36 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001209/0.001209, allocations: 160.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8855/0.8855, allocations: 177 MB / 204.1 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.2383/0.2383, allocations: 34.24 MB / 294.8 MB, free: 0.6797 MB / 266.7 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.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 7.875 kB / 442.2 MB, free: 1.531 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.884e-05/2.07e-05, allocations: 4.531 kB / 442.2 MB, free: 1.527 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.3059/0.3059, allocations: 161.6 MB / 0.5897 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.004932/0.3109, allocations: 3.413 MB / 0.593 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007522/0.3116, allocations: 23.75 kB / 0.593 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0009776/0.3126, allocations: 321.7 kB / 0.5933 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.004035/0.3166, allocations: 1.792 MB / 0.5951 GB, free: 9.188 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001482/0.3181, allocations: 0.729 MB / 0.5958 GB, free: 8.465 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001824/0.3199, allocations: 1.559 MB / 0.5973 GB, free: 6.902 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006505/0.3206, allocations: 355.9 kB / 0.5976 GB, free: 6.551 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001226/0.3218, allocations: 0.7987 MB / 0.5984 GB, free: 5.75 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005235/0.3223, allocations: 418.8 kB / 0.5988 GB, free: 5.34 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 7.887e-05/0.3224, allocations: 52 kB / 0.5989 GB, free: 5.289 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002175/0.3246, allocations: 1.201 MB / 0.6 GB, free: 4.086 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002195/0.3248, allocations: 163.3 kB / 0.6002 GB, free: 3.926 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003728/0.3252, allocations: 247.5 kB / 0.6004 GB, free: 3.684 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.002942/0.3281, allocations: 1.784 MB / 0.6022 GB, free: 1.895 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3281, allocations: 0 / 0.6022 GB, free: 1.895 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.904e-06/0.3281, allocations: 0 / 0.6022 GB, free: 1.895 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.968e-05/0.3281, allocations: 0 / 0.6022 GB, free: 1.895 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.001855/0.33, allocations: 1.037 MB / 0.6032 GB, free: 0.8242 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/0.3301, allocations: 12.03 kB / 0.6032 GB, free: 0.8125 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.67e-05/0.3301, allocations: 86.52 kB / 0.6033 GB, free: 0.7188 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005924/0.3307, allocations: 131.5 kB / 0.6034 GB, free: 0.5898 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007225/0.3315, allocations: 425.6 kB / 0.6038 GB, free: 148 kB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/0.3315, allocations: 33 kB / 0.6039 GB, free: 116 kB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.521e-05/0.3315, allocations: 36 kB / 0.6039 GB, free: 80 kB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009344/0.3325, allocations: 0.9035 MB / 0.6048 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.3325, allocations: 0 / 0.6048 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.277e-05/0.3325, allocations: 24 kB / 0.6048 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.3325, allocations: 8 kB / 0.6048 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006154/0.3331, allocations: 471.6 kB / 0.6053 GB, free: 14.57 MB / 0.5105 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001977/0.3351, allocations: 1.962 MB / 0.6072 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004996/0.3356, allocations: 327.2 kB / 0.6075 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001831/0.3358, allocations: 153.3 kB / 0.6076 GB, free: 12.06 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001796/0.336, allocations: 52.25 kB / 0.6077 GB, free: 12.01 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.336, allocations: 39.41 kB / 0.6077 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=33): time 2.986e-06/0.336, allocations: 3.938 kB / 0.6077 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.001109/0.3371, allocations: 0.6514 MB / 0.6084 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.19e-05/0.3372, allocations: 132.5 kB / 0.6085 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000413/0.3376, allocations: 489.9 kB / 0.6089 GB, free: 10.65 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.423e-05/0.3376, allocations: 33.7 kB / 0.609 GB, free: 10.61 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/0.3378, allocations: 285.2 kB / 0.6092 GB, free: 10.33 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.327e-05/0.3379, allocations: 122.9 kB / 0.6094 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.338, allocations: 102.2 kB / 0.6095 GB, free: 10.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.3381, allocations: 358.8 kB / 0.6098 GB, free: 9.742 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001948/0.3383, allocations: 155.6 kB / 0.61 GB, free: 9.594 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002868/0.3386, allocations: 357.4 kB / 0.6103 GB, free: 9.168 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004475/0.339, allocations: 433.6 kB / 0.6107 GB, free: 8.699 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.339, allocations: 0 / 0.6107 GB, free: 8.699 MB / 0.5105 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006551/0.3397, allocations: 0.5484 MB / 0.6112 GB, free: 8.141 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.3397, allocations: 10.81 kB / 0.6113 GB, free: 8.133 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.3397, allocations: 7.938 kB / 0.6113 GB, free: 8.125 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000788/0.3405, allocations: 244.9 kB / 0.6115 GB, free: 7.883 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002004/0.3407, allocations: 99.94 kB / 0.6116 GB, free: 7.785 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003376/0.341, allocations: 0.5992 MB / 0.6122 GB, free: 7.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/0.3412, allocations: 51.61 kB / 0.6122 GB, free: 7.109 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.544e-05/0.3413, allocations: 47.98 kB / 0.6123 GB, free: 7.062 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002137/0.3415, allocations: 177.7 kB / 0.6124 GB, free: 6.879 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.405e-05/0.3416, allocations: 55.67 kB / 0.6125 GB, free: 6.824 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001177/0.3428, allocations: 1.093 MB / 0.6136 GB, free: 5.723 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.3428, allocations: 0 / 0.6136 GB, free: 5.723 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.3428, allocations: 4 kB / 0.6136 GB, free: 5.719 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.3428, allocations: 0 / 0.6136 GB, free: 5.719 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009762/0.3438, allocations: 0.9278 MB / 0.6145 GB, free: 4.723 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.3438, allocations: 0 / 0.6145 GB, free: 4.723 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.3439, allocations: 60.11 kB / 0.6145 GB, free: 4.664 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001432/0.3453, allocations: 444.1 kB / 0.615 GB, free: 4.227 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.825e-05/0.3453, allocations: 12.81 kB / 0.615 GB, free: 4.215 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003281/0.3457, allocations: 0.6147 MB / 0.6156 GB, free: 3.574 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3457, allocations: 0 / 0.6156 GB, free: 3.574 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005326/0.3462, allocations: 0.5092 MB / 0.6161 GB, free: 3.035 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.822e-05/0.3463, allocations: 59.66 kB / 0.6161 GB, free: 2.977 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.276e-05/0.3463, allocations: 12 kB / 0.6161 GB, free: 2.965 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001741/0.3465, allocations: 15.98 kB / 0.6161 GB, free: 2.949 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.521e-05/0.3466, allocations: 23.97 kB / 0.6162 GB, free: 2.926 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.262e-05/0.3466, allocations: 19.98 kB / 0.6162 GB, free: 2.906 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000348/0.3469, allocations: 406.8 kB / 0.6166 GB, free: 2.512 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9e-08/0.3469, allocations: 0 / 0.6166 GB, free: 2.512 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007873/0.3477, allocations: 346.9 kB / 0.6169 GB, free: 2.172 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001435/0.3492, allocations: 1.38 MB / 0.6183 GB, free: 0.7461 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005967/0.3498, allocations: 372.5 kB / 0.6186 GB, free: 392 kB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3498, allocations: 0 / 0.6186 GB, free: 392 kB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002035/0.35, allocations: 153.7 kB / 0.6188 GB, free: 240 kB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.351, allocations: 390 kB / 0.6191 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004763/0.3558, allocations: 4.864 MB / 0.6239 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001734/0.3559, allocations: 271.4 kB / 0.6241 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007496/0.3567, allocations: 0.5527 MB / 0.6247 GB, free: 9.961 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002719/0.357, allocations: 224.4 kB / 0.6249 GB, free: 9.742 MB / 0.5261 GB Notification: Performance of SimCode: time 1.373e-06/0.357, allocations: 0 / 0.6249 GB, free: 9.742 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2007/0.5576, allocations: 25.6 MB / 0.6499 GB, free: 163.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.221/8.779, allocations: 12.72 kB / 0.6499 GB, free: 163.1 MB / 0.5261 GB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/CurvedBend/CurvedBend.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.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: 10.805325079709291]