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.002018/0.002018, allocations: 96.91 kB / 20.23 MB, free: 4.188 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.002395/0.002395, allocations: 161.3 kB / 23.55 MB, free: 0.875 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.384/1.384, allocations: 158.6 MB / 185.4 MB, free: 2.883 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.7094/0.7094, allocations: 90.61 MB / 328.3 MB, free: 14.54 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 2.765e-06/2.765e-06, allocations: 0 / 427.4 MB, free: 11.84 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.45e-05/3.726e-05, allocations: 6.312 kB / 427.4 MB, free: 11.83 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SVarC.SVarCModeChange): time 0.01257/0.0126, allocations: 4.601 MB / 432 MB, free: 7.199 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.008324/0.02093, allocations: 2.822 MB / 434.8 MB, free: 4.363 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009886/0.02192, allocations: 15.94 kB / 434.9 MB, free: 4.348 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001084/0.023, allocations: 178.4 kB / 435 MB, free: 4.172 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001522/0.02452, allocations: 242.2 kB / 435.3 MB, free: 3.934 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003343/0.02787, allocations: 0.8763 MB / 436.1 MB, free: 3.055 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00248/0.03035, allocations: 1.131 MB / 437.3 MB, free: 1.922 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008156/0.03116, allocations: 271.3 kB / 437.5 MB, free: 1.637 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008848/0.03205, allocations: 414.7 kB / 437.9 MB, free: 1.23 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007768/0.03282, allocations: 338.8 kB / 438.3 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002544/0.03308, allocations: 112 kB / 438.4 MB, free: 0.7891 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006523/0.03373, allocations: 219.9 kB / 438.6 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003876/0.03412, allocations: 255 kB / 438.8 MB, free: 332 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006792/0.0348, allocations: 315 kB / 439.2 MB, free: 16 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002804/0.0376, allocations: 1.398 MB / 440.6 MB, free: 14.61 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.03761, allocations: 0 / 440.6 MB, free: 14.61 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.847e-06/0.03761, allocations: 0 / 440.6 MB, free: 14.61 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.584e-05/0.03763, allocations: 0 / 440.6 MB, free: 14.61 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.005696/0.04332, allocations: 1.608 MB / 442.2 MB, free: 12.96 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.863e-05/0.04338, allocations: 8.031 kB / 442.2 MB, free: 12.95 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002792/0.04617, allocations: 368.1 kB / 442.5 MB, free: 12.59 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001628/0.0478, allocations: 0.6256 MB / 443.2 MB, free: 11.94 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005346/0.04834, allocations: 412 kB / 443.6 MB, free: 11.46 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001909/0.04853, allocations: 68.38 kB / 443.6 MB, free: 11.39 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002719/0.05125, allocations: 0.89 MB / 444.5 MB, free: 10.45 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.631e-05/0.05127, allocations: 0 / 444.5 MB, free: 10.45 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001285/0.0514, allocations: 31.98 kB / 444.5 MB, free: 10.41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.697e-05/0.05143, allocations: 20 kB / 444.6 MB, free: 10.39 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002225/0.05365, allocations: 0.5946 MB / 445.2 MB, free: 9.801 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007804/0.06146, allocations: 3.403 MB / 448.6 MB, free: 6.309 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002364/0.06382, allocations: 0.6182 MB / 449.2 MB, free: 5.676 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009374/0.06476, allocations: 297.1 kB / 449.5 MB, free: 5.383 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.218e-05/0.06484, allocations: 20.44 kB / 449.5 MB, free: 5.363 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001479/0.06632, allocations: 0.5744 MB / 450.1 MB, free: 4.77 MB / 426.7 MB Notification: Performance of pre-optimization done (n=72): time 4.108e-06/0.06632, allocations: 0 / 450.1 MB, free: 4.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=72): time 0.004695/0.07102, allocations: 1.416 MB / 451.5 MB, free: 3.344 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.66e-05/0.0711, allocations: 72.05 kB / 451.5 MB, free: 3.262 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001548/0.07265, allocations: 0.8705 MB / 452.4 MB, free: 2.375 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.811e-05/0.07275, allocations: 45.69 kB / 452.5 MB, free: 2.324 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006698/0.07342, allocations: 483.6 kB / 452.9 MB, free: 1.844 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003857/0.07381, allocations: 238.2 kB / 453.2 MB, free: 1.609 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004678/0.07427, allocations: 184.3 kB / 453.3 MB, free: 1.422 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007714/0.07504, allocations: 0.625 MB / 454 MB, free: 0.7852 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009712/0.07602, allocations: 297.9 kB / 454.3 MB, free: 0.4922 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001248/0.07726, allocations: 0.4976 MB / 454.8 MB, free: 15.92 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003005/0.08027, allocations: 1.043 MB / 455.8 MB, free: 14.81 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/0.08028, allocations: 4 kB / 455.8 MB, free: 14.81 MB / 442.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004508/0.08479, allocations: 1.179 MB / 457 MB, free: 13.62 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.447e-05/0.08483, allocations: 8 kB / 457 MB, free: 13.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.274e-05/0.08485, allocations: 8 kB / 457 MB, free: 13.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001857/0.08671, allocations: 410.9 kB / 457.4 MB, free: 13.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006128/0.08732, allocations: 103.8 kB / 457.5 MB, free: 13.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008499/0.09582, allocations: 3.602 MB / 461.1 MB, free: 9.387 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001104/0.09693, allocations: 87.58 kB / 461.2 MB, free: 9.301 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-05/0.09701, allocations: 24 kB / 461.2 MB, free: 9.277 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.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.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,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 (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.0008777/0.09789, allocations: 371.7 kB / 461.6 MB, free: 8.914 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002891/0.09818, allocations: 111.5 kB / 461.7 MB, free: 8.805 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003973/0.1022, allocations: 1.125 MB / 462.8 MB, free: 7.668 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.491e-05/0.1022, allocations: 3.984 kB / 462.8 MB, free: 7.664 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.1022, allocations: 0 / 462.8 MB, free: 7.664 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002513/0.1024, allocations: 91.33 kB / 462.9 MB, free: 7.574 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001455/0.1026, allocations: 20 kB / 462.9 MB, free: 7.555 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000604/0.1032, allocations: 47.95 kB / 463 MB, free: 7.508 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003339/0.1035, allocations: 100.5 kB / 463.1 MB, free: 7.41 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004518/0.108, allocations: 1.215 MB / 464.3 MB, free: 6.176 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00384/0.1119, allocations: 1.506 MB / 465.8 MB, free: 4.652 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001066/0.1129, allocations: 374.1 kB / 466.2 MB, free: 4.281 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001023/0.114, allocations: 0.5263 MB / 466.7 MB, free: 3.75 MB / 442.7 MB Notification: Performance of Backend: time 6.51e-07/0.114, allocations: 0 / 466.7 MB, free: 3.75 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003307/0.1173, allocations: 0.947 MB / 467.6 MB, free: 2.777 MB / 442.7 MB Notification: Performance of SimCode: time 0.004126/0.1214, allocations: 2.173 MB / 469.8 MB, free: 0.5352 MB / 442.7 MB Notification: Performance of Templates: time 0.2296/0.351, allocations: 15.87 MB / 485.7 MB, free: 80.88 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.SVarC.SVarCModeChange.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.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: 6.081951963948086]