Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.004296/0.004296, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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.0002531/0.0002531, allocations: 0 / 0, free: 0 / 0 " [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.0002419/0.0002419, allocations: 0 / 0, free: 0 / 0 " [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 0.1626/0.1626, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 0.07807/0.07807, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/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) Using package SMArtInt with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: simulate(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValves,startTime=0,stopTime=3,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="Time|threeWayValveVLE_L2_1.h|threeWayValveVLE_L2_1.p",fileNamePrefix="ClaRa_dev_ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValves",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValves,startTime=0,stopTime=3,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="Time|threeWayValveVLE_L2_1.h|threeWayValveVLE_L2_1.p",fileNamePrefix="ClaRa_dev_ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValves",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 1040] "Notification: Performance of FrontEnd - loaded program: time 7.41e-07/7.41e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.956e-05/2.03e-05, allocations: 0 / 0, free: 0 / 0 Notification: TILMedia 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: Automatically loaded package TILMedia 1.9.0 ClaRa due to usage. Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValves): time 0.02786/0.02788, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.02/0.04789, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.00209/0.04998, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.003815/0.05379, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.004641/0.05843, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.005197/0.06363, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.005326/0.06895, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.001771/0.07073, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.4315/0.5023, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.001643/0.5039, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.000333/0.5042, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.001981/0.5062, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0006744/0.5069, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0007931/0.5077, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.003942/0.5116, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0003423/0.512, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.783e-06/0.512, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 2.57e-05/0.512, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 845 * Number of variables: 845 Notification: Performance of Generate backend data structure: time 0.003178/0.5152, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001518/0.5153, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003424/0.5157, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.002012/0.5177, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001148/0.5178, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001758/0.518, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.003585/0.5216, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 9.093e-05/0.5217, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001868/0.5218, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.658e-05/0.5219, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002509/0.5244, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009316/0.5337, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.002584/0.5363, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0003279/0.5366, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.0001713/0.5368, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.386e-05/0.5369, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=427): time 7.564e-06/0.5369, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=427): time 0.005322/0.5422, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 9.555e-05/0.5423, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001802/0.5441, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0001347/0.5442, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0005151/0.5447, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0005465/0.5453, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006184/0.5459, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 1.39e-05/0.5459, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004379/0.5463, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007126/0.5471, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.001526/0.5486, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.939e-05/0.5486, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=661) (initialization): time 0.002321/0.5509, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 3.472e-05/0.551, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001442/0.5511, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.0001943/0.5513, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008251/0.5521, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005515/0.5527, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008949/0.5536, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000178/0.5538, allocations: 0 / 0, free: 0 / 0 Warning: Assuming fixed start value for the following 2 variables: threeWayValveVLE_L2_1.h:VARIABLE(start = threeWayValveVLE_L2_1.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) type: Real threeWayValveVLE_L2_1.p:VARIABLE(min = 0.0 start = threeWayValveVLE_L2_1.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008063/0.5546, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000711/0.5553, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001468/0.5567, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.78e-05/0.5568, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=661) (initialization_lambda0): time 0.002156/0.5589, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 3.318e-05/0.559, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000145/0.5591, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.0001255/0.5592, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008122/0.56, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000454/0.5605, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008593/0.5614, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001669/0.5615, allocations: 0 / 0, free: 0 / 0 Warning: Assuming fixed start value for the following 2 variables: threeWayValveVLE_L2_1.h:VARIABLE(start = threeWayValveVLE_L2_1.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) type: Real threeWayValveVLE_L2_1.p:VARIABLE(min = 0.0 start = threeWayValveVLE_L2_1.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 253 * 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 (387): * Single equations (assignments): 347 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 39 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006602/0.5622, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003497/0.5625, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005771/0.5683, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-05/0.5683, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.5683, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.5683, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001518/0.5698, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.479e-05/0.5699, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003166/0.5702, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 9.191e-05/0.5703, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.274e-05/0.5704, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005544/0.5709, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.5709, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001192/0.5721, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0005729/0.5727, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006341/0.5733, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004346/0.5738, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/0.5739, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.104e-05/0.574, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.001049/0.575, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 9.344e-05/0.5751, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.002889/0.578, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (threeWayValveVLE_L2_1.h,threeWayValveVLE_L2_1.p) * 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 (127): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004294/0.5823, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.004194/0.5865, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.5865, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0007038/0.5872, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002628/0.5898, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006049/0.5959, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006651/0.5965, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.001572/0.5981, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001747/0.5999, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 9.451e-05/0.6, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.01179/0.6117, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 1039] diffSimulationResults("ClaRa_dev_ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValves_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValves.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 800] "" [Timeout remaining time 800] Reference file matches [Calling sys.exit(0), Time elapsed: 1.6899134274572134]