Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|p_table.a|p_table.b|p_table.last|p_table.nextEvent",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|p_table.a|p_table.b|p_table.last|p_table.nextEvent",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009441/0.0009442, allocations: 98.05 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008926/0.0008927, allocations: 181.5 kB / 18.91 MB, free: 4.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 223.3 MB / 243 MB, free: 172 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2054/0.2054, allocations: 44.25 MB / 338.3 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003219/0.0003221, allocations: 8.594 kB / 411 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1209, allocations: 61.93 MB / 472.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction): time 0.03378/0.1548, allocations: 35.53 MB / 0.4965 GB, free: 9.676 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2721/0.4269, allocations: 16.59 MB / 0.5127 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001818/0.4288, allocations: 47.44 kB / 0.5128 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002009/0.4308, allocations: 0.5586 MB / 0.5133 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006584/0.4374, allocations: 2.078 MB / 0.5153 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00974/0.4472, allocations: 3.018 MB / 0.5183 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00709/0.4543, allocations: 4.85 MB / 0.523 GB, free: 9.715 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002004/0.4563, allocations: 0.8542 MB / 0.5239 GB, free: 9.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003243/0.4596, allocations: 1.219 MB / 0.5251 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002645/0.4622, allocations: 1.233 MB / 0.5263 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000498/0.4627, allocations: 64.62 kB / 0.5263 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007663/0.4704, allocations: 2.955 MB / 0.5292 GB, free: 9.113 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008112/0.4713, allocations: 372 kB / 0.5296 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001907/0.4732, allocations: 0.7672 MB / 0.5303 GB, free: 8.707 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005551/0.4787, allocations: 2.662 MB / 0.5329 GB, free: 7.562 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.4788, allocations: 0 / 0.5329 GB, free: 7.562 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4788, allocations: 0 / 0.5329 GB, free: 7.562 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.275e-05/0.4789, allocations: 0 / 0.5329 GB, free: 7.562 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 254 * Number of variables: 254 Notification: Performance of Generate backend data structure: time 0.004624/0.4835, allocations: 1.858 MB / 0.5347 GB, free: 6.262 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.4836, allocations: 9.312 kB / 0.5347 GB, free: 6.262 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009847/0.4846, allocations: 182.2 kB / 0.5349 GB, free: 6.176 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002086/0.4867, allocations: 1.038 MB / 0.5359 GB, free: 5.602 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.029e-05/0.4868, allocations: 69.86 kB / 0.536 GB, free: 5.598 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002479/0.487, allocations: 94.83 kB / 0.5361 GB, free: 5.598 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002523/0.4896, allocations: 1.456 MB / 0.5375 GB, free: 5.062 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.298e-05/0.4896, allocations: 3.938 kB / 0.5375 GB, free: 5.059 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001669/0.4898, allocations: 49.17 kB / 0.5376 GB, free: 5.059 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.957e-05/0.4899, allocations: 49.2 kB / 0.5376 GB, free: 5.051 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00203/0.4919, allocations: 1.353 MB / 0.5389 GB, free: 4.824 MB / 382.1 MB 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.008329/0.5002, allocations: 6.553 MB / 0.5453 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009663/0.5012, allocations: 0.5704 MB / 0.5459 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005346/0.5018, allocations: 354.1 kB / 0.5462 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02081/0.5226, allocations: 15.32 MB / 0.5612 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007619/0.5234, allocations: 492.7 kB / 0.5616 GB, free: 12.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=49): time 3.306e-06/0.5234, allocations: 0 / 0.5616 GB, free: 12.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=49): time 0.001849/0.5253, allocations: 0.9179 MB / 0.5625 GB, free: 11.74 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002632/0.5256, allocations: 0.5427 MB / 0.5631 GB, free: 11.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002136/0.5277, allocations: 1.282 MB / 0.5643 GB, free: 9.773 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001405/0.5279, allocations: 45.64 kB / 0.5644 GB, free: 9.723 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006469/0.5286, allocations: 0.7115 MB / 0.5651 GB, free: 9.012 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002267/0.5288, allocations: 177 kB / 0.5652 GB, free: 8.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001551/0.529, allocations: 85.67 kB / 0.5653 GB, free: 8.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.5291, allocations: 353.9 kB / 0.5656 GB, free: 8.398 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006142/0.5297, allocations: 346.4 kB / 0.566 GB, free: 8.059 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001066/0.5308, allocations: 0.9024 MB / 0.5669 GB, free: 6.902 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001573/0.5324, allocations: 1.201 MB / 0.568 GB, free: 5.488 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-05/0.5324, allocations: 8 kB / 0.568 GB, free: 5.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002476/0.5349, allocations: 1.341 MB / 0.5694 GB, free: 4.129 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004041/0.5353, allocations: 0.5471 MB / 0.5699 GB, free: 3.371 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.455e-05/0.5354, allocations: 15.94 kB / 0.5699 GB, free: 3.355 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.237e-05/0.5354, allocations: 20 kB / 0.5699 GB, free: 3.336 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001578/0.537, allocations: 363.4 kB / 0.5703 GB, free: 2.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008375/0.5378, allocations: 1.245 MB / 0.5715 GB, free: 1.691 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/0.5393, allocations: 182.4 kB / 0.5717 GB, free: 1.512 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001574/0.5395, allocations: 75.98 kB / 0.5717 GB, free: 1.438 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.5395, allocations: 4 kB / 0.5717 GB, free: 1.434 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001964/0.5415, allocations: 1.156 MB / 0.5729 GB, free: 284 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.244e-05/0.5416, allocations: 19.98 kB / 0.5729 GB, free: 264 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.5416, allocations: 20.09 kB / 0.5729 GB, free: 244 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/0.5426, allocations: 287.5 kB / 0.5732 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003679/0.543, allocations: 0.6288 MB / 0.5738 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/0.5443, allocations: 150.8 kB / 0.5739 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001272/0.5444, allocations: 63.98 kB / 0.574 GB, free: 15.09 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 7 (p_table.nextEventScaled,p_table.nextEvent,$PRE.p_table.nextEvent,p_table.last,p_table.b,p_table.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007625/0.5452, allocations: 435.8 kB / 0.5744 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003124/0.5455, allocations: 138.4 kB / 0.5745 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002729/0.5482, allocations: 1.421 MB / 0.5759 GB, free: 13.1 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.836e-05/0.5483, allocations: 19.94 kB / 0.5759 GB, free: 13.08 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.5483, allocations: 3.938 kB / 0.5759 GB, free: 13.08 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.5483, allocations: 7.922 kB / 0.576 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00376/0.5521, allocations: 2.215 MB / 0.5781 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.5521, allocations: 0 / 0.5781 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001282/0.5534, allocations: 247.8 kB / 0.5784 GB, free: 10.58 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.564e-05/0.5534, allocations: 7.938 kB / 0.5784 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.619e-05/0.5535, allocations: 27.98 kB / 0.5784 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006839/0.5542, allocations: 1.18 MB / 0.5795 GB, free: 9.32 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/0.5542, allocations: 7.938 kB / 0.5796 GB, free: 9.312 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001653/0.5559, allocations: 1.072 MB / 0.5806 GB, free: 8.23 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005476/0.5564, allocations: 263 kB / 0.5808 GB, free: 7.953 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003689/0.5568, allocations: 20 kB / 0.5809 GB, free: 7.934 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008914/0.5577, allocations: 51.97 kB / 0.5809 GB, free: 7.883 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.5578, allocations: 60.52 kB / 0.581 GB, free: 7.824 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-05/0.5579, allocations: 27.98 kB / 0.581 GB, free: 7.797 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001486/0.5594, allocations: 0.887 MB / 0.5819 GB, free: 6.91 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5594, allocations: 0 / 0.5819 GB, free: 6.91 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004052/0.5635, allocations: 1.28 MB / 0.5831 GB, free: 5.629 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 6 (p_table.nextEvent,p_table.last,p_table.nextEventScaled,p_table.b,p_table.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003246/0.5668, allocations: 1.046 MB / 0.5841 GB, free: 4.656 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004456/0.5712, allocations: 1.815 MB / 0.5859 GB, free: 2.832 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/0.5713, allocations: 1.719 kB / 0.5859 GB, free: 2.832 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002016/0.5733, allocations: 0.6679 MB / 0.5866 GB, free: 2.152 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003706/0.577, allocations: 0.5663 MB / 0.5871 GB, free: 1.586 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004632/0.5817, allocations: 2.777 MB / 0.5898 GB, free: 14.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009325/0.5827, allocations: 1.171 MB / 0.591 GB, free: 13.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005769/0.5833, allocations: 151.4 kB / 0.5911 GB, free: 13.42 MB / 446.1 MB Notification: Performance of SimCode: time 8.12e-07/0.5833, allocations: 0 / 0.5911 GB, free: 13.42 MB / 446.1 MB Notification: Performance of Templates: time 0.05707/0.6404, allocations: 41.22 MB / 0.6314 GB, free: 4.348 MB / 478.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Fittings/TestWallFriction/TestWallFriction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches