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.001485/0.001485, allocations: 88.22 kB / 20.23 MB, free: 4.207 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.001713/0.001713, allocations: 157.7 kB / 23.53 MB, free: 0.9023 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 1.587/1.587, allocations: 158.6 MB / 185.3 MB, free: 2.891 MB / 170.7 MB " [Timeout remaining time 178] 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.6845/0.6845, allocations: 90.63 MB / 328.3 MB, free: 14.59 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.933e-06/1.933e-06, allocations: 0 / 427.4 MB, free: 11.84 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.078e-05/3.271e-05, allocations: 5.688 kB / 427.4 MB, free: 11.84 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SVarC.SVarCFaultImp): time 0.008444/0.008477, allocations: 4.421 MB / 431.8 MB, free: 7.387 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005972/0.01445, allocations: 2.709 MB / 434.6 MB, free: 4.664 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009694/0.01542, allocations: 11.94 kB / 434.6 MB, free: 4.652 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009396/0.01636, allocations: 174.5 kB / 434.7 MB, free: 4.48 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001338/0.0177, allocations: 238.2 kB / 435 MB, free: 4.246 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002677/0.02037, allocations: 0.8569 MB / 435.8 MB, free: 3.387 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002226/0.0226, allocations: 1.112 MB / 436.9 MB, free: 2.273 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007693/0.02337, allocations: 267.1 kB / 437.2 MB, free: 1.992 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00101/0.02438, allocations: 410.8 kB / 437.6 MB, free: 1.59 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007624/0.02514, allocations: 322.9 kB / 437.9 MB, free: 1.273 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003444/0.02548, allocations: 112 kB / 438 MB, free: 1.164 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006779/0.02616, allocations: 219.8 kB / 438.2 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003956/0.02656, allocations: 239.1 kB / 438.5 MB, free: 0.7148 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006146/0.02717, allocations: 303.1 kB / 438.8 MB, free: 428 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00243/0.0296, allocations: 1.383 MB / 440.1 MB, free: 15.03 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.02961, allocations: 0 / 440.1 MB, free: 15.03 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.02961, allocations: 0 / 440.1 MB, free: 15.03 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.47e-05/0.02966, allocations: 0 / 440.1 MB, free: 15.03 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.004958/0.03462, allocations: 1.416 MB / 441.6 MB, free: 13.57 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/0.03467, allocations: 8.031 kB / 441.6 MB, free: 13.57 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001871/0.03654, allocations: 364.1 kB / 441.9 MB, free: 13.21 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001448/0.03799, allocations: 0.6026 MB / 442.5 MB, free: 12.58 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004932/0.03849, allocations: 463.4 kB / 443 MB, free: 12.04 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001962/0.03868, allocations: 72.36 kB / 443.1 MB, free: 11.97 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001998/0.04068, allocations: 0.8436 MB / 443.9 MB, free: 11.08 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.0407, allocations: 0 / 443.9 MB, free: 11.08 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.414e-05/0.04079, allocations: 24 kB / 443.9 MB, free: 11.05 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.194e-05/0.04082, allocations: 16 kB / 443.9 MB, free: 11.04 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001583/0.0424, allocations: 0.6141 MB / 444.5 MB, free: 10.43 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005197/0.0476, allocations: 2.621 MB / 447.2 MB, free: 7.738 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001702/0.0493, allocations: 0.6177 MB / 447.8 MB, free: 7.109 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007744/0.05007, allocations: 318.2 kB / 448.1 MB, free: 6.797 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.127e-05/0.05013, allocations: 16.48 kB / 448.1 MB, free: 6.781 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001357/0.05149, allocations: 0.6262 MB / 448.7 MB, free: 6.133 MB / 426.7 MB Notification: Performance of pre-optimization done (n=72): time 3.466e-06/0.05149, allocations: 4 kB / 448.7 MB, free: 6.129 MB / 426.7 MB Notification: Performance of matching and sorting (n=72): time 0.0049/0.05639, allocations: 1.571 MB / 450.3 MB, free: 4.547 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.95e-05/0.05649, allocations: 93.75 kB / 450.4 MB, free: 4.434 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/0.05762, allocations: 0.6369 MB / 451 MB, free: 3.785 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.826e-05/0.0577, allocations: 45.7 kB / 451.1 MB, free: 3.734 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004591/0.05816, allocations: 376.9 kB / 451.5 MB, free: 3.363 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003101/0.05847, allocations: 230.1 kB / 451.7 MB, free: 3.137 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002989/0.05877, allocations: 130.7 kB / 451.8 MB, free: 3.004 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003874/0.05916, allocations: 394.7 kB / 452.2 MB, free: 2.609 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008072/0.05997, allocations: 321.9 kB / 452.5 MB, free: 2.293 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009828/0.06095, allocations: 0.4919 MB / 453 MB, free: 1.738 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00429/0.06524, allocations: 1.549 MB / 454.6 MB, free: 144 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.321e-05/0.06525, allocations: 4 kB / 454.6 MB, free: 140 kB / 426.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003664/0.06892, allocations: 1.255 MB / 455.8 MB, free: 14.87 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.069e-05/0.06895, allocations: 12.2 kB / 455.8 MB, free: 14.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/0.06896, allocations: 8 kB / 455.8 MB, free: 14.85 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001646/0.07061, allocations: 479 kB / 456.3 MB, free: 14.38 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004308/0.07104, allocations: 91.81 kB / 456.4 MB, free: 14.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006951/0.07799, allocations: 3.424 MB / 459.8 MB, free: 10.78 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008377/0.07883, allocations: 95.61 kB / 459.9 MB, free: 10.69 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/0.07893, allocations: 28 kB / 459.9 MB, free: 10.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.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.0007801/0.07971, allocations: 322.2 kB / 460.2 MB, free: 10.35 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003334/0.08005, allocations: 115.5 kB / 460.4 MB, free: 10.23 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002789/0.08284, allocations: 1.108 MB / 461.5 MB, free: 9.109 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/0.08285, allocations: 3.984 kB / 461.5 MB, free: 9.105 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.08285, allocations: 0 / 461.5 MB, free: 9.105 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002584/0.08311, allocations: 87.41 kB / 461.6 MB, free: 9.02 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001509/0.08326, allocations: 23.98 kB / 461.6 MB, free: 8.996 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005331/0.08379, allocations: 63.94 kB / 461.6 MB, free: 8.934 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002697/0.08406, allocations: 88.5 kB / 461.7 MB, free: 8.848 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003847/0.08791, allocations: 1.311 MB / 463 MB, free: 7.523 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003038/0.09095, allocations: 1.46 MB / 464.5 MB, free: 6.047 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008386/0.09179, allocations: 349.1 kB / 464.8 MB, free: 5.703 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007979/0.09258, allocations: 447.1 kB / 465.3 MB, free: 5.266 MB / 442.7 MB Notification: Performance of Backend: time 6.51e-07/0.09258, allocations: 0 / 465.3 MB, free: 5.266 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002944/0.09553, allocations: 0.8811 MB / 466.2 MB, free: 4.371 MB / 442.7 MB Notification: Performance of SimCode: time 0.003685/0.09921, allocations: 1.942 MB / 468.1 MB, free: 2.371 MB / 442.7 MB Notification: Performance of Templates: time 0.2203/0.3196, allocations: 15.79 MB / 483.9 MB, free: 81.63 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=480 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.SVarC.SVarCFaultImp.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.SVarC.SVarCFaultImp.diff",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: 6.465475084958598]