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.0009832/0.0009832, allocations: 91.55 kB / 20.97 MB, free: 3.586 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.0009874/0.0009874, allocations: 177 kB / 24.28 MB, free: 284 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.9439/0.9439, allocations: 158.6 MB / 186.1 MB, free: 2.902 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.4429/0.4429, allocations: 90.56 MB / 328.9 MB, free: 14.72 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.094e-06/2.094e-06, allocations: 0 / 428.1 MB, free: 11.93 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.984e-05/3.193e-05, allocations: 2.312 kB / 428.1 MB, free: 11.93 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SVarC.SVarCStepURef): time 0.007251/0.007283, allocations: 4.492 MB / 432.6 MB, free: 7.402 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004178/0.01146, allocations: 2.74 MB / 435.3 MB, free: 4.648 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005207/0.01198, allocations: 15.88 kB / 435.3 MB, free: 4.633 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005157/0.0125, allocations: 170.5 kB / 435.5 MB, free: 4.465 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006548/0.01315, allocations: 226.3 kB / 435.7 MB, free: 4.242 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001484/0.01464, allocations: 0.8601 MB / 436.6 MB, free: 3.383 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00105/0.01569, allocations: 1.084 MB / 437.7 MB, free: 2.297 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003985/0.01608, allocations: 258.6 kB / 437.9 MB, free: 2.027 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003799/0.01646, allocations: 390.8 kB / 438.3 MB, free: 1.645 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003359/0.0168, allocations: 306.9 kB / 438.6 MB, free: 1.344 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001078/0.01691, allocations: 112 kB / 438.7 MB, free: 1.234 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000392/0.0173, allocations: 215.8 kB / 438.9 MB, free: 1.023 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001501/0.01745, allocations: 235.2 kB / 439.1 MB, free: 0.793 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002205/0.01767, allocations: 299.1 kB / 439.4 MB, free: 0.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001154/0.01882, allocations: 0.7901 MB / 440.2 MB, free: 15.71 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.01883, allocations: 0 / 440.2 MB, free: 15.71 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.01883, allocations: 0 / 440.2 MB, free: 15.71 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.597e-05/0.01885, allocations: 4 kB / 440.2 MB, free: 15.7 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.00226/0.02111, allocations: 1.446 MB / 441.7 MB, free: 14.21 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/0.02116, allocations: 12.03 kB / 441.7 MB, free: 14.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009504/0.02211, allocations: 360.1 kB / 442 MB, free: 13.85 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006814/0.02279, allocations: 0.5664 MB / 442.6 MB, free: 13.26 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002414/0.02303, allocations: 412 kB / 443 MB, free: 12.78 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.357e-05/0.02312, allocations: 56.38 kB / 443.1 MB, free: 12.72 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000877/0.024, allocations: 0.6406 MB / 443.7 MB, free: 12.02 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.02401, allocations: 0 / 443.7 MB, free: 12.02 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.364e-05/0.02407, allocations: 27.98 kB / 443.7 MB, free: 12 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.031e-05/0.02409, allocations: 16 kB / 443.7 MB, free: 11.98 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004774/0.02456, allocations: 283.5 kB / 444 MB, free: 11.7 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002673/0.02724, allocations: 2.809 MB / 446.8 MB, free: 8.809 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007288/0.02797, allocations: 345 kB / 447.2 MB, free: 8.461 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002083/0.02817, allocations: 129.1 kB / 447.3 MB, free: 8.332 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.207e-05/0.02822, allocations: 12.5 kB / 447.3 MB, free: 8.32 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005438/0.02876, allocations: 444.1 kB / 447.7 MB, free: 7.863 MB / 426.7 MB Notification: Performance of pre-optimization done (n=65): time 2.585e-06/0.02876, allocations: 0 / 447.7 MB, free: 7.863 MB / 426.7 MB Notification: Performance of matching and sorting (n=65): time 0.001604/0.03037, allocations: 0.9006 MB / 448.6 MB, free: 6.953 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/0.03042, allocations: 89.77 kB / 448.7 MB, free: 6.844 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005099/0.03093, allocations: 0.6127 MB / 449.3 MB, free: 6.215 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.347e-05/0.03097, allocations: 41.7 kB / 449.4 MB, free: 6.168 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002184/0.03119, allocations: 419.6 kB / 449.8 MB, free: 5.75 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.03131, allocations: 202.4 kB / 450 MB, free: 5.551 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001483/0.03146, allocations: 132.3 kB / 450.1 MB, free: 5.414 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.03162, allocations: 0.5624 MB / 450.7 MB, free: 4.84 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002208/0.03184, allocations: 125.9 kB / 450.8 MB, free: 4.715 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002882/0.03213, allocations: 327.2 kB / 451.1 MB, free: 4.324 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000651/0.03278, allocations: 0.5592 MB / 451.7 MB, free: 3.703 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.03278, allocations: 0 / 451.7 MB, free: 3.703 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001194/0.03398, allocations: 0.7654 MB / 452.4 MB, free: 2.926 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.034, allocations: 4 kB / 452.5 MB, free: 2.922 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.034, allocations: 4 kB / 452.5 MB, free: 2.918 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006707/0.03467, allocations: 315.1 kB / 452.8 MB, free: 2.609 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001981/0.03487, allocations: 83.83 kB / 452.8 MB, free: 2.527 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00249/0.03736, allocations: 2.611 MB / 455.5 MB, free: 15.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002897/0.03765, allocations: 75.75 kB / 455.5 MB, free: 15.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.391e-05/0.03769, allocations: 28 kB / 455.6 MB, free: 15.7 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.0003204/0.03801, allocations: 284.1 kB / 455.8 MB, free: 15.42 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/0.03813, allocations: 103.5 kB / 455.9 MB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001621/0.03975, allocations: 0.7575 MB / 456.7 MB, free: 14.54 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.03976, allocations: 3.984 kB / 456.7 MB, free: 14.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.03977, allocations: 7.984 kB / 456.7 MB, free: 14.53 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001306/0.0399, allocations: 91.34 kB / 456.8 MB, free: 14.44 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.887e-05/0.03998, allocations: 19.92 kB / 456.8 MB, free: 14.42 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002383/0.04022, allocations: 39.97 kB / 456.9 MB, free: 14.38 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001736/0.04039, allocations: 76.5 kB / 456.9 MB, free: 14.3 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001573/0.04196, allocations: 0.758 MB / 457.7 MB, free: 13.53 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001148/0.04311, allocations: 0.897 MB / 458.6 MB, free: 12.62 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000289/0.0434, allocations: 154.1 kB / 458.7 MB, free: 12.46 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003896/0.04379, allocations: 399 kB / 459.1 MB, free: 12.08 MB / 442.7 MB Notification: Performance of Backend: time 4e-07/0.04379, allocations: 0 / 459.1 MB, free: 12.08 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001658/0.04545, allocations: 0.7093 MB / 459.8 MB, free: 11.34 MB / 442.7 MB Notification: Performance of SimCode: time 0.002061/0.04751, allocations: 2.009 MB / 461.8 MB, free: 9.266 MB / 442.7 MB Notification: Performance of Templates: time 0.1961/0.2436, allocations: 14.99 MB / 476.8 MB, free: 82.29 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.67545659490861]