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.0009382/0.0009382, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001173/0.002111, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007608/0.0007608, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009498/0.001711, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.8501/0.8501, allocations: 158.6 MB / 171 MB, free: 2.598 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1866/1.037, allocations: 49.5 MB / 220.5 MB, free: 1.453 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/package.mo): time 0.4746/0.4746, allocations: 100.5 MB / 321.8 MB, free: 4.703 MB / 314.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0639/0.5385, allocations: 35.69 MB / 357.5 MB, free: 1.312 MB / 346.7 MB " [Timeout remaining time 179] Using package Dynawo with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-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) Ignoring simflag -s=dassl since the model is compiled with --daeMode, which needs -s=ida 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.452e-06/1.452e-06, allocations: 0 / 359 MB, free: 15.85 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.842e-05/1.987e-05, allocations: 6.25 kB / 359 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SVarC.SVarCStepURef): time 0.00441/0.00443, allocations: 4.52 MB / 363.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003336/0.007766, allocations: 2.821 MB / 366.3 MB, free: 8.465 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003182/0.008084, allocations: 11.94 kB / 366.3 MB, free: 8.453 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003834/0.008468, allocations: 174.5 kB / 366.5 MB, free: 8.281 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003922/0.00886, allocations: 226.3 kB / 366.7 MB, free: 8.059 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001163/0.01002, allocations: 0.8604 MB / 367.6 MB, free: 7.199 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007673/0.01079, allocations: 1.061 MB / 368.6 MB, free: 6.133 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003549/0.01115, allocations: 282.9 kB / 368.9 MB, free: 5.824 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005816/0.01173, allocations: 0.7362 MB / 369.7 MB, free: 5.066 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002661/0.01199, allocations: 326.8 kB / 370 MB, free: 4.746 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.439e-05/0.01209, allocations: 108 kB / 370.1 MB, free: 4.641 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002754/0.01236, allocations: 219.9 kB / 370.3 MB, free: 4.426 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.01247, allocations: 175.4 kB / 370.5 MB, free: 4.254 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001669/0.01264, allocations: 231.5 kB / 370.7 MB, free: 4.027 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007157/0.01335, allocations: 0.7511 MB / 371.4 MB, free: 3.273 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.679e-05/0.01337, allocations: 0 / 371.4 MB, free: 3.273 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.01337, allocations: 0 / 371.4 MB, free: 3.273 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.856e-05/0.01339, allocations: 0 / 371.4 MB, free: 3.273 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.001806/0.0152, allocations: 1.553 MB / 373 MB, free: 1.676 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.01523, allocations: 11.97 kB / 373 MB, free: 1.664 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007687/0.016, allocations: 356.6 kB / 373.4 MB, free: 1.316 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006537/0.01665, allocations: 389.4 kB / 373.7 MB, free: 0.9102 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001908/0.01685, allocations: 404 kB / 374.1 MB, free: 448 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.072e-05/0.01692, allocations: 68.36 kB / 374.2 MB, free: 380 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005843/0.0175, allocations: 0.5738 MB / 374.8 MB, free: 15.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.01751, allocations: 4 kB / 374.8 MB, free: 15.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.501e-05/0.01755, allocations: 24 kB / 374.8 MB, free: 15.72 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.01756, allocations: 16 kB / 374.8 MB, free: 15.71 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002646/0.01783, allocations: 197 kB / 375 MB, free: 15.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001751/0.01958, allocations: 1.892 MB / 376.9 MB, free: 13.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003959/0.01997, allocations: 276.7 kB / 377.2 MB, free: 13.29 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.02009, allocations: 98.31 kB / 377.3 MB, free: 13.2 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.545e-05/0.02012, allocations: 8.5 kB / 377.3 MB, free: 13.19 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003567/0.02048, allocations: 408.4 kB / 377.7 MB, free: 12.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=65): time 1.673e-06/0.02048, allocations: 0 / 377.7 MB, free: 12.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.000982/0.02146, allocations: 0.645 MB / 378.3 MB, free: 12.11 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.0215, allocations: 72.05 kB / 378.4 MB, free: 12.03 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003248/0.02182, allocations: 0.5272 MB / 378.9 MB, free: 11.49 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.963e-05/0.02186, allocations: 37.7 kB / 378.9 MB, free: 11.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.022, allocations: 298.1 kB / 379.2 MB, free: 11.15 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.02211, allocations: 210.3 kB / 379.4 MB, free: 10.95 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.02223, allocations: 126.5 kB / 379.6 MB, free: 10.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.02234, allocations: 394.5 kB / 380 MB, free: 10.42 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.02245, allocations: 77.97 kB / 380 MB, free: 10.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001757/0.02262, allocations: 253.9 kB / 380.3 MB, free: 10.04 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004913/0.02311, allocations: 454 kB / 380.7 MB, free: 9.555 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.81e-06/0.02312, allocations: 4 kB / 380.7 MB, free: 9.551 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0007936/0.02391, allocations: 0.5678 MB / 381.3 MB, free: 8.973 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.02393, allocations: 11.75 kB / 381.3 MB, free: 8.965 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.02394, allocations: 3.938 kB / 381.3 MB, free: 8.961 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005512/0.02449, allocations: 288.6 kB / 381.6 MB, free: 8.676 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002012/0.02469, allocations: 103.8 kB / 381.7 MB, free: 8.574 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001808/0.0265, allocations: 1.896 MB / 383.6 MB, free: 6.598 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002064/0.02671, allocations: 75.64 kB / 383.7 MB, free: 6.523 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.682e-05/0.02673, allocations: 20 kB / 383.7 MB, free: 6.504 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.switchOffSignal1,sVarCStandard.switchOffSignal2,sVarCStandard.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.0002313/0.02696, allocations: 240 kB / 383.9 MB, free: 6.266 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.094e-05/0.02703, allocations: 71.92 kB / 384 MB, free: 6.195 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000816/0.02785, allocations: 0.5789 MB / 384.6 MB, free: 5.594 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.02786, allocations: 7.922 kB / 384.6 MB, free: 5.586 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.02786, allocations: 0 / 384.6 MB, free: 5.586 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.128e-05/0.02793, allocations: 63.47 kB / 384.6 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.568e-05/0.02796, allocations: 15.98 kB / 384.7 MB, free: 5.508 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.85e-05/0.02801, allocations: 19.98 kB / 384.7 MB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.02815, allocations: 47.97 kB / 384.7 MB, free: 5.441 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.02826, allocations: 68.52 kB / 384.8 MB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008182/0.02908, allocations: 0.5686 MB / 385.4 MB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005442/0.02962, allocations: 0.6392 MB / 386 MB, free: 4.141 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001488/0.02977, allocations: 123.3 kB / 386.1 MB, free: 4.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000177/0.02995, allocations: 244.6 kB / 386.4 MB, free: 3.785 MB / 378.7 MB Notification: Performance of Backend: time 3.71e-07/0.02995, allocations: 0 / 386.4 MB, free: 3.785 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009695/0.03092, allocations: 0.6505 MB / 387 MB, free: 3.113 MB / 378.7 MB Notification: Performance of SimCode: time 0.001939/0.03286, allocations: 1.883 MB / 388.9 MB, free: 1.18 MB / 378.7 MB Notification: Performance of Templates: time 0.0181/0.05096, allocations: 15.76 MB / 404.6 MB, free: 1.512 MB / 394.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 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -s=ida > 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.2446598187088966]