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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001346/0.001346, allocations: 113 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001579/0.00158, allocations: 212.9 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2154/0.2154, allocations: 46.09 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 75.88 kB / 482 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3411, allocations: 62.44 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.1996/0.5407, allocations: 185.8 MB / 0.7131 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004245/0.545, allocations: 2.134 MB / 0.7152 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007039/0.5457, allocations: 15.94 kB / 0.7152 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001082/0.5468, allocations: 297.9 kB / 0.7155 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003698/0.5506, allocations: 1.182 MB / 0.7166 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001954/0.5526, allocations: 0.6807 MB / 0.7173 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002071/0.5547, allocations: 1.484 MB / 0.7187 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007629/0.5554, allocations: 427.3 kB / 0.7191 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001118/0.5566, allocations: 0.5799 MB / 0.7197 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008058/0.5574, allocations: 446.2 kB / 0.7201 GB, free: 84 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001732/0.5576, allocations: 48 kB / 0.7202 GB, free: 36 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3438/0.9014, allocations: 0.7951 MB / 0.721 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002756/0.9017, allocations: 150.8 kB / 0.7211 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006574/0.9024, allocations: 321.9 kB / 0.7214 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002385/0.9048, allocations: 1.212 MB / 0.7226 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.9048, allocations: 0 / 0.7226 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.414e-06/0.9048, allocations: 1.281 kB / 0.7226 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.121e-05/0.9048, allocations: 0 / 0.7226 GB, free: 4.176 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.002091/0.9069, allocations: 0.9899 MB / 0.7236 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.907, allocations: 10.95 kB / 0.7236 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001109/0.9081, allocations: 136.9 kB / 0.7237 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007909/0.9089, allocations: 459.2 kB / 0.7241 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.664e-05/0.9089, allocations: 28.44 kB / 0.7242 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.06e-05/0.909, allocations: 42.22 kB / 0.7242 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.9101, allocations: 0.5554 MB / 0.7247 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.9101, allocations: 1.469 kB / 0.7248 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.879e-05/0.9102, allocations: 17.72 kB / 0.7248 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.695e-05/0.9102, allocations: 12.64 kB / 0.7248 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009072/0.9111, allocations: 412.5 kB / 0.7252 GB, free: 3.234 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.003212/0.9143, allocations: 2.567 MB / 0.7277 GB, free: 17.46 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006864/0.915, allocations: 296 kB / 0.728 GB, free: 17.43 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002941/0.9153, allocations: 146.1 kB / 0.7281 GB, free: 17.42 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003596/0.9157, allocations: 357.5 kB / 0.7284 GB, free: 17.05 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.9158, allocations: 39.41 kB / 0.7285 GB, free: 17 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=29): time 2.364e-06/0.9158, allocations: 1.719 kB / 0.7285 GB, free: 17 MB / 0.5763 GB Notification: Performance of matching and sorting (n=29): time 0.002526/0.9183, allocations: 0.7013 MB / 0.7292 GB, free: 16.84 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.226e-05/0.9184, allocations: 132.7 kB / 0.7293 GB, free: 16.69 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000543/0.919, allocations: 442.8 kB / 0.7297 GB, free: 16.58 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 6.182e-05/0.919, allocations: 32.23 kB / 0.7297 GB, free: 16.55 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/0.9192, allocations: 282.6 kB / 0.73 GB, free: 16.4 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 9.053e-05/0.9193, allocations: 101.6 kB / 0.7301 GB, free: 16.33 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001922/0.9195, allocations: 103 kB / 0.7302 GB, free: 16.32 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.9197, allocations: 358.1 kB / 0.7306 GB, free: 16 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003923/0.9201, allocations: 147.2 kB / 0.7307 GB, free: 16 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004439/0.9205, allocations: 279 kB / 0.731 GB, free: 15.86 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007726/0.9213, allocations: 421.7 kB / 0.7314 GB, free: 15.73 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.9213, allocations: 1.031 kB / 0.7314 GB, free: 15.73 MB / 0.5763 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001169/0.9225, allocations: 0.5305 MB / 0.7319 GB, free: 15.66 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.9225, allocations: 6.688 kB / 0.7319 GB, free: 15.66 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.9225, allocations: 4.375 kB / 0.7319 GB, free: 15.66 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001908/0.9245, allocations: 275.6 kB / 0.7322 GB, free: 15.65 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00039/0.9249, allocations: 104.6 kB / 0.7323 GB, free: 15.65 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009744/0.9258, allocations: 0.5984 MB / 0.7328 GB, free: 15.14 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004949/0.9264, allocations: 46.84 kB / 0.7329 GB, free: 15.11 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.173e-05/0.9264, allocations: 49.92 kB / 0.7329 GB, free: 15.11 MB / 0.5763 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.000316/0.9268, allocations: 182 kB / 0.7331 GB, free: 15 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.9269, allocations: 47.88 kB / 0.7331 GB, free: 14.97 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001878/0.9288, allocations: 1.03 MB / 0.7342 GB, free: 14.83 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.9288, allocations: 6.344 kB / 0.7342 GB, free: 14.83 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.9288, allocations: 2.031 kB / 0.7342 GB, free: 14.83 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.9288, allocations: 2.203 kB / 0.7342 GB, free: 14.83 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001603/0.9304, allocations: 0.9659 MB / 0.7351 GB, free: 14.46 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.9304, allocations: 5.859 kB / 0.7351 GB, free: 14.46 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002288/0.9307, allocations: 50.11 kB / 0.7352 GB, free: 14.46 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001655/0.9323, allocations: 260.1 kB / 0.7354 GB, free: 14.46 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.443e-05/0.9324, allocations: 14.14 kB / 0.7354 GB, free: 14.46 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008519/0.9332, allocations: 0.604 MB / 0.736 GB, free: 13.94 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.9333, allocations: 2.844 kB / 0.736 GB, free: 13.94 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/0.9345, allocations: 0.505 MB / 0.7365 GB, free: 13.73 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001798/0.9347, allocations: 132.7 kB / 0.7366 GB, free: 13.61 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.9348, allocations: 12.53 kB / 0.7366 GB, free: 13.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000372/0.9352, allocations: 19.05 kB / 0.7367 GB, free: 13.6 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.711e-05/0.9353, allocations: 23.97 kB / 0.7367 GB, free: 13.6 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.959e-05/0.9353, allocations: 22.56 kB / 0.7367 GB, free: 13.6 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0004318/0.9357, allocations: 386.8 kB / 0.7371 GB, free: 13.51 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9357, allocations: 0 / 0.7371 GB, free: 13.51 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0008559/0.9366, allocations: 222.2 kB / 0.7373 GB, free: 13.49 MB / 0.5763 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.0006929/0.9373, allocations: 291.4 kB / 0.7376 GB, free: 13.38 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.001323/0.9386, allocations: 376.2 kB / 0.7379 GB, free: 13.38 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.9387, allocations: 0.9375 kB / 0.7379 GB, free: 13.38 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0006859/0.9394, allocations: 163.8 kB / 0.7381 GB, free: 13.38 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001503/0.9409, allocations: 341.3 kB / 0.7384 GB, free: 13.34 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002059/0.9429, allocations: 0.9225 MB / 0.7393 GB, free: 12.9 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003879/0.9433, allocations: 0.848 MB / 0.7401 GB, free: 12.2 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003694/0.9437, allocations: 125 kB / 0.7403 GB, free: 12.19 MB / 0.5763 GB Notification: Performance of SimCode: time 7.32e-07/0.9437, allocations: 0 / 0.7403 GB, free: 12.19 MB / 0.5763 GB Notification: Performance of Templates: time 0.01828/0.962, allocations: 13.27 MB / 0.7532 GB, free: 11.11 MB / 0.5763 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.makefile (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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches