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.000911/0.000911, allocations: 72.95 kB / 20.74 MB, free: 3.75 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.0009197/0.0009197, allocations: 173 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.7728/0.7728, allocations: 158.6 MB / 186 MB, free: 2.773 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.4168/0.4168, allocations: 90.85 MB / 329.2 MB, free: 14.26 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.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.403e-06/1.403e-06, allocations: 0 / 380 MB, free: 11.94 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.814e-05/1.955e-05, allocations: 6.25 kB / 380 MB, free: 11.93 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SVarC.SVarCStepURef): time 0.00571/0.005729, allocations: 4.466 MB / 384.4 MB, free: 7.43 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004036/0.009765, allocations: 2.801 MB / 387.2 MB, free: 4.625 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003105/0.01008, allocations: 11.94 kB / 387.3 MB, free: 4.613 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004355/0.01051, allocations: 174.5 kB / 387.4 MB, free: 4.441 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005245/0.01104, allocations: 222.3 kB / 387.6 MB, free: 4.223 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001556/0.01259, allocations: 0.853 MB / 388.5 MB, free: 3.367 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001051/0.01364, allocations: 1.084 MB / 389.6 MB, free: 2.277 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004245/0.01407, allocations: 263.5 kB / 389.8 MB, free: 2 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000422/0.01449, allocations: 386.9 kB / 390.2 MB, free: 1.621 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003782/0.01487, allocations: 318.8 kB / 390.5 MB, free: 1.309 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001338/0.015, allocations: 112 kB / 390.6 MB, free: 1.199 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003275/0.01533, allocations: 223.8 kB / 390.9 MB, free: 0.9805 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001634/0.01549, allocations: 235.1 kB / 391.1 MB, free: 0.75 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002794/0.01577, allocations: 299.1 kB / 391.4 MB, free: 468 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00091/0.01668, allocations: 0.7862 MB / 392.2 MB, free: 15.67 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.01668, allocations: 4 kB / 392.2 MB, free: 15.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.01669, allocations: 0 / 392.2 MB, free: 15.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.01669, allocations: 0 / 392.2 MB, free: 15.66 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002387/0.01908, allocations: 1.33 MB / 393.5 MB, free: 14.31 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.01912, allocations: 8.031 kB / 393.5 MB, free: 14.3 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001405/0.02052, allocations: 356.6 kB / 393.9 MB, free: 13.95 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006381/0.02116, allocations: 385.3 kB / 394.2 MB, free: 13.55 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002346/0.0214, allocations: 400 kB / 394.6 MB, free: 13.08 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.879e-05/0.02149, allocations: 68.36 kB / 394.7 MB, free: 13.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008586/0.02235, allocations: 0.5699 MB / 395.3 MB, free: 12.4 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.02237, allocations: 0 / 395.3 MB, free: 12.4 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.42e-05/0.02242, allocations: 24 kB / 395.3 MB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.798e-05/0.02244, allocations: 16 kB / 395.3 MB, free: 12.36 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004553/0.0229, allocations: 197 kB / 395.5 MB, free: 12.17 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002326/0.02522, allocations: 1.865 MB / 397.4 MB, free: 10.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000386/0.02561, allocations: 284 kB / 397.6 MB, free: 9.969 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.02572, allocations: 98.27 kB / 397.7 MB, free: 9.871 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.109e-05/0.02575, allocations: 8.5 kB / 397.7 MB, free: 9.863 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000346/0.0261, allocations: 409.4 kB / 398.1 MB, free: 9.438 MB / 378.7 MB Notification: Performance of pre-optimization done (n=65): time 1.603e-06/0.0261, allocations: 0 / 398.1 MB, free: 9.438 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.0009817/0.02708, allocations: 0.6663 MB / 398.8 MB, free: 8.766 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.02711, allocations: 85.77 kB / 398.9 MB, free: 8.664 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003064/0.02742, allocations: 0.5194 MB / 399.4 MB, free: 8.129 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.582e-05/0.02746, allocations: 41.7 kB / 399.4 MB, free: 8.082 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.02758, allocations: 294 kB / 399.7 MB, free: 7.793 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.02769, allocations: 206.3 kB / 399.9 MB, free: 7.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/0.02781, allocations: 134.5 kB / 400.1 MB, free: 7.453 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.02791, allocations: 390.6 kB / 400.5 MB, free: 7.062 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.02802, allocations: 77.97 kB / 400.5 MB, free: 6.984 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001689/0.02819, allocations: 242 kB / 400.8 MB, free: 6.695 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004023/0.0286, allocations: 454 kB / 401.2 MB, free: 6.203 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.0286, allocations: 4 kB / 401.2 MB, free: 6.199 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0007974/0.0294, allocations: 0.5795 MB / 401.8 MB, free: 5.609 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.02941, allocations: 4 kB / 401.8 MB, free: 5.605 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.02941, allocations: 4 kB / 401.8 MB, free: 5.602 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000522/0.02994, allocations: 286.8 kB / 402.1 MB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001833/0.03012, allocations: 87.84 kB / 402.2 MB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001746/0.03187, allocations: 1.91 MB / 404.1 MB, free: 3.246 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002173/0.03208, allocations: 75.58 kB / 404.1 MB, free: 3.172 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.844e-05/0.03211, allocations: 27.98 kB / 404.2 MB, free: 3.145 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: 15 * Number of states: 0 () * Number of discrete variables: 43 ($PRE.sVarCStandard.injector.state,sVarCStandard.injector.state,$PRE.line.state,line.state,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.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,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 (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.000201/0.03231, allocations: 214.9 kB / 404.4 MB, free: 2.922 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.317e-05/0.03239, allocations: 83.84 kB / 404.5 MB, free: 2.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008251/0.03321, allocations: 0.579 MB / 405 MB, free: 2.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.03322, allocations: 4 kB / 405 MB, free: 2.246 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.03322, allocations: 3.984 kB / 405.1 MB, free: 2.242 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.941e-05/0.03329, allocations: 67.34 kB / 405.1 MB, free: 2.176 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.182e-05/0.03334, allocations: 20 kB / 405.1 MB, free: 2.156 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.03349, allocations: 39.95 kB / 405.2 MB, free: 2.117 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.03361, allocations: 72.52 kB / 405.2 MB, free: 2.047 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008282/0.03443, allocations: 0.5719 MB / 405.8 MB, free: 1.465 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005392/0.03497, allocations: 0.6236 MB / 406.4 MB, free: 0.8242 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001507/0.03512, allocations: 131.3 kB / 406.6 MB, free: 0.6914 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001633/0.03529, allocations: 244.6 kB / 406.8 MB, free: 468 kB / 378.7 MB Notification: Performance of Backend: time 3.81e-07/0.03529, allocations: 0 / 406.8 MB, free: 468 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008541/0.03614, allocations: 0.6063 MB / 407.4 MB, free: 15.83 MB / 394.7 MB Notification: Performance of SimCode: time 0.001464/0.03761, allocations: 1.883 MB / 409.3 MB, free: 13.9 MB / 394.7 MB Notification: Performance of Templates: time 0.01693/0.05454, allocations: 15.81 MB / 425.1 MB, free: 14.16 MB / 410.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 -s gbode -gbm=radauIIA3 -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: 2.93583708582446]