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.0009309/0.0009309, allocations: 72.95 kB / 20.74 MB, free: 3.754 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.0009715/0.0009715, allocations: 169 kB / 24.16 MB, free: 336 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.8084/0.8084, allocations: 158.6 MB / 186 MB, free: 2.766 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.4167/0.4167, allocations: 90.85 MB / 329.2 MB, free: 14.27 MB / 314.7 MB " [Timeout remaining time 180] Using package Dynawo with version 2.0.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 1.042e-06/1.042e-06, allocations: 0 / 380 MB, free: 11.95 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.594e-05/1.698e-05, allocations: 2.312 kB / 380 MB, free: 11.95 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SVarC.SVarCModeChange): time 0.004313/0.00433, allocations: 4.61 MB / 384.6 MB, free: 7.297 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00352/0.007849, allocations: 2.894 MB / 387.5 MB, free: 4.398 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003131/0.008163, allocations: 15.88 kB / 387.5 MB, free: 4.383 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003662/0.008529, allocations: 186.3 kB / 387.7 MB, free: 4.199 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004044/0.008933, allocations: 234.3 kB / 387.9 MB, free: 3.969 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.01002, allocations: 0.8801 MB / 388.8 MB, free: 3.086 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008617/0.01089, allocations: 1.131 MB / 389.9 MB, free: 1.953 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003324/0.01122, allocations: 282.2 kB / 390.2 MB, free: 1.652 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003975/0.01162, allocations: 414.7 kB / 390.6 MB, free: 1.246 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003181/0.01193, allocations: 338.8 kB / 390.9 MB, free: 0.9141 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001064/0.01204, allocations: 116 kB / 391 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000273/0.01231, allocations: 227.8 kB / 391.3 MB, free: 0.5781 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001799/0.01249, allocations: 251.1 kB / 391.5 MB, free: 340 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001854/0.01268, allocations: 315 kB / 391.8 MB, free: 24 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000958/0.01364, allocations: 0.8446 MB / 392.7 MB, free: 15.17 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.01364, allocations: 0 / 392.7 MB, free: 15.17 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.01364, allocations: 0 / 392.7 MB, free: 15.17 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.01365, allocations: 0 / 392.7 MB, free: 15.17 MB / 378.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.00163/0.01528, allocations: 1.391 MB / 394.1 MB, free: 13.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.01532, allocations: 8.031 kB / 394.1 MB, free: 13.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008532/0.01617, allocations: 364.6 kB / 394.4 MB, free: 13.39 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004286/0.0166, allocations: 398.1 kB / 394.8 MB, free: 12.97 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001587/0.01676, allocations: 416 kB / 395.2 MB, free: 12.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.54e-05/0.01682, allocations: 72.31 kB / 395.3 MB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005892/0.01741, allocations: 0.6039 MB / 395.9 MB, free: 11.76 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.01742, allocations: 0 / 395.9 MB, free: 11.76 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.624e-05/0.01746, allocations: 28 kB / 395.9 MB, free: 11.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.01747, allocations: 12 kB / 395.9 MB, free: 11.72 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000285/0.01776, allocations: 211.8 kB / 396.1 MB, free: 11.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001699/0.01946, allocations: 1.926 MB / 398.1 MB, free: 9.539 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004202/0.01988, allocations: 347.4 kB / 398.4 MB, free: 9.199 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/0.02, allocations: 106.3 kB / 398.5 MB, free: 9.094 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.736e-05/0.02004, allocations: 16.42 kB / 398.5 MB, free: 9.078 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003533/0.02039, allocations: 389.3 kB / 398.9 MB, free: 8.676 MB / 378.7 MB Notification: Performance of pre-optimization done (n=72): time 1.924e-06/0.02039, allocations: 0 / 398.9 MB, free: 8.676 MB / 378.7 MB Notification: Performance of matching and sorting (n=72): time 0.001158/0.02155, allocations: 0.6297 MB / 399.5 MB, free: 8.039 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.647e-05/0.02158, allocations: 64.06 kB / 399.6 MB, free: 7.965 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003218/0.0219, allocations: 0.5467 MB / 400.1 MB, free: 7.406 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.847e-05/0.02194, allocations: 45.7 kB / 400.2 MB, free: 7.355 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.02207, allocations: 298.8 kB / 400.5 MB, free: 7.059 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.02218, allocations: 222.2 kB / 400.7 MB, free: 6.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.02231, allocations: 142.5 kB / 400.8 MB, free: 6.695 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.02241, allocations: 398.5 kB / 401.2 MB, free: 6.297 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.02254, allocations: 88.78 kB / 401.3 MB, free: 6.207 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001732/0.02271, allocations: 228.2 kB / 401.5 MB, free: 5.934 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004397/0.02315, allocations: 488.5 kB / 402 MB, free: 5.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.02316, allocations: 4 kB / 402 MB, free: 5.406 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0008353/0.02399, allocations: 0.5951 MB / 402.6 MB, free: 4.801 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.02401, allocations: 8 kB / 402.6 MB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.02401, allocations: 8.156 kB / 402.6 MB, free: 4.785 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005134/0.02452, allocations: 282.6 kB / 402.9 MB, free: 4.508 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002089/0.02473, allocations: 107.8 kB / 403 MB, free: 4.402 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001699/0.02643, allocations: 1.905 MB / 404.9 MB, free: 2.414 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002176/0.02665, allocations: 71.7 kB / 405 MB, free: 2.344 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.97e-05/0.02668, allocations: 27.98 kB / 405 MB, free: 2.316 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.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 (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.0002203/0.0269, allocations: 243.9 kB / 405.2 MB, free: 2.078 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.493e-05/0.02697, allocations: 79.91 kB / 405.3 MB, free: 2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007595/0.02773, allocations: 0.5562 MB / 405.9 MB, free: 1.426 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.02774, allocations: 3.984 kB / 405.9 MB, free: 1.422 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.02774, allocations: 0 / 405.9 MB, free: 1.422 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.073e-05/0.02781, allocations: 75.34 kB / 406 MB, free: 1.348 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.493e-05/0.02787, allocations: 19.98 kB / 406 MB, free: 1.328 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/0.02804, allocations: 51.89 kB / 406 MB, free: 1.277 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.02817, allocations: 80.5 kB / 406.1 MB, free: 1.199 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001101/0.02927, allocations: 0.6266 MB / 406.7 MB, free: 0.5625 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006047/0.02987, allocations: 0.715 MB / 407.4 MB, free: 15.83 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001638/0.03003, allocations: 151.3 kB / 407.6 MB, free: 15.68 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001781/0.03021, allocations: 252.6 kB / 407.8 MB, free: 15.43 MB / 394.7 MB Notification: Performance of Backend: time 1.3e-07/0.03021, allocations: 0 / 407.8 MB, free: 15.43 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008556/0.03107, allocations: 0.6138 MB / 408.5 MB, free: 14.8 MB / 394.7 MB Notification: Performance of SimCode: time 0.001501/0.03257, allocations: 2.001 MB / 410.5 MB, free: 12.75 MB / 394.7 MB Notification: Performance of Templates: time 0.01792/0.05049, allocations: 16.66 MB / 427.1 MB, free: 12.18 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 -s=dassl -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -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","",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: 2.9655117131769657]