Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.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.001044/0.001044, allocations: 91.5 kB / 21.19 MB, free: 3.375 MB / 18.57 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.00101/0.00101, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 18.57 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.026/1.026, allocations: 177 MB / 204.8 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 179] 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.3026/0.3026, allocations: 34.86 MB / 296.3 MB, free: 0.4922 MB / 266.7 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: translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|ramp.y|boundary.ports.[0-9,]+..m_flow|boundary.ports.[0-9,]+..p|boundary.ports.[0-9,]+..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|ramp.y|boundary.ports.[0-9,]+..m_flow|boundary.ports.[0-9,]+..p|boundary.ports.[0-9,]+..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 378.8 MB, free: 2.051 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.426e-05/2.557e-05, allocations: 8.422 kB / 378.8 MB, free: 2.043 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.3646/0.3646, allocations: 148.6 MB / 0.515 GB, free: 14.86 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00305/0.3677, allocations: 2.018 MB / 0.517 GB, free: 13.54 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003863/0.3681, allocations: 24 kB / 0.517 GB, free: 13.52 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000499/0.3686, allocations: 164.9 kB / 0.5172 GB, free: 13.44 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002172/0.3707, allocations: 1.009 MB / 0.5182 GB, free: 12.89 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.3717, allocations: 0.5448 MB / 0.5187 GB, free: 12.6 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001387/0.3731, allocations: 1.475 MB / 0.5201 GB, free: 11.89 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005591/0.3737, allocations: 365 kB / 0.5205 GB, free: 11.68 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008331/0.3745, allocations: 0.7206 MB / 0.5212 GB, free: 11.4 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003752/0.3749, allocations: 398.3 kB / 0.5216 GB, free: 11.27 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.303e-05/0.375, allocations: 48.84 kB / 0.5216 GB, free: 11.27 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009724/0.3759, allocations: 0.5991 MB / 0.5222 GB, free: 11.12 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.376, allocations: 162.7 kB / 0.5223 GB, free: 11.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001819/0.3762, allocations: 242.5 kB / 0.5226 GB, free: 10.93 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009775/0.3772, allocations: 0.9899 MB / 0.5235 GB, free: 10.55 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.3772, allocations: 0 / 0.5235 GB, free: 10.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.3772, allocations: 0 / 0.5235 GB, free: 10.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.144e-06/0.3772, allocations: 0 / 0.5235 GB, free: 10.55 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001082/0.3783, allocations: 1.009 MB / 0.5245 GB, free: 9.836 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.3783, allocations: 11.34 kB / 0.5245 GB, free: 9.836 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005998/0.3789, allocations: 217 kB / 0.5247 GB, free: 9.746 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004113/0.3794, allocations: 419 kB / 0.5251 GB, free: 9.473 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.3794, allocations: 34.94 kB / 0.5252 GB, free: 9.457 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.008e-05/0.3794, allocations: 44.09 kB / 0.5252 GB, free: 9.441 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005996/0.38, allocations: 0.8031 MB / 0.526 GB, free: 8.777 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.38, allocations: 2.812 kB / 0.526 GB, free: 8.777 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.754e-05/0.3801, allocations: 17.59 kB / 0.526 GB, free: 8.766 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/0.3801, allocations: 11.3 kB / 0.526 GB, free: 8.766 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003333/0.3804, allocations: 240.9 kB / 0.5263 GB, free: 8.723 MB / 410.7 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.001449/0.3819, allocations: 2.21 MB / 0.5284 GB, free: 6.949 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002999/0.3822, allocations: 184.1 kB / 0.5286 GB, free: 6.883 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.3823, allocations: 75.2 kB / 0.5287 GB, free: 6.859 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001479/0.3824, allocations: 48.33 kB / 0.5287 GB, free: 6.855 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.3824, allocations: 43.89 kB / 0.5288 GB, free: 6.805 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 1.663e-06/0.3824, allocations: 0 / 0.5288 GB, free: 6.805 MB / 410.7 MB Notification: Performance of matching and sorting (n=29): time 0.001136/0.3836, allocations: 480 kB / 0.5292 GB, free: 6.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.3836, allocations: 134.1 kB / 0.5293 GB, free: 6.504 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002335/0.3839, allocations: 409.7 kB / 0.5297 GB, free: 6.262 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.3839, allocations: 32.83 kB / 0.5298 GB, free: 6.227 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.384, allocations: 323.6 kB / 0.5301 GB, free: 5.957 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.154e-05/0.384, allocations: 108.7 kB / 0.5302 GB, free: 5.871 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.3842, allocations: 113.2 kB / 0.5303 GB, free: 5.816 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.687e-05/0.3842, allocations: 0.5203 MB / 0.5308 GB, free: 5.309 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.3843, allocations: 68.94 kB / 0.5309 GB, free: 5.301 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001911/0.3845, allocations: 331.1 kB / 0.5312 GB, free: 4.969 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003081/0.3848, allocations: 319.6 kB / 0.5315 GB, free: 4.727 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.3848, allocations: 0 / 0.5315 GB, free: 4.727 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005053/0.3853, allocations: 399.3 kB / 0.5319 GB, free: 4.582 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.3854, allocations: 8.5 kB / 0.5319 GB, free: 4.582 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.3854, allocations: 7 kB / 0.5319 GB, free: 4.578 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008849/0.3863, allocations: 220 kB / 0.5321 GB, free: 4.547 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002276/0.3865, allocations: 100.9 kB / 0.5322 GB, free: 4.539 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005128/0.387, allocations: 0.8358 MB / 0.533 GB, free: 3.727 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002089/0.3872, allocations: 33.25 kB / 0.533 GB, free: 3.707 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.484e-05/0.3873, allocations: 48.89 kB / 0.5331 GB, free: 3.703 MB / 410.7 MB 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 (41): * Single equations (assignments): 40 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001694/0.3874, allocations: 189.3 kB / 0.5333 GB, free: 3.516 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.606e-05/0.3875, allocations: 56.25 kB / 0.5333 GB, free: 3.488 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/0.3887, allocations: 0.9164 MB / 0.5342 GB, free: 3.195 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.3887, allocations: 2.781 kB / 0.5342 GB, free: 3.195 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3887, allocations: 0 / 0.5342 GB, free: 3.195 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.3887, allocations: 0 / 0.5342 GB, free: 3.195 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008889/0.3896, allocations: 0.8117 MB / 0.535 GB, free: 2.652 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.3896, allocations: 2.688 kB / 0.535 GB, free: 2.652 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001254/0.3897, allocations: 47.45 kB / 0.535 GB, free: 2.648 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006904/0.3904, allocations: 206.3 kB / 0.5352 GB, free: 2.621 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.565e-05/0.3904, allocations: 11.41 kB / 0.5353 GB, free: 2.617 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004121/0.3908, allocations: 0.8481 MB / 0.5361 GB, free: 1.797 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.3908, allocations: 3.5 kB / 0.5361 GB, free: 1.797 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004394/0.3913, allocations: 460 kB / 0.5365 GB, free: 1.457 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.421e-05/0.3913, allocations: 41.48 kB / 0.5366 GB, free: 1.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.762e-05/0.3914, allocations: 12.27 kB / 0.5366 GB, free: 1.426 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.3915, allocations: 12.19 kB / 0.5366 GB, free: 1.422 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.398e-05/0.3916, allocations: 39.22 kB / 0.5366 GB, free: 1.406 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.341e-05/0.3916, allocations: 16.27 kB / 0.5366 GB, free: 1.406 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001849/0.3918, allocations: 297.1 kB / 0.5369 GB, free: 1.242 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3918, allocations: 0 / 0.5369 GB, free: 1.242 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006256/0.3924, allocations: 227 kB / 0.5371 GB, free: 1.195 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (24): * Single equations (assignments): 23 * 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 Backend phase and start with SimCode phase: time 0.0004662/0.3929, allocations: 285.5 kB / 0.5374 GB, free: 1.047 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006425/0.3935, allocations: 239.2 kB / 0.5376 GB, free: 1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3935, allocations: 3.219 kB / 0.5376 GB, free: 1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002534/0.3938, allocations: 110.1 kB / 0.5378 GB, free: 0.9648 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007658/0.3946, allocations: 297.2 kB / 0.538 GB, free: 0.8984 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.3959, allocations: 0.8425 MB / 0.5389 GB, free: 380 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.768e-05/0.396, allocations: 125 kB / 0.539 GB, free: 300 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005545/0.3965, allocations: 481.5 kB / 0.5394 GB, free: 220 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000161/0.3967, allocations: 89.09 kB / 0.5395 GB, free: 196 kB / 410.7 MB Notification: Performance of SimCode: time 6.21e-07/0.3967, allocations: 0 / 0.5395 GB, free: 196 kB / 410.7 MB Notification: Performance of Templates: time 0.01501/0.4117, allocations: 12.53 MB / 0.5518 GB, free: 7.332 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.1510398127138615]