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.001387/0.001387, allocations: 87.55 kB / 20.45 MB, free: 4.125 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.00155/0.00155, allocations: 165 kB / 23.82 MB, free: 0.7578 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.7907/0.7907, allocations: 158.6 MB / 185.7 MB, free: 2.926 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.4275/0.4275, allocations: 90.56 MB / 328.6 MB, free: 14.66 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 9.82e-07/9.82e-07, allocations: 0 / 428.1 MB, free: 11.51 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.128e-05/2.226e-05, allocations: 2.312 kB / 428.1 MB, free: 11.5 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SVarC.SVarCModeChange): time 0.004761/0.004784, allocations: 4.659 MB / 432.8 MB, free: 6.816 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002849/0.007632, allocations: 2.841 MB / 435.6 MB, free: 3.961 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002637/0.007896, allocations: 15.94 kB / 435.7 MB, free: 3.945 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003209/0.008217, allocations: 166.4 kB / 435.8 MB, free: 3.781 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000388/0.008605, allocations: 242.2 kB / 436.1 MB, free: 3.543 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.009621, allocations: 0.8764 MB / 436.9 MB, free: 2.664 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007799/0.0104, allocations: 1.139 MB / 438.1 MB, free: 1.523 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000329/0.01073, allocations: 275.2 kB / 438.3 MB, free: 1.234 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003104/0.01104, allocations: 410.7 kB / 438.7 MB, free: 0.832 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002986/0.01134, allocations: 330.8 kB / 439.1 MB, free: 0.5078 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.585e-05/0.01143, allocations: 116 kB / 439.2 MB, free: 404 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003055/0.01174, allocations: 223.8 kB / 439.4 MB, free: 180 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001567/0.0119, allocations: 251.1 kB / 439.6 MB, free: 15.93 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000207/0.0121, allocations: 315 kB / 439.9 MB, free: 15.62 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007314/0.01284, allocations: 0.8445 MB / 440.8 MB, free: 14.77 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.01284, allocations: 0 / 440.8 MB, free: 14.77 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.01284, allocations: 4 kB / 440.8 MB, free: 14.77 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.01284, allocations: 0 / 440.8 MB, free: 14.77 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.001903/0.01475, allocations: 1.511 MB / 442.3 MB, free: 13.22 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.01478, allocations: 8.031 kB / 442.3 MB, free: 13.21 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008192/0.0156, allocations: 368.1 kB / 442.7 MB, free: 12.85 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006219/0.01622, allocations: 0.6021 MB / 443.3 MB, free: 12.22 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001847/0.01641, allocations: 408 kB / 443.7 MB, free: 11.74 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.443e-05/0.01649, allocations: 72.36 kB / 443.7 MB, free: 11.67 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008107/0.0173, allocations: 0.6563 MB / 444.4 MB, free: 10.96 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.01732, allocations: 3.984 kB / 444.4 MB, free: 10.95 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.675e-05/0.01737, allocations: 31.98 kB / 444.4 MB, free: 10.92 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.591e-05/0.01738, allocations: 16 kB / 444.5 MB, free: 10.91 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005034/0.01789, allocations: 303.5 kB / 444.7 MB, free: 10.61 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002414/0.0203, allocations: 2.812 MB / 447.6 MB, free: 7.719 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000624/0.02092, allocations: 369 kB / 447.9 MB, free: 7.344 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002156/0.02114, allocations: 141.1 kB / 448.1 MB, free: 7.203 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.033e-05/0.02118, allocations: 16.44 kB / 448.1 MB, free: 7.188 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004878/0.02167, allocations: 412.2 kB / 448.5 MB, free: 6.762 MB / 426.7 MB Notification: Performance of pre-optimization done (n=72): time 2.454e-06/0.02167, allocations: 0 / 448.5 MB, free: 6.762 MB / 426.7 MB Notification: Performance of matching and sorting (n=72): time 0.00149/0.02316, allocations: 0.8891 MB / 449.4 MB, free: 5.863 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.0232, allocations: 64.06 kB / 449.4 MB, free: 5.789 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005307/0.02374, allocations: 0.6361 MB / 450.1 MB, free: 5.133 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.159e-05/0.02379, allocations: 49.7 kB / 450.1 MB, free: 5.078 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002478/0.02403, allocations: 443.5 kB / 450.5 MB, free: 4.641 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001412/0.02418, allocations: 214.3 kB / 450.8 MB, free: 4.43 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001697/0.02435, allocations: 152.3 kB / 450.9 MB, free: 4.273 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002222/0.02457, allocations: 0.5625 MB / 451.5 MB, free: 3.699 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000234/0.0248, allocations: 125.9 kB / 451.6 MB, free: 3.574 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003152/0.02512, allocations: 317.5 kB / 451.9 MB, free: 3.195 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007345/0.02585, allocations: 0.5901 MB / 452.5 MB, free: 2.535 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.02586, allocations: 0 / 452.5 MB, free: 2.535 MB / 426.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001275/0.02713, allocations: 0.7927 MB / 453.3 MB, free: 1.73 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.02716, allocations: 11.94 kB / 453.3 MB, free: 1.719 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.02717, allocations: 4 kB / 453.3 MB, free: 1.715 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008487/0.02801, allocations: 310.8 kB / 453.6 MB, free: 1.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002329/0.02825, allocations: 95.83 kB / 453.7 MB, free: 1.316 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002712/0.03096, allocations: 2.617 MB / 456.3 MB, free: 14.59 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002519/0.03121, allocations: 83.61 kB / 456.4 MB, free: 14.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.741e-05/0.03125, allocations: 28 kB / 456.4 MB, free: 14.48 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.0002942/0.03154, allocations: 295.4 kB / 456.7 MB, free: 14.19 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.03165, allocations: 115.5 kB / 456.8 MB, free: 14.07 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00116/0.03281, allocations: 0.7426 MB / 457.6 MB, free: 13.31 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.228e-06/0.03282, allocations: 3.984 kB / 457.6 MB, free: 13.31 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.03282, allocations: 4 kB / 457.6 MB, free: 13.3 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.867e-05/0.03292, allocations: 95.27 kB / 457.7 MB, free: 13.21 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.29e-05/0.03299, allocations: 16 kB / 457.7 MB, free: 13.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001951/0.03318, allocations: 47.95 kB / 457.7 MB, free: 13.15 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001688/0.03335, allocations: 84.48 kB / 457.8 MB, free: 13.07 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001261/0.03461, allocations: 0.7931 MB / 458.6 MB, free: 12.26 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009922/0.0356, allocations: 0.9477 MB / 459.6 MB, free: 11.3 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002695/0.03587, allocations: 178 kB / 459.7 MB, free: 11.12 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003259/0.0362, allocations: 411 kB / 460.1 MB, free: 10.71 MB / 442.7 MB Notification: Performance of Backend: time 4.7e-07/0.0362, allocations: 0 / 460.1 MB, free: 10.71 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001403/0.0376, allocations: 0.7321 MB / 460.9 MB, free: 9.961 MB / 442.7 MB Notification: Performance of SimCode: time 0.001746/0.03935, allocations: 2.092 MB / 463 MB, free: 7.805 MB / 442.7 MB Notification: Performance of Templates: time 0.1679/0.2073, allocations: 15.87 MB / 478.8 MB, free: 74.34 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","",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: 3.7137992791831493]