Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQLarge.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.00168/0.00168, allocations: 88.22 kB / 20.23 MB, free: 4.207 MB / 18.57 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.001951/0.001951, allocations: 161.7 kB / 23.53 MB, free: 0.9023 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.534/1.534, allocations: 158.6 MB / 185.3 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo): time 0.7516/0.7516, allocations: 90.63 MB / 328.3 MB, free: 14.57 MB / 314.7 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Dynawo.Examples.SVarC.SVarCLoadVarQLarge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|loadPQ.QPu|sVarCStandard.injector.QInjPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQLarge") translateModel(Dynawo.Examples.SVarC.SVarCLoadVarQLarge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|loadPQ.QPu|sVarCStandard.injector.QInjPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQLarge") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 427.4 MB, free: 11.83 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.797e-05/2.961e-05, allocations: 5.547 kB / 427.4 MB, free: 11.82 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SVarC.SVarCLoadVarQLarge): time 0.008663/0.008693, allocations: 4.806 MB / 432.2 MB, free: 6.984 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006567/0.01526, allocations: 2.837 MB / 435.1 MB, free: 4.133 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001025/0.01628, allocations: 15.88 kB / 435.1 MB, free: 4.117 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008664/0.01715, allocations: 190.3 kB / 435.3 MB, free: 3.93 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001391/0.01854, allocations: 274 kB / 435.5 MB, free: 3.66 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003085/0.02163, allocations: 0.9387 MB / 436.5 MB, free: 2.719 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002646/0.02427, allocations: 1.233 MB / 437.7 MB, free: 1.484 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008824/0.02516, allocations: 279.3 kB / 438 MB, free: 1.191 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001103/0.02626, allocations: 446.6 kB / 438.4 MB, free: 0.7539 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007914/0.02705, allocations: 366.7 kB / 438.8 MB, free: 404 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003674/0.02742, allocations: 120 kB / 438.9 MB, free: 284 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007249/0.02814, allocations: 255.8 kB / 439.1 MB, free: 28 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004183/0.02856, allocations: 263.2 kB / 439.4 MB, free: 15.77 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007324/0.02929, allocations: 339 kB / 439.7 MB, free: 15.43 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002968/0.03226, allocations: 1.511 MB / 441.2 MB, free: 13.92 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.03227, allocations: 0 / 441.2 MB, free: 13.92 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.03227, allocations: 0 / 441.2 MB, free: 13.92 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.212e-05/0.03233, allocations: 7.938 kB / 441.2 MB, free: 13.91 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.005746/0.03808, allocations: 1.575 MB / 442.8 MB, free: 12.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.69e-05/0.03815, allocations: 12.03 kB / 442.8 MB, free: 12.29 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002368/0.04051, allocations: 404 kB / 443.2 MB, free: 11.89 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001672/0.04219, allocations: 0.6384 MB / 443.9 MB, free: 11.23 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005879/0.04277, allocations: 0.5151 MB / 444.4 MB, free: 10.61 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003736/0.04315, allocations: 76.36 kB / 444.5 MB, free: 10.53 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002988/0.04614, allocations: 0.9265 MB / 445.4 MB, free: 9.559 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.635e-05/0.04616, allocations: 4 kB / 445.4 MB, free: 9.555 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001478/0.04631, allocations: 31.98 kB / 445.4 MB, free: 9.523 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.242e-05/0.04633, allocations: 20 kB / 445.4 MB, free: 9.504 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002015/0.04835, allocations: 0.6882 MB / 446.1 MB, free: 8.816 MB / 426.7 MB 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.00688/0.05523, allocations: 2.863 MB / 449 MB, free: 5.887 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002066/0.05729, allocations: 0.6755 MB / 449.7 MB, free: 5.188 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009227/0.05822, allocations: 355.1 kB / 450 MB, free: 4.836 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.362e-05/0.05829, allocations: 16.5 kB / 450 MB, free: 4.82 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001537/0.05983, allocations: 0.6784 MB / 450.7 MB, free: 4.113 MB / 426.7 MB Notification: Performance of pre-optimization done (n=81): time 3.256e-06/0.05983, allocations: 0 / 450.7 MB, free: 4.113 MB / 426.7 MB Notification: Performance of matching and sorting (n=81): time 0.006304/0.06613, allocations: 1.828 MB / 452.5 MB, free: 2.273 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/0.06625, allocations: 127.5 kB / 452.7 MB, free: 2.125 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001245/0.0675, allocations: 0.6956 MB / 453.4 MB, free: 1.418 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001798/0.06768, allocations: 49.69 kB / 453.4 MB, free: 1.363 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004742/0.06815, allocations: 408.9 kB / 453.8 MB, free: 0.957 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00045/0.0686, allocations: 254 kB / 454 MB, free: 0.707 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003776/0.06898, allocations: 174.6 kB / 454.2 MB, free: 0.5273 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000318/0.0693, allocations: 394.7 kB / 454.6 MB, free: 136 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001092/0.07039, allocations: 423.9 kB / 455 MB, free: 15.71 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001561/0.07195, allocations: 0.6114 MB / 455.6 MB, free: 15.02 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005562/0.07751, allocations: 1.901 MB / 457.5 MB, free: 13.04 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-05/0.07753, allocations: 0 / 457.5 MB, free: 13.04 MB / 442.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.00478/0.08231, allocations: 1.556 MB / 459.1 MB, free: 11.46 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001014/0.08241, allocations: 49.62 kB / 459.1 MB, free: 11.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.506e-05/0.08243, allocations: 4 kB / 459.1 MB, free: 11.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002113/0.08454, allocations: 0.5325 MB / 459.7 MB, free: 10.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000699/0.08524, allocations: 115.8 kB / 459.8 MB, free: 10.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01088/0.09612, allocations: 4.891 MB / 464.7 MB, free: 5.656 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/0.09714, allocations: 107.5 kB / 464.8 MB, free: 5.551 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001374/0.09728, allocations: 36 kB / 464.8 MB, free: 5.516 MB / 442.7 MB Warning: Assuming fixed start value for the following 11 variables: loadPQ.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = loadPQ.State0 fixed = true ) \"Load connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) sVarCStandard.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = sVarCStandard.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running:DISCRETE(flow=false start = line.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean sVarCStandard.injector.running:DISCRETE(flow=false start = sVarCStandard.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean sVarCStandard.modeHandling.timerModeChangeUp:DISCRETE(start = 1e60 unit = \"s\" fixed = true ) \"Timer for the transition from standby to running mode for high voltage values\" type: Real sVarCStandard.modeHandling.timerModeChangeDown:DISCRETE(start = 1e60 unit = \"s\" fixed = true ) \"Timer for the transition from standby to running mode for low voltage values\" type: Real sVarCStandard.modeHandling.URefAuto:DISCRETE(start = sVarCStandard.modeHandling.URef0 unit = \"kV\" fixed = true ) \"Voltage reference for the regulation if the static var compensator switches from standy to running mode automatically in kV\" type: Real loadPQ.running:DISCRETE(flow=false start = loadPQ.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean sVarCStandard.blockingFunction.blocked:DISCRETE(flow=false fixed = true ) \"Whether the static var compensator is blocked due to very low voltages\" type: Boolean sVarCStandard.modeHandling.modeAuto:DISCRETE(flow=false min = Dynawo.Electrical.StaticVarCompensators.BaseControls.Mode.OFF max = Dynawo.Electrical.StaticVarCompensators.BaseControls.Mode.RUNNING_V start = sVarCStandard.modeHandling.Mode0 fixed = true ) \"Mode of the static var compensator when in automatic configuration\" type: enumeration(OFF, STANDBY, RUNNING_V) Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 52 ($PRE.loadPQ.state,loadPQ.state,$PRE.sVarCStandard.injector.state,sVarCStandard.injector.state,$PRE.line.state,line.state,sVarCStandard.injector.switchOffSignal3,sVarCStandard.injector.switchOffSignal2,sVarCStandard.injector.switchOffSignal1,line.switchOffSignal2,line.switchOffSignal1,loadPQ.switchOffSignal2,loadPQ.switchOffSignal1,$PRE.line.running,$PRE.sVarCStandard.injector.running,$PRE.sVarCStandard.modeHandling.timerModeChangeUp,$PRE.sVarCStandard.modeHandling.timerModeChangeDown,$PRE.sVarCStandard.modeHandling.URefAuto,$PRE.loadPQ.running,$PRE.sVarCStandard.blockingFunction.blocked,$PRE.sVarCStandard.modeHandling.modeAuto,sVarCStandard.modeHandling.modeManual,loadPQ.running,sVarCStandard.blockingFunction.blocked,sVarCStandard.modeHandling.URefAuto,sVarCStandard.modeHandling.timerModeChangeDown,sVarCStandard.modeHandling.timerModeChangeUp,sVarCStandard.modeHandling.modeAuto,sVarCStandard.modeHandling.mode,sVarCStandard.injector.running,line.running,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition11,$whenCondition13,$whenCondition12,$whenCondition15,$whenCondition14,$whenCondition17,$whenCondition16,$whenCondition18,sVarCStandard.regulation.integrator.local_reset,sVarCStandard.regulation.limitations.limIntegratorMin.local_reset,sVarCStandard.regulation.limitations.limIntegratorMax.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(7,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0008497/0.09813, allocations: 352.8 kB / 465.2 MB, free: 5.18 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003376/0.09847, allocations: 123.4 kB / 465.3 MB, free: 5.059 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003526/0.102, allocations: 1.241 MB / 466.5 MB, free: 3.801 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.451e-05/0.102, allocations: 11.92 kB / 466.5 MB, free: 3.789 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.102, allocations: 0 / 466.5 MB, free: 3.789 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003417/0.1024, allocations: 107.3 kB / 466.6 MB, free: 3.684 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002075/0.1026, allocations: 19.94 kB / 466.7 MB, free: 3.664 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005985/0.1032, allocations: 67.92 kB / 466.7 MB, free: 3.598 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003219/0.1035, allocations: 92.5 kB / 466.8 MB, free: 3.504 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004594/0.1081, allocations: 1.528 MB / 468.3 MB, free: 1.965 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004031/0.1121, allocations: 1.638 MB / 470 MB, free: 316 kB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.2264/0.3385, allocations: 387.5 kB / 470.4 MB, free: 82.67 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007578/0.3392, allocations: 478.3 kB / 470.8 MB, free: 82.57 MB / 442.7 MB Notification: Performance of Backend: time 3.51e-07/0.3392, allocations: 0 / 470.8 MB, free: 82.57 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00367/0.3429, allocations: 1.227 MB / 472.1 MB, free: 82.17 MB / 442.7 MB Notification: Performance of SimCode: time 0.003047/0.346, allocations: 2.1 MB / 474.2 MB, free: 80.96 MB / 442.7 MB Notification: Performance of Templates: time 0.03104/0.377, allocations: 18.03 MB / 492.2 MB, free: 79.21 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQLarge.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQLarge.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQLarge.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQLarge.pipe >> ../files/Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQLarge.sim & ./Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQLarge -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQLarge.pipe 2>&1) [Timeout 480] diffSimulationResults("Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQLarge_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.SVarC.SVarCLoadVarQLarge_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQLarge.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.3678561800625175]