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.001414/0.001414, allocations: 91.56 kB / 20.45 MB, free: 4.121 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.0009452/0.0009452, allocations: 169 kB / 23.82 MB, free: 0.75 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.9711/0.9711, allocations: 158.6 MB / 185.7 MB, free: 2.473 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.4352/0.4352, allocations: 90.56 MB / 328.6 MB, free: 14.7 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 2.264e-06/2.264e-06, allocations: 0 / 428.1 MB, free: 11.53 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.192e-05/3.418e-05, allocations: 2.312 kB / 428.1 MB, free: 11.53 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SVarC.SVarCStepURef): time 0.004667/0.004701, allocations: 4.496 MB / 432.6 MB, free: 7.004 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003871/0.008572, allocations: 2.752 MB / 435.4 MB, free: 4.238 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000445/0.009017, allocations: 19.94 kB / 435.4 MB, free: 4.219 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005135/0.00953, allocations: 166.5 kB / 435.6 MB, free: 4.055 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006051/0.01014, allocations: 226.3 kB / 435.8 MB, free: 3.832 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001337/0.01147, allocations: 0.8608 MB / 436.7 MB, free: 2.969 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009867/0.01246, allocations: 1.084 MB / 437.7 MB, free: 1.883 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003925/0.01285, allocations: 258.6 kB / 438 MB, free: 1.613 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005016/0.01335, allocations: 382.8 kB / 438.4 MB, free: 1.238 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003964/0.01375, allocations: 322.8 kB / 438.7 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001106/0.01386, allocations: 112 kB / 438.8 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003759/0.01424, allocations: 215.8 kB / 439 MB, free: 0.6016 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.01436, allocations: 231.2 kB / 439.2 MB, free: 384 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002076/0.01457, allocations: 299.1 kB / 439.5 MB, free: 84 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001014/0.01558, allocations: 0.794 MB / 440.3 MB, free: 15.29 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.01559, allocations: 0 / 440.3 MB, free: 15.29 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.01559, allocations: 0 / 440.3 MB, free: 15.29 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.4e-05/0.0156, allocations: 0 / 440.3 MB, free: 15.29 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.002104/0.01771, allocations: 1.442 MB / 441.8 MB, free: 13.8 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/0.01776, allocations: 8.031 kB / 441.8 MB, free: 13.79 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008907/0.01865, allocations: 364.1 kB / 442.1 MB, free: 13.44 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006574/0.01931, allocations: 0.5742 MB / 442.7 MB, free: 12.84 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002241/0.01953, allocations: 400 kB / 443.1 MB, free: 12.37 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.143e-05/0.01962, allocations: 68.36 kB / 443.1 MB, free: 12.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008262/0.02045, allocations: 0.6251 MB / 443.8 MB, free: 11.62 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.02046, allocations: 4 kB / 443.8 MB, free: 11.61 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.835e-05/0.02051, allocations: 31.98 kB / 443.8 MB, free: 11.58 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/0.02053, allocations: 16 kB / 443.8 MB, free: 11.57 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004717/0.021, allocations: 283.5 kB / 444.1 MB, free: 11.29 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002501/0.0235, allocations: 2.809 MB / 446.9 MB, free: 8.395 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006806/0.02418, allocations: 341.1 kB / 447.2 MB, free: 8.051 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001937/0.02437, allocations: 137 kB / 447.4 MB, free: 7.914 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.402e-05/0.02442, allocations: 12.5 kB / 447.4 MB, free: 7.902 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000482/0.0249, allocations: 436.9 kB / 447.8 MB, free: 7.449 MB / 426.7 MB Notification: Performance of pre-optimization done (n=65): time 2.274e-06/0.0249, allocations: 0 / 447.8 MB, free: 7.449 MB / 426.7 MB Notification: Performance of matching and sorting (n=65): time 0.001566/0.02647, allocations: 0.9045 MB / 448.7 MB, free: 6.535 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.422e-05/0.02652, allocations: 93.77 kB / 448.8 MB, free: 6.422 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005013/0.02702, allocations: 0.6087 MB / 449.4 MB, free: 5.797 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.408e-05/0.02708, allocations: 49.69 kB / 449.5 MB, free: 5.742 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002194/0.0273, allocations: 415.7 kB / 449.9 MB, free: 5.328 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/0.02742, allocations: 198.4 kB / 450.1 MB, free: 5.133 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000147/0.02757, allocations: 136.3 kB / 450.2 MB, free: 4.992 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.02773, allocations: 0.5586 MB / 450.8 MB, free: 4.422 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000217/0.02795, allocations: 121.9 kB / 450.9 MB, free: 4.301 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003052/0.02826, allocations: 335.2 kB / 451.2 MB, free: 3.902 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007242/0.02898, allocations: 0.5554 MB / 451.8 MB, free: 3.285 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.187e-06/0.02899, allocations: 4 kB / 451.8 MB, free: 3.281 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001403/0.03039, allocations: 0.7577 MB / 452.5 MB, free: 2.512 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.03042, allocations: 11.98 kB / 452.5 MB, free: 2.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.03043, allocations: 4 kB / 452.5 MB, free: 2.496 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007029/0.03113, allocations: 306.7 kB / 452.8 MB, free: 2.195 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002061/0.03134, allocations: 91.83 kB / 452.9 MB, free: 2.105 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002738/0.03407, allocations: 2.61 MB / 455.5 MB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003071/0.03438, allocations: 75.7 kB / 455.6 MB, free: 15.31 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.621e-05/0.03442, allocations: 27.94 kB / 455.6 MB, free: 15.29 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.0003269/0.03474, allocations: 287.5 kB / 455.9 MB, free: 15 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.03486, allocations: 103.5 kB / 456 MB, free: 14.9 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001212/0.03607, allocations: 0.7575 MB / 456.8 MB, free: 14.12 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.03608, allocations: 7.984 kB / 456.8 MB, free: 14.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.03608, allocations: 0 / 456.8 MB, free: 14.11 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.03619, allocations: 87.33 kB / 456.9 MB, free: 14.03 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.055e-05/0.03625, allocations: 23.98 kB / 456.9 MB, free: 14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001714/0.03642, allocations: 39.97 kB / 456.9 MB, free: 13.96 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/0.03656, allocations: 76.45 kB / 457 MB, free: 13.89 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001207/0.03777, allocations: 0.758 MB / 457.8 MB, free: 13.12 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009138/0.03869, allocations: 0.8931 MB / 458.7 MB, free: 12.21 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002389/0.03892, allocations: 162 kB / 458.8 MB, free: 12.05 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002951/0.03922, allocations: 395 kB / 459.2 MB, free: 11.66 MB / 442.7 MB Notification: Performance of Backend: time 7.51e-07/0.03922, allocations: 0 / 459.2 MB, free: 11.66 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001342/0.04056, allocations: 0.7056 MB / 459.9 MB, free: 10.93 MB / 442.7 MB Notification: Performance of SimCode: time 0.001813/0.04237, allocations: 2.006 MB / 461.9 MB, free: 8.855 MB / 442.7 MB Notification: Performance of Templates: time 0.1731/0.2155, allocations: 15.76 MB / 477.7 MB, free: 74.88 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=240 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.SVarC.SVarCStepURef.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5552381849847734]