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.001324/0.001324, allocations: 111.1 kB / 20.44 MB, free: 1.199 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.001438/0.001438, allocations: 207.1 kB / 23.73 MB, free: 4.414 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.762 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.2278/0.2278, allocations: 46.96 MB / 360.8 MB, free: 4.027 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.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 0.002306/0.002306, allocations: 83.86 kB / 0.4962 GB, free: 7.551 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2812/0.2835, allocations: 66.08 MB / 0.5607 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.2015/0.485, allocations: 161.7 MB / 0.7186 GB, free: 1.707 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006389/0.4914, allocations: 3.406 MB / 0.722 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006374/0.4921, allocations: 19.81 kB / 0.722 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009372/0.493, allocations: 317.9 kB / 0.7223 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004659/0.4977, allocations: 1.77 MB / 0.724 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001922/0.4996, allocations: 0.7079 MB / 0.7247 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002166/0.5017, allocations: 1.544 MB / 0.7262 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006607/0.5024, allocations: 379.8 kB / 0.7266 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001053/0.5035, allocations: 0.6033 MB / 0.7272 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006894/0.5041, allocations: 458 kB / 0.7276 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001125/0.5043, allocations: 52 kB / 0.7277 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00275/0.507, allocations: 1.197 MB / 0.7288 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002234/0.5072, allocations: 159.4 kB / 0.729 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003619/0.5076, allocations: 294.8 kB / 0.7293 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00286/0.5105, allocations: 1.674 MB / 0.7309 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.5105, allocations: 0 / 0.7309 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5105, allocations: 0 / 0.7309 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.648e-05/0.5105, allocations: 0 / 0.7309 GB, free: 5.125 MB / 0.5606 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.002043/0.5125, allocations: 1.029 MB / 0.7319 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.5126, allocations: 12.02 kB / 0.7319 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001087/0.5127, allocations: 82.53 kB / 0.732 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009853/0.5137, allocations: 139.5 kB / 0.7321 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008806/0.5145, allocations: 429.6 kB / 0.7325 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.49e-05/0.5146, allocations: 36.88 kB / 0.7326 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.565e-05/0.5146, allocations: 40 kB / 0.7326 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001362/0.516, allocations: 0.8958 MB / 0.7335 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.516, allocations: 0 / 0.7335 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.051e-05/0.5161, allocations: 16 kB / 0.7335 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.589e-05/0.5161, allocations: 16 kB / 0.7335 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009912/0.5171, allocations: 475.6 kB / 0.734 GB, free: 1.797 MB / 0.5606 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.226/0.7431, allocations: 1.962 MB / 0.7359 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009213/0.744, allocations: 321.8 kB / 0.7362 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003546/0.7444, allocations: 158 kB / 0.7363 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002704/0.7446, allocations: 51.78 kB / 0.7364 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.7447, allocations: 42.47 kB / 0.7364 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.224e-06/0.7447, allocations: 0.5312 kB / 0.7364 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001923/0.7466, allocations: 0.6465 MB / 0.7371 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/0.7466, allocations: 134.1 kB / 0.7372 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006812/0.7473, allocations: 484.8 kB / 0.7376 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.643e-05/0.7474, allocations: 37.67 kB / 0.7377 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001605/0.7475, allocations: 289.5 kB / 0.738 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.411e-05/0.7476, allocations: 122.7 kB / 0.7381 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001442/0.7478, allocations: 103.9 kB / 0.7382 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.145e-05/0.7478, allocations: 357.7 kB / 0.7385 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002951/0.7481, allocations: 150.2 kB / 0.7387 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003807/0.7485, allocations: 359.9 kB / 0.739 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006122/0.7491, allocations: 442.6 kB / 0.7394 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.7491, allocations: 0 / 0.7394 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009088/0.75, allocations: 0.5446 MB / 0.74 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.7501, allocations: 7.5 kB / 0.74 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.7501, allocations: 7.594 kB / 0.74 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001554/0.7516, allocations: 244.2 kB / 0.7402 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003664/0.752, allocations: 103.8 kB / 0.7403 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003966/0.7524, allocations: 0.5922 MB / 0.7409 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003188/0.7527, allocations: 55.48 kB / 0.7409 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.91e-05/0.7528, allocations: 43.28 kB / 0.741 GB, free: 173.1 MB / 0.5606 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.0002297/0.753, allocations: 181.8 kB / 0.7411 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.762e-05/0.7531, allocations: 55.17 kB / 0.7412 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001499/0.7546, allocations: 1.093 MB / 0.7423 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.7546, allocations: 4 kB / 0.7423 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.7546, allocations: 0 / 0.7423 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.7546, allocations: 2.016 kB / 0.7423 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.7558, allocations: 0.9256 MB / 0.7432 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.7558, allocations: 4 kB / 0.7432 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001861/0.756, allocations: 56.7 kB / 0.7432 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002824/0.7588, allocations: 444.4 kB / 0.7437 GB, free: 171 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.345e-05/0.7588, allocations: 12 kB / 0.7437 GB, free: 171 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002785/0.7591, allocations: 0.5992 MB / 0.7443 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.7591, allocations: 3.938 kB / 0.7443 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005968/0.7597, allocations: 0.5105 MB / 0.7448 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.162e-05/0.7598, allocations: 62.41 kB / 0.7448 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.809e-05/0.7599, allocations: 17.91 kB / 0.7448 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003012/0.7602, allocations: 12 kB / 0.7448 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.079e-05/0.7602, allocations: 33.48 kB / 0.7449 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.63e-05/0.7603, allocations: 23.92 kB / 0.7449 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000356/0.7606, allocations: 406.8 kB / 0.7453 GB, free: 169.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.7606, allocations: 0 / 0.7453 GB, free: 169.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000839/0.7615, allocations: 340.4 kB / 0.7456 GB, free: 169.1 MB / 0.5606 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.001512/0.763, allocations: 1.384 MB / 0.747 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007215/0.7637, allocations: 356.3 kB / 0.7473 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.7637, allocations: 4 kB / 0.7473 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002929/0.764, allocations: 159 kB / 0.7475 GB, free: 167.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001551/0.7655, allocations: 380.2 kB / 0.7478 GB, free: 166.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005205/0.7707, allocations: 4.851 MB / 0.7526 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001771/0.7709, allocations: 259.6 kB / 0.7528 GB, free: 161.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009091/0.7718, allocations: 0.5499 MB / 0.7533 GB, free: 160.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003137/0.7721, allocations: 231.3 kB / 0.7536 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of SimCode: time 8.12e-07/0.7721, allocations: 0 / 0.7536 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04976/0.8219, allocations: 25.53 MB / 0.7785 GB, free: 135.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.97/13.79, allocations: 7.984 kB / 0.7785 GB, free: 135.5 MB / 0.5606 GB " [Timeout remaining time 646] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/CurvedBend/CurvedBend.csv","/var/lib/jenkins1/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: 16.799075681716204]