Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.003105/0.003105, 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.0002245/0.0002245, 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.0001966/0.0001966, 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.09928/0.09928, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 0.05467/0.05467, 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 1.9.0/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_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_ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValves",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 1040] "Notification: Performance of FrontEnd - loaded program: time 8.72e-07/8.72e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.798e-05/1.886e-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.03794/0.03796, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.032/0.06997, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.002292/0.07226, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.00438/0.07664, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.005216/0.08186, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.005775/0.08763, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.004612/0.09224, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.001803/0.09404, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.1783/0.2723, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.002255/0.2746, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0003324/0.2749, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.002808/0.2777, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.001019/0.2788, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.00118/0.2799, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.005252/0.2852, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0004747/0.2857, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.585e-06/0.2857, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 2.401e-05/0.2857, 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.00456/0.2902, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0002216/0.2905, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005675/0.291, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.003254/0.2943, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001932/0.2945, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002719/0.2948, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.005384/0.3001, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 9.383e-05/0.3002, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002336/0.3005, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.466e-05/0.3006, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003929/0.3045, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01123/0.3157, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.003697/0.3194, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0004131/0.3198, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.0002409/0.3201, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.821e-05/0.3201, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=427): time 1.171e-05/0.3201, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=427): time 0.007867/0.328, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 8.74e-05/0.3281, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001957/0.3301, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0001572/0.3302, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0008072/0.331, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0009382/0.332, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008624/0.3328, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 1.006e-05/0.3328, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006398/0.3335, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008669/0.3343, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.002094/0.3364, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.712e-05/0.3365, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=661) (initialization): time 0.003085/0.3396, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 6.393e-05/0.3396, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002516/0.3399, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.000283/0.3402, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/0.3416, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000677/0.3423, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00152/0.3438, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002384/0.344, 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.001038/0.3451, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000931/0.346, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002043/0.3481, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.571e-05/0.3481, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=661) (initialization_lambda0): time 0.003037/0.3511, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 6.167e-05/0.3512, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002418/0.3514, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.0002059/0.3516, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001467/0.3531, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006804/0.3538, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001536/0.3553, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002345/0.3556, 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.0008909/0.3565, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004709/0.3569, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008267/0.3652, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.561e-05/0.3652, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.3652, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/0.3652, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00221/0.3674, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.841e-05/0.3675, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005803/0.3681, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 0.0001429/0.3683, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.257e-05/0.3683, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000775/0.3691, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.3691, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001697/0.3708, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0009599/0.3718, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009956/0.3728, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006495/0.3734, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00019/0.3736, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.533e-05/0.3737, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.001361/0.3751, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 0.000137/0.3752, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.005462/0.3807, 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.002584/0.3833, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.004046/0.3873, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.3873, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0007163/0.388, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002675/0.3907, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005972/0.3967, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008927/0.3976, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.001789/0.3993, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00202/0.4014, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0001043/0.4015, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.01043/0.4119, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 1039] diffSimulationResults("ClaRa_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.3946724329143763]