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.00165/0.00165, allocations: 122.7 kB / 18.46 MB, free: 4.566 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.002061/0.002061, allocations: 207.3 kB / 21.41 MB, free: 1.621 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.564/1.564, allocations: 227.4 MB / 251.6 MB, free: 268 kB / 190.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.2407/0.2407, allocations: 46.18 MB / 351.1 MB, free: 14.3 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: translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..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.1..m_flow|boundary.ports.1..p|boundary.ports.1..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 0.002297/0.002297, allocations: 84.31 kB / 490.2 MB, free: 27.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1438, allocations: 62.44 MB / 0.5397 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.627/0.7708, allocations: 185.8 MB / 0.7211 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004728/0.7755, allocations: 2.122 MB / 0.7232 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007573/0.7763, allocations: 15.88 kB / 0.7232 GB, free: 3.887 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001165/0.7775, allocations: 309.9 kB / 0.7235 GB, free: 3.582 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003929/0.7815, allocations: 1.165 MB / 0.7246 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00211/0.7836, allocations: 0.678 MB / 0.7253 GB, free: 1.746 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00245/0.7861, allocations: 1.484 MB / 0.7267 GB, free: 260 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008946/0.787, allocations: 431.2 kB / 0.7272 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001335/0.7884, allocations: 0.5644 MB / 0.7277 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000913/0.7893, allocations: 442.2 kB / 0.7281 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002048/0.7895, allocations: 48 kB / 0.7282 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002094/0.7916, allocations: 0.7919 MB / 0.7289 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002788/0.7919, allocations: 159.4 kB / 0.7291 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0005955/0.7925, allocations: 326.5 kB / 0.7294 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002606/0.7951, allocations: 1.215 MB / 0.7306 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.7951, allocations: 0 / 0.7306 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.102e-06/0.7951, allocations: 4 kB / 0.7306 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.447e-05/0.7952, allocations: 0 / 0.7306 GB, free: 12.29 MB / 0.5294 GB 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.002363/0.7975, allocations: 1 MB / 0.7316 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.7976, allocations: 12.03 kB / 0.7316 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/0.7987, allocations: 139.5 kB / 0.7317 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009137/0.7996, allocations: 468.8 kB / 0.7322 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.115e-05/0.7997, allocations: 33 kB / 0.7322 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.61e-05/0.7998, allocations: 36 kB / 0.7322 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001193/0.801, allocations: 0.5554 MB / 0.7328 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.801, allocations: 3.938 kB / 0.7328 GB, free: 9.922 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.308e-05/0.8011, allocations: 24 kB / 0.7328 GB, free: 9.898 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.8011, allocations: 8 kB / 0.7328 GB, free: 9.891 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009447/0.802, allocations: 408.5 kB / 0.7332 GB, free: 9.492 MB / 0.5294 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.003372/0.8054, allocations: 2.57 MB / 0.7357 GB, free: 6.703 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007411/0.8062, allocations: 298.7 kB / 0.736 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003149/0.8065, allocations: 144.9 kB / 0.7361 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000394/0.8069, allocations: 348.4 kB / 0.7365 GB, free: 5.844 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.985e-05/0.807, allocations: 38.56 kB / 0.7365 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=29): time 2.225e-06/0.807, allocations: 0 / 0.7365 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of matching and sorting (n=29): time 0.002618/0.8096, allocations: 0.7149 MB / 0.7372 GB, free: 5.055 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.847e-05/0.8097, allocations: 136.5 kB / 0.7373 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005675/0.8103, allocations: 445.9 kB / 0.7378 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.02e-05/0.8104, allocations: 33.64 kB / 0.7378 GB, free: 4.41 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002404/0.8106, allocations: 280.2 kB / 0.7381 GB, free: 4.133 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/0.8107, allocations: 103.1 kB / 0.7382 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002141/0.811, allocations: 105.6 kB / 0.7383 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001948/0.8112, allocations: 354.8 kB / 0.7386 GB, free: 3.566 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004262/0.8116, allocations: 143.9 kB / 0.7387 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005351/0.8121, allocations: 280.3 kB / 0.739 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009385/0.8131, allocations: 432.9 kB / 0.7394 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.8131, allocations: 0 / 0.7394 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001383/0.8145, allocations: 0.5293 MB / 0.7399 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/0.8145, allocations: 9.719 kB / 0.7399 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.8146, allocations: 4 kB / 0.7399 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002041/0.8166, allocations: 272.5 kB / 0.7402 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000398/0.817, allocations: 107.8 kB / 0.7403 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009721/0.818, allocations: 0.5992 MB / 0.7409 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004202/0.8184, allocations: 47.66 kB / 0.7409 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.179e-05/0.8185, allocations: 47.97 kB / 0.741 GB, free: 0.9883 MB / 0.5294 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 (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.0003396/0.8189, allocations: 185.6 kB / 0.7412 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001623/0.819, allocations: 59.67 kB / 0.7412 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002228/0.8213, allocations: 1.019 MB / 0.7422 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.8213, allocations: 0 / 0.7422 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.8213, allocations: 0 / 0.7422 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/0.8213, allocations: 8 kB / 0.7422 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001928/0.8233, allocations: 0.9704 MB / 0.7432 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.8233, allocations: 0 / 0.7432 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002439/0.8235, allocations: 52.05 kB / 0.7432 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001796/0.8253, allocations: 256.5 kB / 0.7435 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.246e-05/0.8254, allocations: 15.92 kB / 0.7435 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009307/0.8263, allocations: 0.6031 MB / 0.7441 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.8264, allocations: 4.031 kB / 0.7441 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001373/0.8277, allocations: 0.5158 MB / 0.7446 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001916/0.8279, allocations: 132.7 kB / 0.7447 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001382/0.8281, allocations: 11.94 kB / 0.7447 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004089/0.8285, allocations: 19.97 kB / 0.7447 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.048e-05/0.8286, allocations: 27.89 kB / 0.7448 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.634e-05/0.8286, allocations: 19.97 kB / 0.7448 GB, free: 12.92 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006071/0.8293, allocations: 390.8 kB / 0.7451 GB, free: 12.54 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.7e-07/0.8293, allocations: 0 / 0.7451 GB, free: 12.54 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009236/0.8302, allocations: 219.6 kB / 0.7454 GB, free: 12.32 MB / 0.545 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 (23): * Single equations (assignments): 22 * 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.0009576/0.8312, allocations: 290.3 kB / 0.7456 GB, free: 12.04 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001477/0.8327, allocations: 371.7 kB / 0.746 GB, free: 11.67 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.8327, allocations: 0 / 0.746 GB, free: 11.67 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007713/0.8335, allocations: 160.9 kB / 0.7461 GB, free: 11.52 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001743/0.8352, allocations: 350.5 kB / 0.7465 GB, free: 11.18 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002342/0.8376, allocations: 0.9146 MB / 0.7474 GB, free: 10.22 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005423/0.8381, allocations: 0.8472 MB / 0.7482 GB, free: 9.344 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001119/0.8392, allocations: 0.551 MB / 0.7487 GB, free: 8.797 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002723/0.8395, allocations: 87.38 kB / 0.7488 GB, free: 8.711 MB / 0.545 GB Notification: Performance of SimCode: time 6.61e-07/0.8395, allocations: 0 / 0.7488 GB, free: 8.711 MB / 0.545 GB Notification: Performance of Templates: time 0.02782/0.8674, allocations: 14.29 MB / 0.7628 GB, free: 10.52 MB / 0.5606 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.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: 6.4906037067994475]