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.00123/0.00123, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001985/0.003214, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.00102/0.00102, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001394/0.002414, allocations: 475.6 kB / 11.8 MB, free: 2.375 MB / 13.93 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.8388/0.8388, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1468/0.9856, allocations: 49.5 MB / 220.7 MB, free: 1.363 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/Examples/GridFollowing/FourVSC/FourVSCDynamicLinesPlant.mo:214:26-227:16:writable] Warning: Lexer treating \\ as \\\\, since \\ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/Examples/GridFollowing/FourVSC/FourVSCDynamicLinesPlant.mo:214:26-229:28:writable] Warning: Lexer treating \\ as \\\\, since \\ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/package.mo): time 0.5147/0.5147, allocations: 106.6 MB / 328 MB, free: 14.64 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06182/0.5765, allocations: 37.89 MB / 365.9 MB, free: 8.988 MB / 362.7 MB " [Timeout remaining time 179] Using package Dynawo with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-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) Ignoring simflag -s=dassl since the model is compiled with --daeMode, which needs -s=ida 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.333e-06/1.333e-06, allocations: 0 / 367.4 MB, free: 7.48 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.863e-05/1.996e-05, allocations: 6.312 kB / 367.4 MB, free: 7.473 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SVarC.SVarCModeChange): time 0.004398/0.004418, allocations: 4.673 MB / 372.1 MB, free: 2.773 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002765/0.007183, allocations: 2.917 MB / 375 MB, free: 15.86 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002511/0.007434, allocations: 15.94 kB / 375 MB, free: 15.84 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002843/0.007718, allocations: 174.4 kB / 375.2 MB, free: 15.67 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000343/0.008061, allocations: 254.1 kB / 375.5 MB, free: 15.42 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000949/0.00901, allocations: 0.8607 MB / 376.3 MB, free: 14.55 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007668/0.009777, allocations: 1.116 MB / 377.4 MB, free: 13.44 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000315/0.01009, allocations: 291.3 kB / 377.7 MB, free: 13.12 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005588/0.01065, allocations: 0.7724 MB / 378.5 MB, free: 12.33 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002922/0.01094, allocations: 350.8 kB / 378.8 MB, free: 11.99 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.275e-05/0.01104, allocations: 112 kB / 378.9 MB, free: 11.88 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002403/0.01128, allocations: 223.9 kB / 379.2 MB, free: 11.66 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001296/0.01141, allocations: 195.3 kB / 379.3 MB, free: 11.47 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001924/0.0116, allocations: 243.4 kB / 379.6 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006503/0.01225, allocations: 0.7783 MB / 380.4 MB, free: 10.45 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.103e-05/0.01226, allocations: 0 / 380.4 MB, free: 10.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.01226, allocations: 8 kB / 380.4 MB, free: 10.44 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.01227, allocations: 0 / 380.4 MB, free: 10.44 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: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.001891/0.01416, allocations: 1.636 MB / 382 MB, free: 8.762 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.0142, allocations: 8.031 kB / 382 MB, free: 8.754 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008521/0.01505, allocations: 356.6 kB / 382.4 MB, free: 8.406 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004253/0.01547, allocations: 414 kB / 382.8 MB, free: 7.973 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001755/0.01565, allocations: 415.4 kB / 383.2 MB, free: 7.488 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.287e-05/0.01572, allocations: 68 kB / 383.2 MB, free: 7.422 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006456/0.01637, allocations: 0.6117 MB / 383.9 MB, free: 6.762 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.01638, allocations: 0 / 383.9 MB, free: 6.762 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.967e-05/0.01642, allocations: 28 kB / 383.9 MB, free: 6.734 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.01643, allocations: 16 kB / 383.9 MB, free: 6.719 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003324/0.01676, allocations: 219.7 kB / 384.1 MB, free: 6.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001716/0.01848, allocations: 1.94 MB / 386.1 MB, free: 4.508 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004637/0.01894, allocations: 349.8 kB / 386.4 MB, free: 4.156 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001248/0.01907, allocations: 98.33 kB / 386.5 MB, free: 4.059 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.327e-05/0.01911, allocations: 16.5 kB / 386.5 MB, free: 4.043 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003598/0.01947, allocations: 399.5 kB / 386.9 MB, free: 3.633 MB / 378.7 MB Notification: Performance of pre-optimization done (n=72): time 1.943e-06/0.01947, allocations: 0 / 386.9 MB, free: 3.633 MB / 378.7 MB Notification: Performance of matching and sorting (n=72): time 0.0009001/0.02037, allocations: 0.6179 MB / 387.5 MB, free: 3.008 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/0.02041, allocations: 68.06 kB / 387.6 MB, free: 2.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003263/0.02073, allocations: 0.5467 MB / 388.1 MB, free: 2.371 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.245e-05/0.02078, allocations: 49.69 kB / 388.2 MB, free: 2.316 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.02091, allocations: 302.7 kB / 388.5 MB, free: 2.016 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.02103, allocations: 218.2 kB / 388.7 MB, free: 1.801 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/0.02116, allocations: 142.5 kB / 388.8 MB, free: 1.656 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.02127, allocations: 406.5 kB / 389.2 MB, free: 1.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.02139, allocations: 80.8 kB / 389.3 MB, free: 1.168 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001763/0.02156, allocations: 232.2 kB / 389.5 MB, free: 0.8906 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004367/0.022, allocations: 496.3 kB / 390 MB, free: 360 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.022, allocations: 4 kB / 390 MB, free: 356 kB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0008265/0.02283, allocations: 0.599 MB / 390.6 MB, free: 15.74 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.02284, allocations: 8 kB / 390.6 MB, free: 15.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.02285, allocations: 4 kB / 390.6 MB, free: 15.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000516/0.02337, allocations: 300.2 kB / 390.9 MB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/0.02359, allocations: 107.8 kB / 391 MB, free: 15.33 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001852/0.02544, allocations: 1.919 MB / 392.9 MB, free: 13.33 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002228/0.02567, allocations: 75.69 kB / 393 MB, free: 13.26 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.063e-05/0.0257, allocations: 28.06 kB / 393 MB, free: 13.23 MB / 394.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.switchOffSignal1,sVarCStandard.switchOffSignal2,sVarCStandard.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.0002439/0.02594, allocations: 230.5 kB / 393.3 MB, free: 13 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.304e-05/0.02602, allocations: 79.92 kB / 393.3 MB, free: 12.93 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007825/0.02681, allocations: 0.5485 MB / 393.9 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.02681, allocations: 3.984 kB / 393.9 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.798e-06/0.02682, allocations: 3.938 kB / 393.9 MB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.15e-05/0.02689, allocations: 79.36 kB / 394 MB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.115e-05/0.02692, allocations: 19.98 kB / 394 MB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.654e-05/0.02697, allocations: 15.98 kB / 394 MB, free: 12.24 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.02713, allocations: 47.95 kB / 394.1 MB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/0.02727, allocations: 84.5 kB / 394.1 MB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008949/0.02816, allocations: 0.6304 MB / 394.8 MB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005968/0.02876, allocations: 0.715 MB / 395.5 MB, free: 10.74 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000177/0.02893, allocations: 147.2 kB / 395.6 MB, free: 10.59 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001793/0.02911, allocations: 260.6 kB / 395.9 MB, free: 10.33 MB / 394.7 MB Notification: Performance of Backend: time 4.51e-07/0.02911, allocations: 0 / 395.9 MB, free: 10.33 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001002/0.03012, allocations: 0.674 MB / 396.6 MB, free: 9.641 MB / 394.7 MB Notification: Performance of SimCode: time 0.002052/0.03217, allocations: 2.009 MB / 398.6 MB, free: 7.57 MB / 394.7 MB Notification: Performance of Templates: time 0.01754/0.04971, allocations: 16.56 MB / 415.1 MB, free: 7.078 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 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -s=ida > 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [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] Not compared, constant in the reference and not in the result: loadPQ.QPu Reference file matches [Calling sys.exit(0), Time elapsed: 3.2564678685739636]