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.0009891/0.0009891, allocations: 78.66 kB / 21.46 MB, free: 3.043 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.001029/0.001029, allocations: 161.4 kB / 24.86 MB, free: 8.77 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 0.8425/0.8425, allocations: 158.6 MB / 186.8 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.4631/0.4631, allocations: 90.58 MB / 329.7 MB, free: 14.59 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.783e-06/1.783e-06, allocations: 0 / 429.4 MB, free: 11.29 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.44e-05/2.618e-05, allocations: 2.312 kB / 429.4 MB, free: 11.28 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SVarC.SVarCModeChange): time 0.006853/0.006879, allocations: 4.558 MB / 434 MB, free: 6.695 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005402/0.01228, allocations: 2.798 MB / 436.8 MB, free: 3.883 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009158/0.0132, allocations: 23.88 kB / 436.8 MB, free: 3.859 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006635/0.01386, allocations: 178.4 kB / 437 MB, free: 3.684 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008862/0.01475, allocations: 234.2 kB / 437.2 MB, free: 3.453 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002026/0.01677, allocations: 0.8686 MB / 438.1 MB, free: 2.582 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001067/0.01784, allocations: 1.135 MB / 439.2 MB, free: 1.445 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003907/0.01823, allocations: 271.3 kB / 439.5 MB, free: 1.16 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003285/0.01856, allocations: 414.8 kB / 439.9 MB, free: 0.7539 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003203/0.01888, allocations: 338.8 kB / 440.2 MB, free: 432 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.486e-05/0.01897, allocations: 116 kB / 440.3 MB, free: 316 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002949/0.01927, allocations: 223.8 kB / 440.5 MB, free: 92 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001578/0.01943, allocations: 247 kB / 440.8 MB, free: 15.85 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002029/0.01963, allocations: 315 kB / 441.1 MB, free: 15.54 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008034/0.02043, allocations: 0.8407 MB / 441.9 MB, free: 14.7 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.02044, allocations: 0 / 441.9 MB, free: 14.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.02044, allocations: 0 / 441.9 MB, free: 14.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.435e-06/0.02045, allocations: 0 / 441.9 MB, free: 14.7 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: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.001881/0.02233, allocations: 1.526 MB / 443.4 MB, free: 13.13 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.02237, allocations: 12.03 kB / 443.5 MB, free: 13.12 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000947/0.02331, allocations: 364.1 kB / 443.8 MB, free: 12.76 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000514/0.02383, allocations: 0.5943 MB / 444.4 MB, free: 12.14 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001847/0.02401, allocations: 412 kB / 444.8 MB, free: 11.66 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.746e-05/0.02409, allocations: 64.38 kB / 444.9 MB, free: 11.59 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006468/0.02474, allocations: 0.6093 MB / 445.5 MB, free: 10.93 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.02475, allocations: 4 kB / 445.5 MB, free: 10.92 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.459e-05/0.0248, allocations: 27.98 kB / 445.5 MB, free: 10.89 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.02481, allocations: 19.94 kB / 445.5 MB, free: 10.88 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003267/0.02513, allocations: 236.8 kB / 445.8 MB, free: 10.64 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002169/0.0273, allocations: 2.715 MB / 448.5 MB, free: 7.859 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004716/0.02777, allocations: 325.1 kB / 448.8 MB, free: 7.527 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001463/0.02792, allocations: 117.1 kB / 448.9 MB, free: 7.41 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.194e-05/0.02796, allocations: 12.5 kB / 448.9 MB, free: 7.398 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003663/0.02833, allocations: 388.1 kB / 449.3 MB, free: 6.996 MB / 426.7 MB Notification: Performance of pre-optimization done (n=72): time 2.334e-06/0.02833, allocations: 4 kB / 449.3 MB, free: 6.992 MB / 426.7 MB Notification: Performance of matching and sorting (n=72): time 0.00121/0.02954, allocations: 0.7954 MB / 450.1 MB, free: 6.188 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.02958, allocations: 72.05 kB / 450.2 MB, free: 6.105 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004118/0.02999, allocations: 0.6161 MB / 450.8 MB, free: 5.469 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.631e-05/0.03003, allocations: 45.69 kB / 450.8 MB, free: 5.418 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002232/0.03026, allocations: 447.4 kB / 451.3 MB, free: 4.977 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/0.03039, allocations: 218.2 kB / 451.5 MB, free: 4.762 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001542/0.03054, allocations: 152.2 kB / 451.6 MB, free: 4.605 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.0307, allocations: 0.5663 MB / 452.2 MB, free: 4.027 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.03084, allocations: 97.92 kB / 452.3 MB, free: 3.93 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002362/0.03108, allocations: 293.5 kB / 452.6 MB, free: 3.574 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005102/0.03159, allocations: 0.5158 MB / 453.1 MB, free: 2.988 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.0316, allocations: 4 kB / 453.1 MB, free: 2.984 MB / 426.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001221/0.03282, allocations: 0.7302 MB / 453.8 MB, free: 2.242 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.03283, allocations: 8 kB / 453.8 MB, free: 2.234 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.03284, allocations: 7.984 kB / 453.8 MB, free: 2.227 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006203/0.03346, allocations: 298.9 kB / 454.1 MB, free: 1.934 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002171/0.03368, allocations: 95.83 kB / 454.2 MB, free: 1.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00229/0.03597, allocations: 2.551 MB / 456.8 MB, free: 15.19 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002623/0.03623, allocations: 79.62 kB / 456.9 MB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.543e-05/0.03627, allocations: 24 kB / 456.9 MB, free: 15.09 MB / 442.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.0003103/0.03658, allocations: 284.7 kB / 457.2 MB, free: 14.8 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.0367, allocations: 115.4 kB / 457.3 MB, free: 14.69 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001001/0.0377, allocations: 0.6761 MB / 457.9 MB, free: 13.99 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.03771, allocations: 3.984 kB / 458 MB, free: 13.99 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.03771, allocations: 0 / 458 MB, free: 13.99 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.917e-05/0.0378, allocations: 95.33 kB / 458 MB, free: 13.89 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.2e-05/0.03787, allocations: 19.94 kB / 458.1 MB, free: 13.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001979/0.03807, allocations: 47.95 kB / 458.1 MB, free: 13.83 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/0.03821, allocations: 88.5 kB / 458.2 MB, free: 13.74 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0011/0.03931, allocations: 0.7462 MB / 458.9 MB, free: 12.98 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008563/0.04016, allocations: 0.893 MB / 459.8 MB, free: 12.07 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001987/0.04036, allocations: 158 kB / 460 MB, free: 11.91 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003394/0.0407, allocations: 390.7 kB / 460.4 MB, free: 11.53 MB / 442.7 MB Notification: Performance of Backend: time 6.81e-07/0.0407, allocations: 0 / 460.4 MB, free: 11.53 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001097/0.0418, allocations: 0.7088 MB / 461.1 MB, free: 10.8 MB / 442.7 MB Notification: Performance of SimCode: time 0.001744/0.04354, allocations: 2.191 MB / 463.3 MB, free: 8.539 MB / 442.7 MB Notification: Performance of Templates: time 0.2008/0.2444, allocations: 17.17 MB / 480.4 MB, free: 74.12 MB / 442.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.642056949902326]