Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.SVarC.SVarCModeChange.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.0009586/0.0009586, allocations: 72.95 kB / 20.74 MB, free: 3.754 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.001009/0.001009, allocations: 169 kB / 24.17 MB, free: 336 kB / 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 0.8171/0.8171, allocations: 158.6 MB / 186 MB, free: 2.762 MB / 170.7 MB " [Timeout remaining time 179] 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.5378/0.5378, allocations: 90.87 MB / 329.2 MB, free: 14.25 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.SVarCModeChange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=389,variableFilter="time|loadPQ.QPu|sVarCStandard.injector.QInjPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.SVarC.SVarCModeChange") translateModel(Dynawo.Examples.SVarC.SVarCModeChange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=389,variableFilter="time|loadPQ.QPu|sVarCStandard.injector.QInjPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.SVarC.SVarCModeChange") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.654e-06/1.654e-06, allocations: 0 / 380 MB, free: 11.98 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.329e-05/2.495e-05, allocations: 9.625 kB / 380 MB, free: 11.97 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SVarC.SVarCModeChange): time 0.004871/0.004896, allocations: 4.57 MB / 384.5 MB, free: 7.367 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003948/0.008844, allocations: 2.887 MB / 387.4 MB, free: 4.477 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005482/0.009392, allocations: 19.88 kB / 387.4 MB, free: 4.457 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004746/0.009866, allocations: 190.3 kB / 387.6 MB, free: 4.27 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006253/0.01049, allocations: 230.3 kB / 387.8 MB, free: 4.043 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001513/0.012, allocations: 0.8802 MB / 388.7 MB, free: 3.16 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001147/0.01315, allocations: 1.131 MB / 389.9 MB, free: 2.023 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000416/0.01357, allocations: 282.2 kB / 390.1 MB, free: 1.723 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000566/0.01413, allocations: 414.7 kB / 390.5 MB, free: 1.316 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004556/0.01459, allocations: 346.8 kB / 390.9 MB, free: 0.9766 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001177/0.01471, allocations: 112 kB / 391 MB, free: 0.8672 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003771/0.01508, allocations: 223.8 kB / 391.2 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001707/0.01525, allocations: 239.1 kB / 391.4 MB, free: 424 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002268/0.01548, allocations: 323 kB / 391.8 MB, free: 100 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001002/0.01648, allocations: 0.8445 MB / 392.6 MB, free: 15.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.01649, allocations: 0 / 392.6 MB, free: 15.25 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.01649, allocations: 0 / 392.6 MB, free: 15.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.023e-05/0.01651, allocations: 0 / 392.6 MB, free: 15.25 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.00221/0.01872, allocations: 1.391 MB / 394 MB, free: 13.83 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.01876, allocations: 12.03 kB / 394 MB, free: 13.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000842/0.0196, allocations: 352.6 kB / 394.3 MB, free: 13.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005654/0.02017, allocations: 414 kB / 394.8 MB, free: 13.04 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002057/0.02037, allocations: 408 kB / 395.2 MB, free: 12.56 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.817e-05/0.02045, allocations: 68.33 kB / 395.2 MB, free: 12.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006557/0.02111, allocations: 0.6039 MB / 395.8 MB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.02112, allocations: 0 / 395.8 MB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.014e-05/0.02116, allocations: 31.98 kB / 395.9 MB, free: 11.81 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.02117, allocations: 16 kB / 395.9 MB, free: 11.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002976/0.02147, allocations: 207.8 kB / 396.1 MB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001849/0.02332, allocations: 1.923 MB / 398 MB, free: 9.621 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004624/0.02378, allocations: 350.2 kB / 398.3 MB, free: 9.273 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/0.02392, allocations: 98.33 kB / 398.4 MB, free: 9.172 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.748e-05/0.02396, allocations: 12.5 kB / 398.4 MB, free: 9.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003813/0.02434, allocations: 389.3 kB / 398.8 MB, free: 8.758 MB / 378.7 MB Notification: Performance of pre-optimization done (n=72): time 2.424e-06/0.02434, allocations: 4 kB / 398.8 MB, free: 8.754 MB / 378.7 MB Notification: Performance of matching and sorting (n=72): time 0.0009633/0.0253, allocations: 0.6294 MB / 399.5 MB, free: 8.117 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.02534, allocations: 64.06 kB / 399.5 MB, free: 8.043 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003458/0.02568, allocations: 0.5506 MB / 400.1 MB, free: 7.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.527e-05/0.02573, allocations: 49.69 kB / 400.1 MB, free: 7.426 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.02587, allocations: 294.7 kB / 400.4 MB, free: 7.133 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.02599, allocations: 222.2 kB / 400.6 MB, free: 6.914 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/0.02613, allocations: 142.5 kB / 400.8 MB, free: 6.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.02628, allocations: 402.6 kB / 401.2 MB, free: 6.367 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.02641, allocations: 84.8 kB / 401.2 MB, free: 6.281 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001793/0.02659, allocations: 224.2 kB / 401.5 MB, free: 6.012 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004635/0.02705, allocations: 496.5 kB / 401.9 MB, free: 5.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.02706, allocations: 4 kB / 401.9 MB, free: 5.477 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0008641/0.02792, allocations: 0.6029 MB / 402.5 MB, free: 4.863 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.02794, allocations: 4 kB / 402.6 MB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.02795, allocations: 4 kB / 402.6 MB, free: 4.855 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005525/0.0285, allocations: 286.8 kB / 402.8 MB, free: 4.574 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000201/0.02871, allocations: 95.77 kB / 402.9 MB, free: 4.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001849/0.03055, allocations: 1.902 MB / 404.8 MB, free: 2.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002493/0.0308, allocations: 75.7 kB / 404.9 MB, free: 2.426 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.903e-05/0.03083, allocations: 23.94 kB / 404.9 MB, free: 2.402 MB / 378.7 MB Warning: Assuming fixed start value for the following 9 variables: 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 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: 16 * Number of states: 0 () * Number of discrete variables: 50 ($PRE.sVarCStandard.injector.state,sVarCStandard.injector.state,$PRE.line.state,line.state,$whenCondition16,sVarCStandard.regulation.limitations.limIntegratorMax.local_reset,sVarCStandard.regulation.limitations.limIntegratorMin.local_reset,sVarCStandard.regulation.integrator.local_reset,$PRE.line.running,$PRE.sVarCStandard.injector.running,$PRE.sVarCStandard.modeHandling.timerModeChangeUp,$PRE.sVarCStandard.modeHandling.timerModeChangeDown,$PRE.sVarCStandard.modeHandling.URefAuto,$PRE.selectMode.pulseStart,$PRE.sVarCStandard.blockingFunction.blocked,$PRE.sVarCStandard.modeHandling.modeAuto,manualMode.y,manualMode.u[2],manualMode.u[1],not1.y,selectMode.pulseStart,sVarCStandard.blockingFunction.blocked,sVarCStandard.modeHandling.URefAuto,sVarCStandard.modeHandling.timerModeChangeDown,sVarCStandard.modeHandling.timerModeChangeUp,sVarCStandard.modeHandling.modeManual,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,line.switchOffSignal1,line.switchOffSignal2,sVarCStandard.injector.switchOffSignal1,sVarCStandard.injector.switchOffSignal2,sVarCStandard.injector.switchOffSignal3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 82 * 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 {(5,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0002706/0.0311, allocations: 243.7 kB / 405.2 MB, free: 2.164 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.184e-05/0.03118, allocations: 75.92 kB / 405.2 MB, free: 2.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007896/0.03197, allocations: 0.564 MB / 405.8 MB, free: 1.508 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.03198, allocations: 0 / 405.8 MB, free: 1.508 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.03198, allocations: 0 / 405.8 MB, free: 1.508 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.881e-05/0.03206, allocations: 75.34 kB / 405.9 MB, free: 1.434 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.758e-05/0.03212, allocations: 19.94 kB / 405.9 MB, free: 1.414 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001757/0.0323, allocations: 55.89 kB / 406 MB, free: 1.359 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/0.03243, allocations: 84.48 kB / 406 MB, free: 1.277 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008738/0.0333, allocations: 0.6265 MB / 406.7 MB, free: 0.6406 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006526/0.03396, allocations: 0.7189 MB / 407.4 MB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001701/0.03413, allocations: 143.3 kB / 407.5 MB, free: 15.76 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000197/0.03432, allocations: 260.6 kB / 407.8 MB, free: 15.5 MB / 394.7 MB Notification: Performance of Backend: time 4.91e-07/0.03432, allocations: 0 / 407.8 MB, free: 15.5 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001049/0.03537, allocations: 0.6075 MB / 408.4 MB, free: 14.88 MB / 394.7 MB Notification: Performance of SimCode: time 0.001749/0.03712, allocations: 1.999 MB / 410.4 MB, free: 12.82 MB / 394.7 MB Notification: Performance of Templates: time 0.01916/0.05629, allocations: 16.67 MB / 427 MB, free: 12.25 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Dynawo_dev_Dynawo.Examples.SVarC.SVarCModeChange.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.SVarC.SVarCModeChange.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.SVarC.SVarCModeChange.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.SVarC.SVarCModeChange.pipe >> ../files/Dynawo_dev_Dynawo.Examples.SVarC.SVarCModeChange.sim & ./Dynawo_dev_Dynawo.Examples.SVarC.SVarCModeChange -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.SVarC.SVarCModeChange.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.SVarC.SVarCModeChange_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.SVarC.SVarCModeChange_res.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable loadPQ.QPu in file Dynawo_dev_Dynawo.Examples.SVarC.SVarCModeChange_res.mat. Warning: Get data of variable loadPQ.QPu from file Dynawo_dev_Dynawo.Examples.SVarC.SVarCModeChange_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4088414451107383]