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.001457/0.001457, allocations: 77.88 kB / 21.46 MB, free: 3.039 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.001103/0.001103, allocations: 161.2 kB / 24.85 MB, free: 9.27 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 0.8858/0.8858, allocations: 158.6 MB / 186.8 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.4352/0.4352, allocations: 90.57 MB / 329.7 MB, free: 14.6 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 1.202e-06/1.202e-06, allocations: 0 / 429.4 MB, free: 11.29 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.36e-05/1.48e-05, allocations: 2.312 kB / 429.4 MB, free: 11.29 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SVarC.SVarCFaultImp): time 0.004285/0.0043, allocations: 4.55 MB / 434 MB, free: 6.711 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00299/0.00729, allocations: 2.744 MB / 436.7 MB, free: 3.953 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002657/0.007556, allocations: 11.94 kB / 436.7 MB, free: 3.941 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003664/0.007922, allocations: 170.5 kB / 436.9 MB, free: 3.773 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003636/0.008286, allocations: 242.1 kB / 437.1 MB, free: 3.535 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009946/0.00928, allocations: 0.8569 MB / 438 MB, free: 2.676 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006886/0.009969, allocations: 1.108 MB / 439.1 MB, free: 1.566 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003155/0.01028, allocations: 271.1 kB / 439.3 MB, free: 1.281 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002682/0.01055, allocations: 410.8 kB / 439.7 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000251/0.0108, allocations: 330.8 kB / 440.1 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.014e-05/0.01089, allocations: 112 kB / 440.2 MB, free: 456 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002189/0.01111, allocations: 219.8 kB / 440.4 MB, free: 236 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.01124, allocations: 247.1 kB / 440.6 MB, free: 15.99 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000178/0.01142, allocations: 299.1 kB / 440.9 MB, free: 15.7 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006556/0.01208, allocations: 0.8329 MB / 441.8 MB, free: 14.86 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.01208, allocations: 0 / 441.8 MB, free: 14.86 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.01208, allocations: 0 / 441.8 MB, free: 14.86 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.01209, allocations: 0 / 441.8 MB, free: 14.86 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.001876/0.01396, allocations: 1.512 MB / 443.3 MB, free: 13.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.014, allocations: 8.031 kB / 443.3 MB, free: 13.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007893/0.01479, allocations: 372 kB / 443.6 MB, free: 12.93 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005032/0.01529, allocations: 0.5625 MB / 444.2 MB, free: 12.34 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001992/0.01549, allocations: 467.4 kB / 444.7 MB, free: 11.8 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.753e-05/0.01557, allocations: 68.38 kB / 444.7 MB, free: 11.73 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006339/0.01621, allocations: 0.6207 MB / 445.3 MB, free: 11.05 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.01622, allocations: 0 / 445.3 MB, free: 11.05 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.278e-05/0.01626, allocations: 24 kB / 445.4 MB, free: 11.02 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.01627, allocations: 16 kB / 445.4 MB, free: 11.01 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002974/0.01657, allocations: 232.8 kB / 445.6 MB, free: 10.78 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002225/0.01879, allocations: 2.774 MB / 448.4 MB, free: 7.93 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004807/0.01927, allocations: 325 kB / 448.7 MB, free: 7.602 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.01942, allocations: 121.1 kB / 448.8 MB, free: 7.48 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.772e-05/0.01946, allocations: 16.44 kB / 448.8 MB, free: 7.465 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005528/0.02002, allocations: 444.8 kB / 449.3 MB, free: 7.004 MB / 426.7 MB Notification: Performance of pre-optimization done (n=72): time 1.793e-06/0.02002, allocations: 0 / 449.3 MB, free: 7.004 MB / 426.7 MB Notification: Performance of matching and sorting (n=72): time 0.001558/0.02158, allocations: 0.9093 MB / 450.2 MB, free: 6.082 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.02162, allocations: 93.75 kB / 450.3 MB, free: 5.969 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004063/0.02203, allocations: 0.6084 MB / 450.9 MB, free: 5.344 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.327e-05/0.02207, allocations: 41.7 kB / 450.9 MB, free: 5.297 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002224/0.02229, allocations: 435.5 kB / 451.3 MB, free: 4.863 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000133/0.02243, allocations: 226.2 kB / 451.6 MB, free: 4.641 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001545/0.02258, allocations: 148.2 kB / 451.7 MB, free: 4.488 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.02275, allocations: 0.5663 MB / 452.3 MB, free: 3.91 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.0229, allocations: 101.9 kB / 452.4 MB, free: 3.809 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002506/0.02315, allocations: 330.5 kB / 452.7 MB, free: 3.402 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005229/0.02367, allocations: 0.5389 MB / 453.2 MB, free: 2.793 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.02367, allocations: 4 kB / 453.2 MB, free: 2.789 MB / 426.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001084/0.02476, allocations: 0.7614 MB / 454 MB, free: 2.016 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.02478, allocations: 8 kB / 454 MB, free: 2.008 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.078e-06/0.02479, allocations: 4 kB / 454 MB, free: 2.004 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006621/0.02545, allocations: 358.6 kB / 454.4 MB, free: 1.652 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001845/0.02563, allocations: 87.83 kB / 454.5 MB, free: 1.566 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00246/0.02809, allocations: 2.709 MB / 457.2 MB, free: 14.76 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002345/0.02833, allocations: 79.64 kB / 457.2 MB, free: 14.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.944e-05/0.02836, allocations: 16 kB / 457.3 MB, free: 14.66 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.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.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,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 (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.0002403/0.0286, allocations: 296.7 kB / 457.5 MB, free: 14.38 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.751e-05/0.02869, allocations: 115.4 kB / 457.7 MB, free: 14.26 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007814/0.02948, allocations: 0.642 MB / 458.3 MB, free: 13.6 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.02948, allocations: 0 / 458.3 MB, free: 13.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.02948, allocations: 0 / 458.3 MB, free: 13.6 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.892e-05/0.02956, allocations: 95.33 kB / 458.4 MB, free: 13.5 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.919e-05/0.02962, allocations: 19.98 kB / 458.4 MB, free: 13.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001864/0.02981, allocations: 43.95 kB / 458.5 MB, free: 13.44 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.02993, allocations: 76.52 kB / 458.5 MB, free: 13.37 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001063/0.03099, allocations: 0.7674 MB / 459.3 MB, free: 12.59 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007556/0.03175, allocations: 0.9171 MB / 460.2 MB, free: 11.65 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001799/0.03193, allocations: 150.1 kB / 460.4 MB, free: 11.5 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002196/0.03215, allocations: 378.8 kB / 460.7 MB, free: 11.13 MB / 442.7 MB Notification: Performance of Backend: time 1.4e-07/0.03215, allocations: 0 / 460.7 MB, free: 11.13 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00105/0.0332, allocations: 0.7603 MB / 461.5 MB, free: 10.34 MB / 442.7 MB Notification: Performance of SimCode: time 0.001603/0.0348, allocations: 2.188 MB / 463.7 MB, free: 8.094 MB / 442.7 MB Notification: Performance of Templates: time 0.1734/0.2082, allocations: 17.29 MB / 481 MB, free: 73.49 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.6130491220392287]