Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.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.001434/0.001434, allocations: 111.1 kB / 20.44 MB, free: 1.352 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.00152/0.00152, allocations: 213.3 kB / 23.73 MB, free: 4.531 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.562/1.562, allocations: 230.6 MB / 257.5 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2266/0.2266, allocations: 44.93 MB / 358.8 MB, free: 6.066 MB / 286.1 MB " [Timeout remaining time 180] 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.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: 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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00216/0.00216, allocations: 63.91 kB / 0.4935 GB, free: 10.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3662, allocations: 65.47 MB / 0.5575 GB, free: 7.492 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.2246/0.5908, allocations: 161.5 MB / 0.7152 GB, free: 5.371 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004786/0.5956, allocations: 2.041 MB / 0.7172 GB, free: 3.324 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008486/0.5964, allocations: 23.81 kB / 0.7172 GB, free: 3.301 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001179/0.5976, allocations: 290 kB / 0.7175 GB, free: 3.016 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004295/0.6019, allocations: 1.203 MB / 0.7187 GB, free: 1.816 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002296/0.6042, allocations: 0.6813 MB / 0.7193 GB, free: 1.141 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002426/0.6066, allocations: 1.5 MB / 0.7208 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008355/0.6075, allocations: 359.7 kB / 0.7211 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001337/0.6088, allocations: 0.5955 MB / 0.7217 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009473/0.6098, allocations: 434.2 kB / 0.7221 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001772/0.6099, allocations: 48 kB / 0.7222 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001926/0.6119, allocations: 0.6787 MB / 0.7228 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002657/0.6121, allocations: 151.4 kB / 0.723 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004573/0.6126, allocations: 282.8 kB / 0.7233 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002191/0.6148, allocations: 1.203 MB / 0.7244 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.6148, allocations: 0 / 0.7244 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.412e-06/0.6148, allocations: 0 / 0.7244 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.142e-05/0.6148, allocations: 4 kB / 0.7244 GB, free: 11.89 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001965/0.6168, allocations: 0.9325 MB / 0.7253 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.6168, allocations: 8.031 kB / 0.7254 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009971/0.6178, allocations: 135.5 kB / 0.7255 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009028/0.6187, allocations: 393.7 kB / 0.7259 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.24e-05/0.6187, allocations: 32.94 kB / 0.7259 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.102e-05/0.6188, allocations: 40 kB / 0.7259 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/0.6201, allocations: 0.8683 MB / 0.7268 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.6201, allocations: 0 / 0.7268 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.684e-05/0.6202, allocations: 16 kB / 0.7268 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/0.6202, allocations: 12 kB / 0.7268 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008653/0.6211, allocations: 399.6 kB / 0.7272 GB, free: 8.902 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.002893/0.624, allocations: 1.798 MB / 0.7289 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006633/0.6246, allocations: 282.8 kB / 0.7292 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003011/0.6249, allocations: 132.8 kB / 0.7293 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002025/0.6251, allocations: 43.95 kB / 0.7294 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.099e-05/0.6252, allocations: 42.56 kB / 0.7294 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=29): time 2.024e-06/0.6252, allocations: 0 / 0.7294 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29): time 0.002438/0.6276, allocations: 0.6228 MB / 0.73 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.059e-05/0.6277, allocations: 132.5 kB / 0.7302 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004535/0.6282, allocations: 377.6 kB / 0.7305 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.465e-05/0.6282, allocations: 33.7 kB / 0.7305 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002298/0.6284, allocations: 288.3 kB / 0.7308 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.6285, allocations: 103.1 kB / 0.7309 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001794/0.6287, allocations: 113.6 kB / 0.731 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001751/0.6289, allocations: 350.8 kB / 0.7314 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003878/0.6293, allocations: 143.9 kB / 0.7315 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005562/0.6298, allocations: 360.3 kB / 0.7318 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009067/0.6307, allocations: 421.5 kB / 0.7322 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.6308, allocations: 7.938 kB / 0.7322 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001269/0.632, allocations: 0.5173 MB / 0.7328 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.632, allocations: 4 kB / 0.7328 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/0.6321, allocations: 4 kB / 0.7328 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00206/0.6341, allocations: 272.8 kB / 0.733 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004373/0.6346, allocations: 115.7 kB / 0.7331 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001021/0.6356, allocations: 0.5992 MB / 0.7337 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003954/0.636, allocations: 39.72 kB / 0.7338 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.747e-05/0.6361, allocations: 47.98 kB / 0.7338 GB, free: 1.797 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 (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.0003164/0.6364, allocations: 181.7 kB / 0.734 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.6365, allocations: 51.7 kB / 0.734 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002143/0.6386, allocations: 1.019 MB / 0.735 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.6387, allocations: 0 / 0.735 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.6387, allocations: 0 / 0.735 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.6387, allocations: 0 / 0.735 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2814/0.92, allocations: 0.8271 MB / 0.7358 GB, free: 179 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.92, allocations: 1.594 kB / 0.7358 GB, free: 179 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002854/0.9203, allocations: 48.36 kB / 0.7359 GB, free: 179 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001932/0.9223, allocations: 261.4 kB / 0.7361 GB, free: 179 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.146e-05/0.9223, allocations: 12.25 kB / 0.7361 GB, free: 179 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008366/0.9231, allocations: 0.6048 MB / 0.7367 GB, free: 178.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.9231, allocations: 2.703 kB / 0.7367 GB, free: 178.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001442/0.9246, allocations: 0.4931 MB / 0.7372 GB, free: 178.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.9247, allocations: 45.95 kB / 0.7373 GB, free: 178.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.585e-05/0.9248, allocations: 12.91 kB / 0.7373 GB, free: 178.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003621/0.9252, allocations: 17.72 kB / 0.7373 GB, free: 178.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.72e-05/0.9252, allocations: 23.89 kB / 0.7373 GB, free: 178.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-05/0.9253, allocations: 22.02 kB / 0.7373 GB, free: 178.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004712/0.9258, allocations: 301.2 kB / 0.7376 GB, free: 178.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.9258, allocations: 0 / 0.7376 GB, free: 178.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009307/0.9267, allocations: 237.3 kB / 0.7378 GB, free: 178.1 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 (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.0006672/0.9274, allocations: 292.5 kB / 0.7381 GB, free: 178 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001227/0.9286, allocations: 357.7 kB / 0.7385 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.9286, allocations: 5.094 kB / 0.7385 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006632/0.9292, allocations: 151.6 kB / 0.7386 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/0.9305, allocations: 267.5 kB / 0.7389 GB, free: 177.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001806/0.9323, allocations: 0.8968 MB / 0.7397 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001647/0.9325, allocations: 246 kB / 0.74 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007933/0.9333, allocations: 0.5358 MB / 0.7405 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002133/0.9335, allocations: 88.75 kB / 0.7406 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of SimCode: time 5.11e-07/0.9335, allocations: 0 / 0.7406 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of Templates: time 0.01739/0.9509, allocations: 13.76 MB / 0.754 GB, free: 163.8 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_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.280346192419529]