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.001171/0.001171, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001482/0.002653, allocations: 435.8 kB / 10.33 MB, free: 368 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.0008292/0.0008292, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009397/0.001769, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.8802/0.8802, allocations: 158.6 MB / 171 MB, free: 2.586 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1964/1.077, allocations: 49.49 MB / 220.5 MB, free: 1.453 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] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/package.mo): time 0.4975/0.4975, allocations: 100.6 MB / 321.8 MB, free: 4.719 MB / 314.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06363/0.5612, allocations: 35.68 MB / 357.5 MB, free: 1.332 MB / 346.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.644e-06/1.644e-06, allocations: 0 / 359 MB, free: 15.86 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.293e-05/2.458e-05, allocations: 2.312 kB / 359 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SVarC.SVarCModeChange): time 0.004798/0.004823, allocations: 4.66 MB / 363.6 MB, free: 11.16 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004047/0.008869, allocations: 2.91 MB / 366.6 MB, free: 8.25 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005534/0.009423, allocations: 19.88 kB / 366.6 MB, free: 8.23 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004259/0.009848, allocations: 178.4 kB / 366.7 MB, free: 8.055 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005651/0.01041, allocations: 250.1 kB / 367 MB, free: 7.809 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001377/0.01179, allocations: 0.8725 MB / 367.9 MB, free: 6.934 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001113/0.0129, allocations: 1.112 MB / 369 MB, free: 5.816 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004093/0.01331, allocations: 295.3 kB / 369.3 MB, free: 5.492 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008318/0.01414, allocations: 0.7713 MB / 370 MB, free: 4.703 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003909/0.01453, allocations: 346.8 kB / 370.4 MB, free: 4.363 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001147/0.01465, allocations: 112 kB / 370.5 MB, free: 4.254 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000389/0.01504, allocations: 227.8 kB / 370.7 MB, free: 4.031 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001377/0.01518, allocations: 187.4 kB / 370.9 MB, free: 3.848 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002205/0.0154, allocations: 251.4 kB / 371.1 MB, free: 3.602 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009297/0.01633, allocations: 0.7745 MB / 371.9 MB, free: 2.824 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.44e-05/0.01635, allocations: 0 / 371.9 MB, free: 2.824 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.01635, allocations: 4 kB / 371.9 MB, free: 2.82 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.173e-05/0.01638, allocations: 0 / 371.9 MB, free: 2.82 MB / 362.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.002222/0.01861, allocations: 1.637 MB / 373.5 MB, free: 1.141 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.01865, allocations: 12.03 kB / 373.6 MB, free: 1.129 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001058/0.01971, allocations: 364.6 kB / 373.9 MB, free: 0.7734 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00052/0.02023, allocations: 406 kB / 374.3 MB, free: 356 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002435/0.02047, allocations: 408 kB / 374.7 MB, free: 15.87 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.081e-05/0.02055, allocations: 68.36 kB / 374.8 MB, free: 15.8 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000686/0.02124, allocations: 0.6156 MB / 375.4 MB, free: 15.14 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.02125, allocations: 11.88 kB / 375.4 MB, free: 15.13 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.58e-05/0.0213, allocations: 24 kB / 375.4 MB, free: 15.11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.02131, allocations: 16 kB / 375.4 MB, free: 15.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003271/0.02164, allocations: 215.8 kB / 375.7 MB, free: 14.88 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002054/0.02369, allocations: 1.934 MB / 377.6 MB, free: 12.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004987/0.02419, allocations: 344.2 kB / 377.9 MB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001309/0.02432, allocations: 98.34 kB / 378 MB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.664e-05/0.02437, allocations: 24.42 kB / 378 MB, free: 12.42 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004132/0.02478, allocations: 396.2 kB / 378.4 MB, free: 12.01 MB / 378.7 MB Notification: Performance of pre-optimization done (n=72): time 3.115e-06/0.02478, allocations: 0 / 378.4 MB, free: 12.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=72): time 0.0009761/0.02576, allocations: 0.6202 MB / 379.1 MB, free: 11.39 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.539e-05/0.02581, allocations: 75.98 kB / 379.1 MB, free: 11.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003656/0.02617, allocations: 0.5428 MB / 379.7 MB, free: 10.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.957e-05/0.02622, allocations: 41.7 kB / 379.7 MB, free: 10.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.02638, allocations: 310.7 kB / 380 MB, free: 10.39 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/0.02651, allocations: 214.2 kB / 380.2 MB, free: 10.18 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/0.02666, allocations: 142.5 kB / 380.4 MB, free: 10.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.02679, allocations: 398.6 kB / 380.7 MB, free: 9.641 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002252/0.02701, allocations: 84.8 kB / 380.8 MB, free: 9.555 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001851/0.0272, allocations: 247.7 kB / 381.1 MB, free: 9.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004615/0.02766, allocations: 476.5 kB / 381.5 MB, free: 8.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.02766, allocations: 7.938 kB / 381.5 MB, free: 8.742 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0008754/0.02854, allocations: 0.599 MB / 382.1 MB, free: 8.133 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.02856, allocations: 11.38 kB / 382.2 MB, free: 8.125 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.02857, allocations: 4 kB / 382.2 MB, free: 8.121 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005542/0.02912, allocations: 284.7 kB / 382.4 MB, free: 7.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002344/0.02936, allocations: 111.8 kB / 382.5 MB, free: 7.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001861/0.03122, allocations: 1.912 MB / 384.5 MB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002622/0.03148, allocations: 75.7 kB / 384.5 MB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.938e-05/0.03151, allocations: 19.98 kB / 384.6 MB, free: 5.645 MB / 378.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.0002864/0.0318, allocations: 234.1 kB / 384.8 MB, free: 5.414 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.622e-05/0.03188, allocations: 91.77 kB / 384.9 MB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007616/0.03264, allocations: 0.5485 MB / 385.4 MB, free: 4.754 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.03265, allocations: 3.984 kB / 385.4 MB, free: 4.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.03266, allocations: 4 kB / 385.4 MB, free: 4.746 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.362e-05/0.03275, allocations: 71.36 kB / 385.5 MB, free: 4.676 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.029e-05/0.03278, allocations: 19.92 kB / 385.5 MB, free: 4.656 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.113e-05/0.03283, allocations: 20 kB / 385.5 MB, free: 4.637 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.03299, allocations: 47.89 kB / 385.6 MB, free: 4.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.03312, allocations: 88.48 kB / 385.7 MB, free: 4.504 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000863/0.03399, allocations: 0.631 MB / 386.3 MB, free: 3.867 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006249/0.03461, allocations: 0.7187 MB / 387 MB, free: 3.129 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001798/0.03479, allocations: 143.3 kB / 387.2 MB, free: 2.984 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001872/0.03498, allocations: 260.6 kB / 387.4 MB, free: 2.73 MB / 378.7 MB Notification: Performance of Backend: time 6.42e-07/0.03498, allocations: 0 / 387.4 MB, free: 2.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001144/0.03612, allocations: 0.6578 MB / 388.1 MB, free: 2.055 MB / 378.7 MB Notification: Performance of SimCode: time 0.002227/0.03835, allocations: 2.011 MB / 390.1 MB, free: 15.99 MB / 394.7 MB Notification: Performance of Templates: time 0.02053/0.05888, allocations: 16.6 MB / 406.7 MB, free: 15.48 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,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] Not compared, constant in the reference and not in the result: loadPQ.QPu Reference file matches [Calling sys.exit(0), Time elapsed: 3.3937373077496886]