Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.SVarC.SVarCFaultImp.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.001521/0.001521, allocations: 91.55 kB / 20.97 MB, free: 3.586 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.001588/0.001588, allocations: 177 kB / 24.28 MB, free: 284 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.8918/0.8918, allocations: 158.6 MB / 186.1 MB, free: 2.898 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.4401/0.4401, allocations: 90.56 MB / 328.9 MB, free: 14.73 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.SVarCFaultImp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|loadPQ.QPu|sVarCStandard.injector.QInjPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.SVarC.SVarCFaultImp") translateModel(Dynawo.Examples.SVarC.SVarCFaultImp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|loadPQ.QPu|sVarCStandard.injector.QInjPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.SVarC.SVarCFaultImp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 428.1 MB, free: 11.95 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.288e-05/2.49e-05, allocations: 2.312 kB / 428.1 MB, free: 11.95 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SVarC.SVarCFaultImp): time 0.004876/0.004901, allocations: 4.635 MB / 432.7 MB, free: 7.285 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003823/0.008724, allocations: 2.771 MB / 435.5 MB, free: 4.5 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006533/0.009378, allocations: 19.88 kB / 435.5 MB, free: 4.48 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006199/0.009997, allocations: 174.5 kB / 435.7 MB, free: 4.309 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006862/0.01068, allocations: 242.2 kB / 435.9 MB, free: 4.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00165/0.01233, allocations: 0.8569 MB / 436.8 MB, free: 3.211 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001244/0.01358, allocations: 1.112 MB / 437.9 MB, free: 2.098 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004368/0.01401, allocations: 275 kB / 438.2 MB, free: 1.809 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004782/0.01449, allocations: 402.8 kB / 438.5 MB, free: 1.414 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003829/0.01488, allocations: 322.9 kB / 438.9 MB, free: 1.098 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001441/0.01502, allocations: 119.9 kB / 439 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004593/0.01548, allocations: 219.8 kB / 439.2 MB, free: 0.7656 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001526/0.01563, allocations: 235.1 kB / 439.4 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002518/0.01588, allocations: 307.1 kB / 439.7 MB, free: 240 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001164/0.01705, allocations: 0.8173 MB / 440.5 MB, free: 15.41 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.298e-05/0.01706, allocations: 3.984 kB / 440.5 MB, free: 15.41 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.096e-06/0.01706, allocations: 4 kB / 440.5 MB, free: 15.41 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.502e-05/0.01708, allocations: 4 kB / 440.5 MB, free: 15.4 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002294/0.01937, allocations: 1.501 MB / 442.1 MB, free: 13.86 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.01942, allocations: 8.031 kB / 442.1 MB, free: 13.85 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001281/0.0207, allocations: 372.1 kB / 442.4 MB, free: 13.49 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006062/0.02131, allocations: 0.5819 MB / 443 MB, free: 12.88 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002092/0.02152, allocations: 455.4 kB / 443.4 MB, free: 12.34 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.304e-05/0.0216, allocations: 76.34 kB / 443.5 MB, free: 12.27 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008198/0.02242, allocations: 0.6599 MB / 444.2 MB, free: 11.55 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.02243, allocations: 7.938 kB / 444.2 MB, free: 11.54 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.53e-05/0.02248, allocations: 20 kB / 444.2 MB, free: 11.52 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.02249, allocations: 16 kB / 444.2 MB, free: 11.5 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004977/0.02299, allocations: 307.5 kB / 444.5 MB, free: 11.2 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002403/0.02539, allocations: 2.859 MB / 447.4 MB, free: 8.258 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006343/0.02603, allocations: 373 kB / 447.7 MB, free: 7.883 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002304/0.02626, allocations: 149.1 kB / 447.9 MB, free: 7.734 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.362e-05/0.02629, allocations: 8.5 kB / 447.9 MB, free: 7.727 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005432/0.02683, allocations: 464.9 kB / 448.4 MB, free: 7.246 MB / 426.7 MB Notification: Performance of pre-optimization done (n=72): time 2.384e-06/0.02684, allocations: 0 / 448.4 MB, free: 7.246 MB / 426.7 MB Notification: Performance of matching and sorting (n=72): time 0.002195/0.02903, allocations: 1.003 MB / 449.4 MB, free: 6.23 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.61e-05/0.0291, allocations: 97.75 kB / 449.5 MB, free: 6.113 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005102/0.02961, allocations: 0.6244 MB / 450.1 MB, free: 5.473 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.545e-05/0.02965, allocations: 41.7 kB / 450.1 MB, free: 5.426 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002281/0.02988, allocations: 427.6 kB / 450.5 MB, free: 5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/0.03001, allocations: 218.3 kB / 450.8 MB, free: 4.785 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001499/0.03016, allocations: 148.3 kB / 450.9 MB, free: 4.633 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.03032, allocations: 0.5586 MB / 451.5 MB, free: 4.062 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002392/0.03056, allocations: 137.9 kB / 451.6 MB, free: 3.926 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003305/0.03089, allocations: 366.5 kB / 451.9 MB, free: 3.484 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007399/0.03163, allocations: 0.6054 MB / 452.6 MB, free: 2.809 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.698e-06/0.03163, allocations: 8 kB / 452.6 MB, free: 2.801 MB / 426.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001329/0.03296, allocations: 0.8317 MB / 453.4 MB, free: 1.957 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.03298, allocations: 11.94 kB / 453.4 MB, free: 1.945 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.03299, allocations: 4 kB / 453.4 MB, free: 1.941 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007658/0.03376, allocations: 354.7 kB / 453.8 MB, free: 1.594 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002055/0.03396, allocations: 95.77 kB / 453.8 MB, free: 1.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003304/0.03727, allocations: 2.799 MB / 456.6 MB, free: 14.59 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003728/0.03764, allocations: 71.66 kB / 456.7 MB, free: 14.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.775e-05/0.03768, allocations: 28 kB / 456.7 MB, free: 14.5 MB / 442.7 MB Warning: Assuming fixed start value for the following 10 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 nodeFault.nodeFault:DISCRETE(flow=false start = false fixed = true ) \"True when the fault is ongoing, false otherwise\" type: Boolean 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: 17 * Number of states: 0 () * Number of discrete variables: 47 ($PRE.sVarCStandard.injector.state,sVarCStandard.injector.state,$PRE.line.state,line.state,$whenCondition16,$whenCondition17,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.nodeFault.nodeFault,$PRE.sVarCStandard.blockingFunction.blocked,$PRE.sVarCStandard.modeHandling.modeAuto,sVarCStandard.modeHandling.modeManual,nodeFault.nodeFault,sVarCStandard.blockingFunction.blocked,sVarCStandard.modeHandling.URefAuto,sVarCStandard.modeHandling.timerModeChangeDown,sVarCStandard.modeHandling.timerModeChangeUp,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 (80): * Single equations (assignments): 79 * 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 {(7,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003671/0.03805, allocations: 288.8 kB / 457 MB, free: 14.21 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.03817, allocations: 111.5 kB / 457.1 MB, free: 14.11 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001151/0.03932, allocations: 0.7046 MB / 457.8 MB, free: 13.38 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.03933, allocations: 7.984 kB / 457.8 MB, free: 13.37 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.247e-06/0.03934, allocations: 0 / 457.8 MB, free: 13.37 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/0.03945, allocations: 95.33 kB / 457.9 MB, free: 13.28 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.038e-05/0.03952, allocations: 15.98 kB / 458 MB, free: 13.26 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/0.03973, allocations: 51.89 kB / 458 MB, free: 13.21 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/0.03987, allocations: 72.52 kB / 458.1 MB, free: 13.14 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001398/0.04127, allocations: 0.8182 MB / 458.9 MB, free: 12.32 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001096/0.04236, allocations: 0.9641 MB / 459.9 MB, free: 11.33 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000277/0.04264, allocations: 162.1 kB / 460 MB, free: 11.17 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003407/0.04298, allocations: 407 kB / 460.4 MB, free: 10.77 MB / 442.7 MB Notification: Performance of Backend: time 2.8e-07/0.04298, allocations: 4 kB / 460.4 MB, free: 10.76 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001568/0.04455, allocations: 0.7875 MB / 461.2 MB, free: 9.949 MB / 442.7 MB Notification: Performance of SimCode: time 0.001883/0.04643, allocations: 2.083 MB / 463.3 MB, free: 7.809 MB / 442.7 MB Notification: Performance of Templates: time 0.1668/0.2132, allocations: 16 MB / 479.3 MB, free: 81.89 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f Dynawo_dev_Dynawo.Examples.SVarC.SVarCFaultImp.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.SVarC.SVarCFaultImp.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.SVarC.SVarCFaultImp.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.SVarC.SVarCFaultImp.pipe >> ../files/Dynawo_dev_Dynawo.Examples.SVarC.SVarCFaultImp.sim & ./Dynawo_dev_Dynawo.Examples.SVarC.SVarCFaultImp -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.SVarC.SVarCFaultImp.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.SVarC.SVarCFaultImp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.SVarC.SVarCFaultImp_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.SVarCFaultImp_res.mat. Warning: Get data of variable loadPQ.QPu from file Dynawo_dev_Dynawo.Examples.SVarC.SVarCFaultImp_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.67830121004954]