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.001383/0.001383, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001511/0.001511, allocations: 204.8 kB / 23.73 MB, free: 4.379 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.396/1.396, allocations: 230.6 MB / 257.5 MB, free: 7.773 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.2176/0.2176, allocations: 46.95 MB / 360.9 MB, free: 4.012 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.001931/0.001931, allocations: 71.89 kB / 0.4961 GB, free: 7.672 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.2879, allocations: 66.03 MB / 0.5606 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.1914/0.4793, allocations: 161.7 MB / 0.7185 GB, free: 1.859 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006266/0.4855, allocations: 3.403 MB / 0.7219 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006818/0.4862, allocations: 27.75 kB / 0.7219 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009928/0.4872, allocations: 305.9 kB / 0.7222 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004526/0.4917, allocations: 1.779 MB / 0.7239 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001794/0.4935, allocations: 0.7043 MB / 0.7246 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002166/0.4957, allocations: 1.563 MB / 0.7261 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006617/0.4964, allocations: 359.9 kB / 0.7265 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001243/0.4976, allocations: 0.6111 MB / 0.7271 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008245/0.4984, allocations: 494 kB / 0.7276 GB, free: 8.617 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.418e-05/0.4985, allocations: 52 kB / 0.7276 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002897/0.5014, allocations: 1.248 MB / 0.7288 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000244/0.5017, allocations: 163.4 kB / 0.729 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004513/0.5021, allocations: 290.8 kB / 0.7293 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003113/0.5052, allocations: 1.674 MB / 0.7309 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.5052, allocations: 0 / 0.7309 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5052, allocations: 4 kB / 0.7309 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.02e-05/0.5053, allocations: 4 kB / 0.7309 GB, free: 5.18 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.002117/0.5074, allocations: 1.029 MB / 0.7319 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.5074, allocations: 12.03 kB / 0.7319 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001107/0.5075, allocations: 78.53 kB / 0.732 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000992/0.5085, allocations: 135.5 kB / 0.7321 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009188/0.5094, allocations: 429.5 kB / 0.7325 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.162e-05/0.5095, allocations: 40.94 kB / 0.7326 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.438e-05/0.5095, allocations: 40 kB / 0.7326 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001301/0.5109, allocations: 0.8918 MB / 0.7335 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.5109, allocations: 0 / 0.7335 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.316e-05/0.5109, allocations: 23.94 kB / 0.7335 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.5109, allocations: 8 kB / 0.7335 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009505/0.5119, allocations: 483.5 kB / 0.734 GB, free: 1.852 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.2399/0.7518, allocations: 1.954 MB / 0.7359 GB, free: 176.2 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009933/0.7528, allocations: 324.4 kB / 0.7362 GB, free: 176.2 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003702/0.7532, allocations: 155.5 kB / 0.7363 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002927/0.7535, allocations: 52.09 kB / 0.7364 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.7535, allocations: 42.91 kB / 0.7364 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.495e-06/0.7535, allocations: 0 / 0.7364 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001997/0.7555, allocations: 0.6478 MB / 0.7371 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.7555, allocations: 134 kB / 0.7372 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006635/0.7562, allocations: 484.6 kB / 0.7376 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.091e-05/0.7563, allocations: 32.02 kB / 0.7377 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001797/0.7564, allocations: 284 kB / 0.7379 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.3e-05/0.7565, allocations: 126.9 kB / 0.7381 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001537/0.7567, allocations: 105.8 kB / 0.7382 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.071e-05/0.7568, allocations: 362.3 kB / 0.7385 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002842/0.757, allocations: 144.8 kB / 0.7387 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003572/0.7574, allocations: 365.5 kB / 0.739 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000637/0.758, allocations: 441.8 kB / 0.7394 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.758, allocations: 0.7969 kB / 0.7394 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009163/0.7589, allocations: 0.5482 MB / 0.74 GB, free: 174 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.759, allocations: 9.781 kB / 0.74 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.759, allocations: 7.219 kB / 0.74 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001588/0.7606, allocations: 249.8 kB / 0.7402 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003649/0.7609, allocations: 100.1 kB / 0.7403 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003462/0.7613, allocations: 0.5872 MB / 0.7409 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003707/0.7616, allocations: 59.31 kB / 0.7409 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.262e-05/0.7617, allocations: 44.42 kB / 0.741 GB, free: 173.4 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.00025/0.762, allocations: 183.3 kB / 0.7412 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.7621, allocations: 54.94 kB / 0.7412 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001617/0.7637, allocations: 1.081 MB / 0.7423 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.7637, allocations: 7.719 kB / 0.7423 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.7637, allocations: 0 / 0.7423 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.7637, allocations: 6.234 kB / 0.7423 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/0.7649, allocations: 0.9226 MB / 0.7432 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.7649, allocations: 0 / 0.7432 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002061/0.7651, allocations: 54.28 kB / 0.7432 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003267/0.7684, allocations: 441.4 kB / 0.7436 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.071e-05/0.7684, allocations: 15.94 kB / 0.7437 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003325/0.7687, allocations: 0.5994 MB / 0.7442 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.7687, allocations: 7.969 kB / 0.7443 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007341/0.7695, allocations: 0.5058 MB / 0.7448 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001553/0.7696, allocations: 64.39 kB / 0.7448 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.7697, allocations: 14.39 kB / 0.7448 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000337/0.7701, allocations: 15.98 kB / 0.7448 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.642e-05/0.7701, allocations: 37.89 kB / 0.7449 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.174e-05/0.7702, allocations: 11.98 kB / 0.7449 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004073/0.7706, allocations: 414.8 kB / 0.7453 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.7706, allocations: 0 / 0.7453 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009696/0.7715, allocations: 341.9 kB / 0.7456 GB, free: 169.5 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.001732/0.7733, allocations: 1.379 MB / 0.747 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007817/0.7741, allocations: 357.2 kB / 0.7473 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.7741, allocations: 4 kB / 0.7473 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002931/0.7744, allocations: 159 kB / 0.7475 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001559/0.7759, allocations: 367.2 kB / 0.7478 GB, free: 167.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005147/0.7811, allocations: 4.863 MB / 0.7526 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001729/0.7812, allocations: 263.6 kB / 0.7528 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009326/0.7822, allocations: 0.5582 MB / 0.7533 GB, free: 161.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003203/0.7825, allocations: 223.3 kB / 0.7536 GB, free: 161.1 MB / 0.5606 GB Notification: Performance of SimCode: time 1.533e-06/0.7825, allocations: 0 / 0.7536 GB, free: 161.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04807/0.8306, allocations: 25.67 MB / 0.7786 GB, free: 135.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.92/13.75, allocations: 11.17 kB / 0.7786 GB, free: 135.8 MB / 0.5606 GB " [Timeout remaining time 646] (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: 16.73413074601558]