Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.SVarC.SVarCStepURef.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.001654/0.001654, allocations: 87.56 kB / 20.23 MB, free: 4.18 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.001924/0.001924, allocations: 157.3 kB / 23.53 MB, free: 0.8789 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.502/1.502, allocations: 158.6 MB / 185.3 MB, free: 2.887 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.7121/0.7121, allocations: 90.63 MB / 328.3 MB, free: 14.56 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.SVarCStepURef,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|sVarCStandard.injector.QInjPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.SVarC.SVarCStepURef") translateModel(Dynawo.Examples.SVarC.SVarCStepURef,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|sVarCStandard.injector.QInjPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.SVarC.SVarCStepURef") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 427.4 MB, free: 11.82 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.509e-05/2.705e-05, allocations: 2.312 kB / 427.4 MB, free: 11.82 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SVarC.SVarCStepURef): time 0.007908/0.007935, allocations: 4.285 MB / 431.7 MB, free: 7.5 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005829/0.01376, allocations: 2.682 MB / 434.4 MB, free: 4.805 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007907/0.01455, allocations: 19.88 kB / 434.4 MB, free: 4.785 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008112/0.01537, allocations: 162.5 kB / 434.6 MB, free: 4.625 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00109/0.01646, allocations: 230.3 kB / 434.8 MB, free: 4.398 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002604/0.01906, allocations: 0.8491 MB / 435.6 MB, free: 3.547 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002128/0.02119, allocations: 1.077 MB / 436.7 MB, free: 2.469 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007428/0.02193, allocations: 262.5 kB / 437 MB, free: 2.195 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008625/0.02279, allocations: 390.8 kB / 437.4 MB, free: 1.812 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006578/0.02345, allocations: 302.9 kB / 437.6 MB, free: 1.516 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002696/0.02372, allocations: 112 kB / 437.8 MB, free: 1.406 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000579/0.0243, allocations: 215.8 kB / 438 MB, free: 1.195 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003026/0.0246, allocations: 231.2 kB / 438.2 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000566/0.02517, allocations: 299 kB / 438.5 MB, free: 0.6758 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002287/0.02746, allocations: 1.332 MB / 439.8 MB, free: 15.34 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.02746, allocations: 0 / 439.8 MB, free: 15.34 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.02746, allocations: 0 / 439.8 MB, free: 15.34 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.479e-05/0.02751, allocations: 0 / 439.8 MB, free: 15.34 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.004577/0.03209, allocations: 1.37 MB / 441.2 MB, free: 13.93 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.73e-05/0.03214, allocations: 12.03 kB / 441.2 MB, free: 13.92 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002127/0.03427, allocations: 360.1 kB / 441.6 MB, free: 13.57 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001475/0.03574, allocations: 0.5792 MB / 442.1 MB, free: 12.96 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004653/0.03621, allocations: 412 kB / 442.5 MB, free: 12.48 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002438/0.03645, allocations: 64.36 kB / 442.6 MB, free: 12.42 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002283/0.03874, allocations: 0.8038 MB / 443.4 MB, free: 11.57 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/0.03876, allocations: 0 / 443.4 MB, free: 11.57 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001133/0.03887, allocations: 31.98 kB / 443.4 MB, free: 11.54 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.015e-05/0.03889, allocations: 16 kB / 443.4 MB, free: 11.53 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00173/0.04062, allocations: 0.5945 MB / 444 MB, free: 10.93 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005641/0.04626, allocations: 2.524 MB / 446.6 MB, free: 8.34 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001806/0.04807, allocations: 0.5981 MB / 447.2 MB, free: 7.73 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007971/0.04887, allocations: 290.2 kB / 447.4 MB, free: 7.445 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.718e-05/0.04894, allocations: 8.5 kB / 447.5 MB, free: 7.438 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001393/0.05033, allocations: 0.5834 MB / 448 MB, free: 6.832 MB / 426.7 MB Notification: Performance of pre-optimization done (n=65): time 3.457e-06/0.05033, allocations: 4 kB / 448 MB, free: 6.828 MB / 426.7 MB Notification: Performance of matching and sorting (n=65): time 0.004541/0.05487, allocations: 1.448 MB / 449.5 MB, free: 5.371 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.05498, allocations: 97.69 kB / 449.6 MB, free: 5.254 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001207/0.05618, allocations: 0.6212 MB / 450.2 MB, free: 4.621 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001347/0.05632, allocations: 49.69 kB / 450.3 MB, free: 4.566 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005992/0.05692, allocations: 376.8 kB / 450.6 MB, free: 4.195 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003404/0.05726, allocations: 194.4 kB / 450.8 MB, free: 4.004 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003139/0.05757, allocations: 130.7 kB / 450.9 MB, free: 3.871 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002914/0.05786, allocations: 386.7 kB / 451.3 MB, free: 3.484 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008536/0.05872, allocations: 301.9 kB / 451.6 MB, free: 3.188 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/0.05972, allocations: 477.9 kB / 452.1 MB, free: 2.668 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004429/0.06415, allocations: 1.438 MB / 453.5 MB, free: 1.184 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.615e-06/0.06416, allocations: 0 / 453.5 MB, free: 1.184 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003688/0.06785, allocations: 1.169 MB / 454.7 MB, free: 4 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.668e-05/0.0679, allocations: 8.047 kB / 454.7 MB, free: 15.99 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.756e-05/0.06792, allocations: 3.938 kB / 454.7 MB, free: 15.99 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001549/0.06947, allocations: 420.1 kB / 455.1 MB, free: 15.58 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000522/0.06999, allocations: 91.77 kB / 455.2 MB, free: 15.49 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006678/0.07667, allocations: 3.095 MB / 458.3 MB, free: 12.31 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008424/0.07751, allocations: 79.69 kB / 458.4 MB, free: 12.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001192/0.07763, allocations: 31.98 kB / 458.4 MB, free: 12.2 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: 15 * Number of states: 0 () * Number of discrete variables: 43 ($PRE.sVarCStandard.injector.state,sVarCStandard.injector.state,$PRE.line.state,line.state,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.sVarCStandard.blockingFunction.blocked,$PRE.sVarCStandard.modeHandling.modeAuto,sVarCStandard.modeHandling.modeManual,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 (76): * Single equations (assignments): 75 * 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.0007733/0.0784, allocations: 298.1 kB / 458.7 MB, free: 11.89 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003346/0.07874, allocations: 111.4 kB / 458.8 MB, free: 11.79 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00364/0.08238, allocations: 1.149 MB / 460 MB, free: 10.62 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.175e-05/0.0824, allocations: 3.984 kB / 460 MB, free: 10.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.0824, allocations: 3.938 kB / 460 MB, free: 10.61 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002839/0.08269, allocations: 91.44 kB / 460 MB, free: 10.52 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001811/0.08287, allocations: 12 kB / 460.1 MB, free: 10.51 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005584/0.08343, allocations: 55.94 kB / 460.1 MB, free: 10.46 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002937/0.08372, allocations: 84.52 kB / 460.2 MB, free: 10.38 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004005/0.08773, allocations: 1.224 MB / 461.4 MB, free: 9.141 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003134/0.09086, allocations: 1.361 MB / 462.8 MB, free: 7.766 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008534/0.09171, allocations: 329.1 kB / 463.1 MB, free: 7.441 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007323/0.09245, allocations: 435.1 kB / 463.5 MB, free: 7.023 MB / 442.7 MB Notification: Performance of Backend: time 6.41e-07/0.09245, allocations: 4 kB / 463.5 MB, free: 7.02 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002916/0.09536, allocations: 0.8146 MB / 464.3 MB, free: 6.184 MB / 442.7 MB Notification: Performance of SimCode: time 0.003761/0.09912, allocations: 1.856 MB / 466.2 MB, free: 4.262 MB / 442.7 MB Notification: Performance of Templates: time 0.2013/0.3004, allocations: 14.83 MB / 481 MB, free: 81.46 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f Dynawo_dev_Dynawo.Examples.SVarC.SVarCStepURef.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.SVarC.SVarCStepURef.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.SVarC.SVarCStepURef.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.SVarC.SVarCStepURef.pipe >> ../files/Dynawo_dev_Dynawo.Examples.SVarC.SVarCStepURef.sim & ./Dynawo_dev_Dynawo.Examples.SVarC.SVarCStepURef -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.SVarC.SVarCStepURef.pipe 2>&1) [Timeout 480] diffSimulationResults("Dynawo_dev_Dynawo.Examples.SVarC.SVarCStepURef_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.SVarC.SVarCStepURef_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.SVarC.SVarCStepURef.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.110152319073677]