Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.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.001849/0.001849, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 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.002393/0.002393, allocations: 214.4 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.399/1.399, allocations: 230.6 MB / 257.5 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2227/0.2227, allocations: 46.93 MB / 360.9 MB, free: 4.273 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 71.89 kB / 0.4962 GB, free: 7.879 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3072, allocations: 66.03 MB / 0.5607 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.5186/0.8258, allocations: 186.9 MB / 0.7432 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005059/0.8308, allocations: 3.694 MB / 0.7468 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005722/0.8314, allocations: 22.88 kB / 0.7468 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007808/0.8322, allocations: 328.3 kB / 0.7471 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003862/0.836, allocations: 1.772 MB / 0.7488 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001712/0.8378, allocations: 0.7128 MB / 0.7495 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001657/0.8394, allocations: 1.553 MB / 0.751 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005038/0.8399, allocations: 365.6 kB / 0.7514 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008638/0.8408, allocations: 0.6 MB / 0.752 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005759/0.8414, allocations: 490.8 kB / 0.7524 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.838e-05/0.8414, allocations: 52.48 kB / 0.7525 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003726/0.8452, allocations: 2.415 MB / 0.7549 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002328/0.8454, allocations: 172 kB / 0.755 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005171/0.8459, allocations: 343.1 kB / 0.7553 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003275/0.8492, allocations: 2.005 MB / 0.7573 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.8492, allocations: 0.875 kB / 0.7573 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.803e-06/0.8492, allocations: 0 / 0.7573 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.227e-05/0.8492, allocations: 0.9375 kB / 0.7573 GB, free: 1.523 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.002096/0.8513, allocations: 1.035 MB / 0.7583 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.8513, allocations: 11.88 kB / 0.7583 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001025/0.8514, allocations: 86.66 kB / 0.7584 GB, free: 16.91 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009784/0.8524, allocations: 138.1 kB / 0.7585 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008495/0.8533, allocations: 436 kB / 0.759 GB, free: 16.68 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.8533, allocations: 31.69 kB / 0.759 GB, free: 16.68 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.977e-05/0.8534, allocations: 38.27 kB / 0.759 GB, free: 16.68 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009699/0.8543, allocations: 0.5912 MB / 0.7596 GB, free: 16.56 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.8543, allocations: 3.094 kB / 0.7596 GB, free: 16.56 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.434e-05/0.8544, allocations: 21.09 kB / 0.7596 GB, free: 16.56 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.8544, allocations: 11.03 kB / 0.7596 GB, free: 16.56 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008033/0.8552, allocations: 478 kB / 0.7601 GB, free: 16.55 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.003003/0.8582, allocations: 2.626 MB / 0.7627 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000662/0.8589, allocations: 326.8 kB / 0.763 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002691/0.8591, allocations: 153 kB / 0.7631 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002381/0.8594, allocations: 53.77 kB / 0.7632 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.911e-05/0.8594, allocations: 37.56 kB / 0.7632 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 2.234e-06/0.8594, allocations: 1.062 kB / 0.7632 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001673/0.8611, allocations: 0.651 MB / 0.7638 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.849e-05/0.8612, allocations: 133.8 kB / 0.764 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005141/0.8617, allocations: 479.7 kB / 0.7644 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.584e-05/0.8618, allocations: 32.7 kB / 0.7645 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001882/0.8619, allocations: 284.8 kB / 0.7647 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.265e-05/0.862, allocations: 124 kB / 0.7648 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/0.8622, allocations: 105.5 kB / 0.7649 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001847/0.8624, allocations: 363.7 kB / 0.7653 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002796/0.8627, allocations: 147.1 kB / 0.7654 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000373/0.863, allocations: 288.6 kB / 0.7657 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006315/0.8637, allocations: 435.5 kB / 0.7661 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.8637, allocations: 1.203 kB / 0.7661 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009829/0.8646, allocations: 0.545 MB / 0.7667 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.8647, allocations: 8.688 kB / 0.7667 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.8647, allocations: 2.219 kB / 0.7667 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001446/0.8661, allocations: 233.8 kB / 0.7669 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003496/0.8665, allocations: 109.2 kB / 0.767 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005397/0.867, allocations: 0.5939 MB / 0.7676 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003956/0.8674, allocations: 50.95 kB / 0.7676 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.753e-05/0.8675, allocations: 45.8 kB / 0.7677 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.0002837/0.8678, allocations: 179.1 kB / 0.7678 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/0.8679, allocations: 56.77 kB / 0.7679 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002184/0.8701, allocations: 1.098 MB / 0.769 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.8701, allocations: 6.25 kB / 0.769 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.8701, allocations: 0 / 0.769 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.8701, allocations: 0.8438 kB / 0.769 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001525/0.8716, allocations: 0.9873 MB / 0.7699 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.8716, allocations: 2.094 kB / 0.7699 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002025/0.8718, allocations: 56.48 kB / 0.77 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003083/0.8749, allocations: 435.5 kB / 0.7704 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.012e-05/0.8749, allocations: 12.72 kB / 0.7704 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005003/0.8754, allocations: 0.6096 MB / 0.771 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.8754, allocations: 4.312 kB / 0.771 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008157/0.8763, allocations: 0.5114 MB / 0.7715 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.8764, allocations: 56.84 kB / 0.7716 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.618e-05/0.8765, allocations: 14.73 kB / 0.7716 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003205/0.8768, allocations: 25.5 kB / 0.7716 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.762e-05/0.8769, allocations: 26.11 kB / 0.7716 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.971e-05/0.8769, allocations: 17.92 kB / 0.7717 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004437/0.8774, allocations: 411.5 kB / 0.772 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.8774, allocations: 3.344 kB / 0.772 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001004/0.8784, allocations: 336.7 kB / 0.7724 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.001993/0.8804, allocations: 1.369 MB / 0.7737 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007794/0.8811, allocations: 360.3 kB / 0.774 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.8811, allocations: 0 / 0.774 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003185/0.8815, allocations: 165.9 kB / 0.7742 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.001642/0.8831, allocations: 378.8 kB / 0.7746 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006561/0.8897, allocations: 4.869 MB / 0.7793 GB, free: 8.508 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005446/0.8902, allocations: 0.8586 MB / 0.7802 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00106/0.8913, allocations: 0.559 MB / 0.7807 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003993/0.8917, allocations: 225 kB / 0.7809 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of SimCode: time 6.62e-07/0.8917, allocations: 1.203 kB / 0.7809 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05798/0.9496, allocations: 23.96 MB / 0.8043 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.89/14.84, allocations: 7.562 kB / 0.8043 GB, free: 12.89 MB / 0.5919 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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: 17.775122513994575]