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.002254/0.002254, 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.002464/0.002464, allocations: 157.7 kB / 23.53 MB, free: 0.8984 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.457/1.457, allocations: 158.6 MB / 185.3 MB, free: 2.84 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.6774/0.6774, allocations: 90.63 MB / 328.3 MB, free: 14.58 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 2.535e-06/2.535e-06, allocations: 0 / 427.4 MB, free: 11.82 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.297e-05/3.551e-05, allocations: 6.25 kB / 427.4 MB, free: 11.81 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SVarC.SVarCModeChange): time 0.008206/0.008242, allocations: 4.421 MB / 431.9 MB, free: 7.355 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005897/0.01414, allocations: 2.756 MB / 434.6 MB, free: 4.586 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007805/0.01492, allocations: 19.88 kB / 434.6 MB, free: 4.566 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008117/0.01573, allocations: 170.4 kB / 434.8 MB, free: 4.398 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001144/0.01687, allocations: 238.2 kB / 435 MB, free: 4.164 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002394/0.01927, allocations: 0.8841 MB / 435.9 MB, free: 3.277 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001892/0.02116, allocations: 1.135 MB / 437 MB, free: 2.141 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007119/0.02187, allocations: 267.3 kB / 437.3 MB, free: 1.859 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007853/0.02266, allocations: 414.7 kB / 437.7 MB, free: 1.453 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006855/0.02334, allocations: 338.8 kB / 438 MB, free: 1.121 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002827/0.02363, allocations: 112 kB / 438.2 MB, free: 1.012 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005359/0.02416, allocations: 219.9 kB / 438.4 MB, free: 0.7969 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003834/0.02455, allocations: 243.1 kB / 438.6 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007207/0.02527, allocations: 319 kB / 438.9 MB, free: 252 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002252/0.02752, allocations: 1.394 MB / 440.3 MB, free: 14.85 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.02753, allocations: 3.984 kB / 440.3 MB, free: 14.84 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.02753, allocations: 0 / 440.3 MB, free: 14.84 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.412e-05/0.02758, allocations: 0 / 440.3 MB, free: 14.84 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.004663/0.03224, allocations: 1.446 MB / 441.8 MB, free: 13.36 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.03229, allocations: 8.031 kB / 441.8 MB, free: 13.36 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001642/0.03394, allocations: 372 kB / 442.1 MB, free: 12.99 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.03499, allocations: 0.6073 MB / 442.7 MB, free: 12.36 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003834/0.03537, allocations: 412 kB / 443.1 MB, free: 11.88 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/0.03551, allocations: 72.31 kB / 443.2 MB, free: 11.8 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001761/0.03727, allocations: 0.8428 MB / 444.1 MB, free: 10.92 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.03729, allocations: 4 kB / 444.1 MB, free: 10.91 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.284e-05/0.03737, allocations: 31.98 kB / 444.1 MB, free: 10.88 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.125e-05/0.03739, allocations: 16 kB / 444.1 MB, free: 10.87 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001491/0.03888, allocations: 0.6414 MB / 444.7 MB, free: 10.23 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004339/0.04322, allocations: 2.57 MB / 447.3 MB, free: 7.594 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00166/0.04488, allocations: 0.6216 MB / 447.9 MB, free: 6.957 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007549/0.04564, allocations: 322.2 kB / 448.3 MB, free: 6.641 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.862e-05/0.0457, allocations: 16.42 kB / 448.3 MB, free: 6.625 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001351/0.04705, allocations: 0.596 MB / 448.9 MB, free: 6.008 MB / 426.7 MB Notification: Performance of pre-optimization done (n=72): time 7.554e-06/0.04705, allocations: 0 / 448.9 MB, free: 6.008 MB / 426.7 MB Notification: Performance of matching and sorting (n=72): time 0.003912/0.05097, allocations: 1.484 MB / 450.3 MB, free: 4.516 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.609e-05/0.05103, allocations: 68.05 kB / 450.4 MB, free: 4.438 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/0.05208, allocations: 0.6526 MB / 451.1 MB, free: 3.773 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.462e-05/0.05216, allocations: 45.7 kB / 451.1 MB, free: 3.723 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004126/0.05257, allocations: 392.8 kB / 451.5 MB, free: 3.332 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002693/0.05284, allocations: 218.2 kB / 451.7 MB, free: 3.117 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002878/0.05313, allocations: 138.6 kB / 451.8 MB, free: 2.977 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002658/0.05339, allocations: 390.7 kB / 452.2 MB, free: 2.586 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008438/0.05424, allocations: 329.9 kB / 452.5 MB, free: 2.262 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009566/0.05519, allocations: 484.1 kB / 453 MB, free: 1.738 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004358/0.05955, allocations: 1.545 MB / 454.6 MB, free: 152 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.726e-06/0.05956, allocations: 0 / 454.6 MB, free: 152 kB / 426.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00351/0.06307, allocations: 1.243 MB / 455.8 MB, free: 14.89 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.0631, allocations: 4 kB / 455.8 MB, free: 14.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/0.06311, allocations: 8 kB / 455.8 MB, free: 14.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001543/0.06465, allocations: 416 kB / 456.2 MB, free: 14.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005023/0.06516, allocations: 103.8 kB / 456.3 MB, free: 14.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006072/0.07123, allocations: 3.082 MB / 459.4 MB, free: 11.21 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000781/0.07201, allocations: 103.7 kB / 459.5 MB, free: 11.11 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.783e-05/0.0721, allocations: 28 kB / 459.5 MB, free: 11.08 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.injector.switchOffSignal3,sVarCStandard.injector.switchOffSignal2,sVarCStandard.injector.switchOffSignal1,line.switchOffSignal2,line.switchOffSignal1,$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,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 (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.0007191/0.07282, allocations: 316.9 kB / 459.8 MB, free: 10.77 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003136/0.07313, allocations: 115.5 kB / 460 MB, free: 10.65 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00329/0.07642, allocations: 1.158 MB / 461.1 MB, free: 9.469 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.07643, allocations: 3.984 kB / 461.1 MB, free: 9.465 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.07644, allocations: 3.938 kB / 461.1 MB, free: 9.461 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002348/0.07667, allocations: 99.27 kB / 461.2 MB, free: 9.363 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/0.0768, allocations: 15.98 kB / 461.2 MB, free: 9.348 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005703/0.07737, allocations: 75.92 kB / 461.3 MB, free: 9.273 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002697/0.07764, allocations: 84.5 kB / 461.4 MB, free: 9.191 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003924/0.08156, allocations: 1.29 MB / 462.7 MB, free: 7.891 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00332/0.08488, allocations: 1.49 MB / 464.2 MB, free: 6.387 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008421/0.08572, allocations: 357.1 kB / 464.5 MB, free: 6.035 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007417/0.08646, allocations: 451.1 kB / 465 MB, free: 5.59 MB / 442.7 MB Notification: Performance of Backend: time 3.61e-07/0.08646, allocations: 0 / 465 MB, free: 5.59 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002712/0.08918, allocations: 0.8459 MB / 465.8 MB, free: 4.727 MB / 442.7 MB Notification: Performance of SimCode: time 0.003467/0.09264, allocations: 1.934 MB / 467.7 MB, free: 2.734 MB / 442.7 MB Notification: Performance of Templates: time 0.2009/0.2935, allocations: 15.69 MB / 483.4 MB, free: 82.1 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=480 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.SVarC.SVarCModeChange.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.SVarC.SVarCModeChange.diff",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: 6.227860171929933]