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.001547/0.001547, allocations: 91.55 kB / 20.97 MB, free: 3.578 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.001724/0.001724, allocations: 177 kB / 24.27 MB, free: 276 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.965/0.965, allocations: 158.6 MB / 186.1 MB, free: 2.922 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.495/0.495, allocations: 90.56 MB / 328.9 MB, free: 14.7 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.613e-06/1.613e-06, allocations: 0 / 428.1 MB, free: 11.92 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.709e-05/2.87e-05, allocations: 9.625 kB / 428.1 MB, free: 11.91 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SVarC.SVarCModeChange): time 0.005124/0.005153, allocations: 4.644 MB / 432.7 MB, free: 7.234 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00414/0.009293, allocations: 2.826 MB / 435.6 MB, free: 4.395 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005664/0.00986, allocations: 19.88 kB / 435.6 MB, free: 4.375 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005008/0.01036, allocations: 170.4 kB / 435.7 MB, free: 4.207 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000663/0.01102, allocations: 242.2 kB / 436 MB, free: 3.969 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001607/0.01263, allocations: 0.8724 MB / 436.9 MB, free: 3.094 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001019/0.01365, allocations: 1.135 MB / 438 MB, free: 1.957 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003898/0.01404, allocations: 275.3 kB / 438.3 MB, free: 1.668 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003763/0.01442, allocations: 410.7 kB / 438.7 MB, free: 1.266 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003686/0.01478, allocations: 338.8 kB / 439 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001221/0.01491, allocations: 116 kB / 439.1 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003521/0.01526, allocations: 219.8 kB / 439.3 MB, free: 0.6055 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001518/0.01541, allocations: 255 kB / 439.6 MB, free: 364 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002286/0.01564, allocations: 311 kB / 439.9 MB, free: 52 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009064/0.01655, allocations: 0.8368 MB / 440.7 MB, free: 15.21 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.01655, allocations: 0 / 440.7 MB, free: 15.21 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.01655, allocations: 0 / 440.7 MB, free: 15.21 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.01656, allocations: 4 kB / 440.7 MB, free: 15.21 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.002115/0.01868, allocations: 1.518 MB / 442.2 MB, free: 13.65 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.01872, allocations: 8.031 kB / 442.2 MB, free: 13.64 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009713/0.01969, allocations: 368.1 kB / 442.6 MB, free: 13.28 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006492/0.02034, allocations: 0.6021 MB / 443.2 MB, free: 12.65 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002104/0.02055, allocations: 412 kB / 443.6 MB, free: 12.17 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.591e-05/0.02064, allocations: 68.36 kB / 443.7 MB, free: 12.1 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009506/0.02159, allocations: 0.6602 MB / 444.3 MB, free: 11.38 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.0216, allocations: 4 kB / 444.3 MB, free: 11.38 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.835e-05/0.02165, allocations: 20 kB / 444.3 MB, free: 11.36 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.755e-05/0.02167, allocations: 19.98 kB / 444.4 MB, free: 11.34 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005458/0.02222, allocations: 303.5 kB / 444.7 MB, free: 11.04 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002461/0.02468, allocations: 2.812 MB / 447.5 MB, free: 8.152 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006856/0.02536, allocations: 373 kB / 447.8 MB, free: 7.773 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002404/0.0256, allocations: 137.1 kB / 448 MB, free: 7.637 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.201e-05/0.02564, allocations: 12.44 kB / 448 MB, free: 7.625 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005255/0.02617, allocations: 420.2 kB / 448.4 MB, free: 7.191 MB / 426.7 MB Notification: Performance of pre-optimization done (n=72): time 2.615e-06/0.02617, allocations: 0 / 448.4 MB, free: 7.191 MB / 426.7 MB Notification: Performance of matching and sorting (n=72): time 0.001595/0.02777, allocations: 0.8891 MB / 449.3 MB, free: 6.293 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.02781, allocations: 64.06 kB / 449.3 MB, free: 6.219 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005319/0.02834, allocations: 0.6322 MB / 450 MB, free: 5.566 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.858e-05/0.02839, allocations: 49.64 kB / 450 MB, free: 5.512 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002359/0.02863, allocations: 447.5 kB / 450.5 MB, free: 5.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/0.02876, allocations: 210.3 kB / 450.7 MB, free: 4.863 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001644/0.02893, allocations: 144.3 kB / 450.8 MB, free: 4.715 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002469/0.02917, allocations: 0.5625 MB / 451.4 MB, free: 4.141 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002412/0.02941, allocations: 133.9 kB / 451.5 MB, free: 4.008 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003229/0.02974, allocations: 317.5 kB / 451.8 MB, free: 3.629 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007557/0.03049, allocations: 0.5862 MB / 452.4 MB, free: 2.973 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.0305, allocations: 0 / 452.4 MB, free: 2.973 MB / 426.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001342/0.03184, allocations: 0.8004 MB / 453.2 MB, free: 2.16 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.761e-05/0.03187, allocations: 8 kB / 453.2 MB, free: 2.152 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.03188, allocations: 4 kB / 453.2 MB, free: 2.148 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007374/0.03262, allocations: 314.8 kB / 453.5 MB, free: 1.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002532/0.03287, allocations: 91.83 kB / 453.6 MB, free: 1.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002764/0.03563, allocations: 2.625 MB / 456.2 MB, free: 15.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003523/0.03599, allocations: 87.69 kB / 456.3 MB, free: 14.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.783e-05/0.03602, allocations: 28 kB / 456.4 MB, free: 14.91 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.0003824/0.03641, allocations: 292.5 kB / 456.6 MB, free: 14.61 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.03652, allocations: 111.5 kB / 456.7 MB, free: 14.5 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001244/0.03777, allocations: 0.7426 MB / 457.5 MB, free: 13.74 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.03778, allocations: 7.969 kB / 457.5 MB, free: 13.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.03778, allocations: 0 / 457.5 MB, free: 13.73 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.0379, allocations: 99.27 kB / 457.6 MB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.47e-05/0.03796, allocations: 16 kB / 457.6 MB, free: 13.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/0.03817, allocations: 47.95 kB / 457.7 MB, free: 13.57 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/0.03832, allocations: 84.5 kB / 457.7 MB, free: 13.49 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001393/0.03972, allocations: 0.7892 MB / 458.5 MB, free: 12.69 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00105/0.04077, allocations: 0.9555 MB / 459.5 MB, free: 11.72 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002809/0.04105, allocations: 170 kB / 459.6 MB, free: 11.55 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003442/0.04139, allocations: 407 kB / 460 MB, free: 11.15 MB / 442.7 MB Notification: Performance of Backend: time 6.31e-07/0.04139, allocations: 0 / 460 MB, free: 11.15 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001536/0.04293, allocations: 0.7361 MB / 460.8 MB, free: 10.39 MB / 442.7 MB Notification: Performance of SimCode: time 0.001965/0.04489, allocations: 2.095 MB / 462.9 MB, free: 8.234 MB / 442.7 MB Notification: Performance of Templates: time 0.1765/0.2214, allocations: 15.87 MB / 478.7 MB, free: 82.75 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.914427406154573]