Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.EdgedBend,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00111/0.001115, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001246/0.001247, allocations: 201.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2041/0.2041, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002718/0.002718, allocations: 75.88 kB / 480.8 MB, free: 4.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.3783, allocations: 62.44 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.2171/0.5955, allocations: 186 MB / 0.7121 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005899/0.6014, allocations: 3.655 MB / 0.7157 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006496/0.6021, allocations: 19.88 kB / 0.7157 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009555/0.6031, allocations: 321.9 kB / 0.716 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004268/0.6074, allocations: 1.72 MB / 0.7177 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001853/0.6093, allocations: 0.7175 MB / 0.7184 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.3196/0.929, allocations: 1.517 MB / 0.7199 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001047/0.9301, allocations: 424.8 kB / 0.7203 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001374/0.9314, allocations: 0.5928 MB / 0.7209 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000756/0.9322, allocations: 452.8 kB / 0.7213 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000117/0.9323, allocations: 50.09 kB / 0.7213 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00367/0.936, allocations: 1.921 MB / 0.7232 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002948/0.9363, allocations: 159.5 kB / 0.7234 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006775/0.937, allocations: 342.7 kB / 0.7237 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003489/0.9405, allocations: 1.821 MB / 0.7255 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.9406, allocations: 1.781 kB / 0.7255 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.996e-06/0.9406, allocations: 0 / 0.7255 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.459e-05/0.9406, allocations: 3.688 kB / 0.7255 GB, free: 3.512 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.002115/0.9427, allocations: 1.083 MB / 0.7265 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/0.9428, allocations: 9.438 kB / 0.7266 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002988/0.9431, allocations: 85.05 kB / 0.7266 GB, free: 18.85 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/0.9441, allocations: 138.3 kB / 0.7268 GB, free: 18.82 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008943/0.945, allocations: 487.3 kB / 0.7272 GB, free: 18.56 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.878e-05/0.9451, allocations: 33.64 kB / 0.7273 GB, free: 18.56 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.487e-05/0.9452, allocations: 39.41 kB / 0.7273 GB, free: 18.56 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/0.9462, allocations: 0.5928 MB / 0.7279 GB, free: 18.45 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.9463, allocations: 1.203 kB / 0.7279 GB, free: 18.45 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.244e-05/0.9463, allocations: 20.5 kB / 0.7279 GB, free: 18.45 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.9463, allocations: 12.84 kB / 0.7279 GB, free: 18.45 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008018/0.9471, allocations: 478.4 kB / 0.7284 GB, free: 18.44 MB / 0.5763 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.002864/0.95, allocations: 2.642 MB / 0.731 GB, free: 16.66 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006517/0.9507, allocations: 349.1 kB / 0.7313 GB, free: 16.63 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002688/0.951, allocations: 171.6 kB / 0.7314 GB, free: 16.62 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004133/0.9514, allocations: 439.1 kB / 0.7319 GB, free: 16.15 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.9514, allocations: 37.44 kB / 0.7319 GB, free: 16.11 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=33): time 2.124e-06/0.9514, allocations: 3.406 kB / 0.7319 GB, free: 16.11 MB / 0.5763 GB Notification: Performance of matching and sorting (n=33): time 0.001625/0.9531, allocations: 0.7065 MB / 0.7326 GB, free: 15.95 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.672e-05/0.9532, allocations: 137.3 kB / 0.7327 GB, free: 15.79 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000446/0.9536, allocations: 464.9 kB / 0.7332 GB, free: 15.68 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 4.549e-05/0.9537, allocations: 32.61 kB / 0.7332 GB, free: 15.64 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/0.9539, allocations: 278.8 kB / 0.7335 GB, free: 15.5 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 7.53e-05/0.9539, allocations: 117.5 kB / 0.7336 GB, free: 15.43 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001476/0.9541, allocations: 104.8 kB / 0.7337 GB, free: 15.41 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.9542, allocations: 365 kB / 0.734 GB, free: 15.09 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002776/0.9545, allocations: 146.2 kB / 0.7342 GB, free: 15.09 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003429/0.9549, allocations: 281.7 kB / 0.7344 GB, free: 14.95 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006182/0.9555, allocations: 435.2 kB / 0.7348 GB, free: 14.83 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.9555, allocations: 4.5 kB / 0.7349 GB, free: 14.83 MB / 0.5763 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009087/0.9564, allocations: 0.5284 MB / 0.7354 GB, free: 14.76 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.9565, allocations: 6.703 kB / 0.7354 GB, free: 14.76 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.9565, allocations: 6.547 kB / 0.7354 GB, free: 14.76 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001468/0.9579, allocations: 236.2 kB / 0.7356 GB, free: 14.75 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000345/0.9583, allocations: 107.4 kB / 0.7357 GB, free: 14.75 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004505/0.9588, allocations: 0.597 MB / 0.7363 GB, free: 14.23 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003722/0.9592, allocations: 46.09 kB / 0.7363 GB, free: 14.2 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.495e-05/0.9592, allocations: 48.41 kB / 0.7364 GB, free: 14.2 MB / 0.5763 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.0002425/0.9595, allocations: 176.3 kB / 0.7366 GB, free: 14.09 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.9596, allocations: 53.16 kB / 0.7366 GB, free: 14.06 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001663/0.9613, allocations: 1.085 MB / 0.7377 GB, free: 13.91 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.9613, allocations: 3.75 kB / 0.7377 GB, free: 13.91 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.9613, allocations: 1.203 kB / 0.7377 GB, free: 13.91 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.9613, allocations: 5.625 kB / 0.7377 GB, free: 13.91 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001366/0.9627, allocations: 1.007 MB / 0.7387 GB, free: 13.54 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.9627, allocations: 1.031 kB / 0.7387 GB, free: 13.54 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001975/0.9629, allocations: 54.88 kB / 0.7387 GB, free: 13.54 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00302/0.9659, allocations: 436.4 kB / 0.7391 GB, free: 13.53 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.672e-05/0.966, allocations: 14.2 kB / 0.7391 GB, free: 13.53 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004467/0.9664, allocations: 0.5962 MB / 0.7397 GB, free: 13.01 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.9665, allocations: 6.344 kB / 0.7397 GB, free: 13.01 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007831/0.9672, allocations: 0.5021 MB / 0.7402 GB, free: 12.8 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001857/0.9674, allocations: 134.6 kB / 0.7403 GB, free: 12.67 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.788e-05/0.9675, allocations: 18.09 kB / 0.7404 GB, free: 12.67 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003254/0.9679, allocations: 14.45 kB / 0.7404 GB, free: 12.67 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.087e-05/0.9679, allocations: 33.97 kB / 0.7404 GB, free: 12.66 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.052e-05/0.968, allocations: 14.09 kB / 0.7404 GB, free: 12.66 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0004395/0.9684, allocations: 398.7 kB / 0.7408 GB, free: 12.58 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9684, allocations: 0 / 0.7408 GB, free: 12.58 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.001071/0.9695, allocations: 337.6 kB / 0.7411 GB, free: 12.53 MB / 0.5763 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.002025/0.9715, allocations: 1.395 MB / 0.7425 GB, free: 11.72 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0008385/0.9724, allocations: 379.2 kB / 0.7428 GB, free: 11.71 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.9724, allocations: 4.312 kB / 0.7429 GB, free: 11.71 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0003127/0.9727, allocations: 162.9 kB / 0.743 GB, free: 11.71 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001725/0.9745, allocations: 372.5 kB / 0.7434 GB, free: 11.66 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006287/0.9808, allocations: 4.794 MB / 0.748 GB, free: 9.762 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004097/0.9812, allocations: 0.8561 MB / 0.7489 GB, free: 9.062 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.001036/0.9823, allocations: 0.5486 MB / 0.7494 GB, free: 9.02 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003483/0.9826, allocations: 223 kB / 0.7496 GB, free: 9.008 MB / 0.5763 GB Notification: Performance of SimCode: time 8.82e-07/0.9826, allocations: 0 / 0.7496 GB, free: 9.008 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05082/1.033, allocations: 23.39 MB / 0.7725 GB, free: 3.184 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/13.64, allocations: 12.31 kB / 0.7725 GB, free: 3.172 MB / 0.5763 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches