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.0009543/0.0009543, allocations: 73.98 kB / 20.67 MB, free: 3.828 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.000948/0.000948, allocations: 181 kB / 24.08 MB, free: 428 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.825/0.825, allocations: 158.6 MB / 186 MB, free: 2.793 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.4258/0.4258, allocations: 91.28 MB / 329.6 MB, free: 13.91 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.663e-06/1.663e-06, allocations: 0 / 429.6 MB, free: 10.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.258e-05/2.425e-05, allocations: 9.906 kB / 429.6 MB, free: 10.31 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SVarC.SVarCModeChange): time 0.004449/0.004473, allocations: 4.57 MB / 434.2 MB, free: 5.707 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003158/0.007631, allocations: 2.798 MB / 437 MB, free: 2.895 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002527/0.007884, allocations: 19.88 kB / 437 MB, free: 2.875 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003697/0.008253, allocations: 178.4 kB / 437.2 MB, free: 2.699 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003708/0.008624, allocations: 238.2 kB / 437.4 MB, free: 2.465 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.009627, allocations: 0.8647 MB / 438.3 MB, free: 1.598 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007288/0.01036, allocations: 1.131 MB / 439.4 MB, free: 476 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003097/0.01067, allocations: 271.3 kB / 439.7 MB, free: 184 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00028/0.01095, allocations: 414.7 kB / 440.1 MB, free: 15.77 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002898/0.01124, allocations: 342.8 kB / 440.4 MB, free: 15.44 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 9.437e-05/0.01133, allocations: 112 kB / 440.5 MB, free: 15.33 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002186/0.01155, allocations: 227.8 kB / 440.7 MB, free: 15.11 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.01168, allocations: 247.1 kB / 441 MB, free: 14.86 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001824/0.01187, allocations: 311 kB / 441.3 MB, free: 14.56 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006544/0.01252, allocations: 0.8368 MB / 442.1 MB, free: 13.72 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.01252, allocations: 4 kB / 442.1 MB, free: 13.71 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.01252, allocations: 0 / 442.1 MB, free: 13.71 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.01253, allocations: 0 / 442.1 MB, free: 13.71 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.001692/0.01422, allocations: 1.522 MB / 443.6 MB, free: 12.15 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.01426, allocations: 16.02 kB / 443.7 MB, free: 12.14 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007419/0.015, allocations: 368.1 kB / 444 MB, free: 11.78 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005198/0.01552, allocations: 0.5865 MB / 444.6 MB, free: 11.16 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001631/0.01568, allocations: 408 kB / 445 MB, free: 10.68 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.099e-05/0.01575, allocations: 72.3 kB / 445.1 MB, free: 10.61 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000603/0.01635, allocations: 0.6093 MB / 445.7 MB, free: 9.945 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.01637, allocations: 7.938 kB / 445.7 MB, free: 9.938 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.924e-05/0.01641, allocations: 23.98 kB / 445.7 MB, free: 9.914 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.01642, allocations: 16 kB / 445.7 MB, free: 9.898 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002938/0.01671, allocations: 244.8 kB / 446 MB, free: 9.66 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002031/0.01874, allocations: 2.715 MB / 448.7 MB, free: 6.875 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000437/0.01918, allocations: 321.1 kB / 449 MB, free: 6.547 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001359/0.01932, allocations: 121 kB / 449.1 MB, free: 6.426 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.509e-05/0.01935, allocations: 16.5 kB / 449.1 MB, free: 6.41 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003689/0.01972, allocations: 391.7 kB / 449.5 MB, free: 6.008 MB / 426.7 MB Notification: Performance of pre-optimization done (n=72): time 2.024e-06/0.01972, allocations: 4 kB / 449.5 MB, free: 6.004 MB / 426.7 MB Notification: Performance of matching and sorting (n=72): time 0.001253/0.02098, allocations: 0.7876 MB / 450.3 MB, free: 5.207 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.02101, allocations: 71.98 kB / 450.4 MB, free: 5.125 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003848/0.02139, allocations: 0.6162 MB / 451 MB, free: 4.488 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.172e-05/0.02143, allocations: 41.7 kB / 451 MB, free: 4.441 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002076/0.02164, allocations: 451.5 kB / 451.5 MB, free: 3.996 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/0.02176, allocations: 218.2 kB / 451.7 MB, free: 3.781 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/0.0219, allocations: 144.2 kB / 451.8 MB, free: 3.633 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.02206, allocations: 0.5741 MB / 452.4 MB, free: 3.047 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.02219, allocations: 101.9 kB / 452.5 MB, free: 2.945 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002094/0.0224, allocations: 285.4 kB / 452.8 MB, free: 2.598 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004721/0.02287, allocations: 0.5236 MB / 453.3 MB, free: 2.004 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.02288, allocations: 4 kB / 453.3 MB, free: 2 MB / 426.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0009507/0.02383, allocations: 0.7224 MB / 454 MB, free: 1.266 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.02385, allocations: 12.16 kB / 454 MB, free: 1.254 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.02385, allocations: 4 kB / 454 MB, free: 1.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005665/0.02442, allocations: 306.9 kB / 454.3 MB, free: 0.9492 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000201/0.02462, allocations: 91.83 kB / 454.4 MB, free: 0.8594 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002332/0.02695, allocations: 2.551 MB / 457 MB, free: 14.21 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002462/0.0272, allocations: 83.62 kB / 457.1 MB, free: 14.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.114e-05/0.02723, allocations: 23.98 kB / 457.1 MB, free: 14.1 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.0002777/0.02751, allocations: 280.7 kB / 457.4 MB, free: 13.82 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.811e-05/0.02761, allocations: 111.4 kB / 457.5 MB, free: 13.71 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000932/0.02854, allocations: 0.6878 MB / 458.2 MB, free: 13 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.02855, allocations: 3.984 kB / 458.2 MB, free: 13 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.02855, allocations: 4 kB / 458.2 MB, free: 13 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.191e-05/0.02863, allocations: 87.34 kB / 458.3 MB, free: 12.91 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.798e-05/0.02869, allocations: 23.92 kB / 458.3 MB, free: 12.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001775/0.02887, allocations: 47.95 kB / 458.3 MB, free: 12.84 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/0.02901, allocations: 80.5 kB / 458.4 MB, free: 12.76 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00103/0.03004, allocations: 0.754 MB / 459.2 MB, free: 12 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007763/0.03081, allocations: 0.893 MB / 460.1 MB, free: 11.09 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000194/0.03101, allocations: 150.1 kB / 460.2 MB, free: 10.93 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002511/0.03126, allocations: 386.8 kB / 460.6 MB, free: 10.55 MB / 442.7 MB Notification: Performance of Backend: time 2.41e-07/0.03126, allocations: 3.938 kB / 460.6 MB, free: 10.55 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001161/0.03242, allocations: 0.7123 MB / 461.3 MB, free: 9.812 MB / 442.7 MB Notification: Performance of SimCode: time 0.001939/0.03436, allocations: 2.184 MB / 463.5 MB, free: 7.562 MB / 442.7 MB Notification: Performance of Templates: time 0.171/0.2054, allocations: 16.75 MB / 480.2 MB, free: 72.78 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.2849718080833554]