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.001369/0.001369, allocations: 114 kB / 20.44 MB, free: 1.469 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.001473/0.001473, allocations: 213.4 kB / 23.74 MB, free: 4.695 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.437/1.437, allocations: 230.5 MB / 257.4 MB, free: 8.016 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.2247/0.2247, allocations: 46.92 MB / 360.8 MB, free: 4.191 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.002326/0.002326, allocations: 83.88 kB / 0.4962 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3039, allocations: 66.09 MB / 0.5608 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.5436/0.8475, allocations: 186.9 MB / 0.7432 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005993/0.8535, allocations: 3.697 MB / 0.7468 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008842/0.8544, allocations: 27.28 kB / 0.7469 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001188/0.8555, allocations: 325.8 kB / 0.7472 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005205/0.8607, allocations: 1.764 MB / 0.7489 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002216/0.863, allocations: 0.7199 MB / 0.7496 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001827/0.8648, allocations: 1.56 MB / 0.7511 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006075/0.8654, allocations: 359.9 kB / 0.7515 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001108/0.8665, allocations: 0.6054 MB / 0.7521 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007614/0.8673, allocations: 488.1 kB / 0.7525 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.601e-05/0.8674, allocations: 52 kB / 0.7526 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00402/0.8714, allocations: 2.416 MB / 0.7549 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002732/0.8717, allocations: 165.5 kB / 0.7551 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005975/0.8723, allocations: 345.6 kB / 0.7554 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003273/0.8755, allocations: 2.004 MB / 0.7574 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.8755, allocations: 0.9375 kB / 0.7574 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8755, allocations: 0 / 0.7574 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.548e-05/0.8756, allocations: 0.9688 kB / 0.7574 GB, free: 1.527 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.002087/0.8776, allocations: 1.037 MB / 0.7584 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.8777, allocations: 11 kB / 0.7584 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.381e-05/0.8778, allocations: 77.45 kB / 0.7585 GB, free: 16.92 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009981/0.8788, allocations: 141.1 kB / 0.7586 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008066/0.8796, allocations: 433.4 kB / 0.759 GB, free: 16.69 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.974e-05/0.8796, allocations: 33.03 kB / 0.7591 GB, free: 16.69 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.227e-05/0.8797, allocations: 40.22 kB / 0.7591 GB, free: 16.69 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000963/0.8806, allocations: 0.5892 MB / 0.7597 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.8807, allocations: 0 / 0.7597 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.62e-05/0.8807, allocations: 25.06 kB / 0.7597 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.8807, allocations: 10.88 kB / 0.7597 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008007/0.8815, allocations: 479.2 kB / 0.7602 GB, free: 16.56 MB / 0.5762 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.002907/0.8844, allocations: 2.623 MB / 0.7627 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006249/0.8851, allocations: 328 kB / 0.763 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002597/0.8853, allocations: 155.8 kB / 0.7632 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002306/0.8855, allocations: 53.03 kB / 0.7632 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.88e-05/0.8856, allocations: 40.06 kB / 0.7633 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 1.964e-06/0.8856, allocations: 1.031 kB / 0.7633 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001595/0.8872, allocations: 0.6527 MB / 0.7639 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/0.8873, allocations: 134.9 kB / 0.7641 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004957/0.8878, allocations: 483.3 kB / 0.7645 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.923e-05/0.8878, allocations: 30.98 kB / 0.7645 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001873/0.888, allocations: 283.1 kB / 0.7648 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.23e-05/0.8881, allocations: 124 kB / 0.7649 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001387/0.8882, allocations: 104.9 kB / 0.765 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.8884, allocations: 364.5 kB / 0.7654 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002697/0.8887, allocations: 146.8 kB / 0.7655 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003408/0.889, allocations: 288.1 kB / 0.7658 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006367/0.8897, allocations: 438.8 kB / 0.7662 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.8897, allocations: 2.141 kB / 0.7662 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009177/0.8906, allocations: 0.5383 MB / 0.7667 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.8906, allocations: 8.25 kB / 0.7667 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.8906, allocations: 3.781 kB / 0.7667 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001428/0.892, allocations: 237.3 kB / 0.767 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003379/0.8924, allocations: 105.8 kB / 0.7671 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005911/0.893, allocations: 0.5993 MB / 0.7677 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004212/0.8934, allocations: 51.45 kB / 0.7677 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-05/0.8935, allocations: 44.5 kB / 0.7678 GB, free: 12.88 MB / 0.5762 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.0003097/0.8938, allocations: 184.5 kB / 0.7679 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/0.8939, allocations: 54.33 kB / 0.768 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001867/0.8958, allocations: 1.091 MB / 0.769 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.8958, allocations: 4.062 kB / 0.7691 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.8958, allocations: 0 / 0.7691 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.615e-06/0.8958, allocations: 5.469 kB / 0.7691 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001449/0.8972, allocations: 0.9848 MB / 0.77 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.8973, allocations: 2.469 kB / 0.77 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001936/0.8974, allocations: 54.14 kB / 0.7701 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003001/0.9004, allocations: 442.2 kB / 0.7705 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.223e-05/0.9005, allocations: 15.31 kB / 0.7705 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000514/0.901, allocations: 0.606 MB / 0.7711 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.901, allocations: 2.562 kB / 0.7711 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008021/0.9018, allocations: 0.513 MB / 0.7716 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/0.9019, allocations: 56.36 kB / 0.7717 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.679e-05/0.902, allocations: 18.73 kB / 0.7717 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003274/0.9024, allocations: 23.62 kB / 0.7717 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.127e-05/0.9024, allocations: 27.69 kB / 0.7717 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.884e-05/0.9025, allocations: 17.86 kB / 0.7717 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004692/0.9029, allocations: 410.5 kB / 0.7721 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9029, allocations: 1 kB / 0.7721 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009607/0.9039, allocations: 338.7 kB / 0.7725 GB, free: 11.29 MB / 0.5762 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.001935/0.9058, allocations: 1.368 MB / 0.7738 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007748/0.9066, allocations: 352.9 kB / 0.7741 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.9066, allocations: 3.344 kB / 0.7741 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003085/0.9069, allocations: 165 kB / 0.7743 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001617/0.9085, allocations: 380.7 kB / 0.7747 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00634/0.9149, allocations: 4.869 MB / 0.7794 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004745/0.9153, allocations: 0.8601 MB / 0.7802 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001066/0.9164, allocations: 0.5502 MB / 0.7808 GB, free: 7.762 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003391/0.9167, allocations: 230.1 kB / 0.781 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of SimCode: time 7.31e-07/0.9167, allocations: 0.875 kB / 0.781 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06526/0.982, allocations: 23.95 MB / 0.8044 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.18/15.16, allocations: 11.94 kB / 0.8044 GB, free: 12.67 MB / 0.5919 GB " [Timeout remaining time 645] (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: 18.173741402104497]