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.001372/0.001372, allocations: 87.55 kB / 20.45 MB, free: 4.117 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.0009814/0.0009814, allocations: 173 kB / 23.82 MB, free: 0.7461 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.8924/0.8924, allocations: 158.6 MB / 185.7 MB, free: 2.5 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.4522/0.4522, allocations: 90.57 MB / 328.6 MB, free: 14.73 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.013e-06/2.013e-06, allocations: 0 / 428.1 MB, free: 11.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.164e-05/3.365e-05, allocations: 2.312 kB / 428.1 MB, free: 11.56 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SVarC.SVarCStepURef): time 0.006308/0.006342, allocations: 4.507 MB / 432.6 MB, free: 7.027 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004195/0.01054, allocations: 2.748 MB / 435.4 MB, free: 4.266 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002745/0.01081, allocations: 15.94 kB / 435.4 MB, free: 4.25 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003943/0.01121, allocations: 170.5 kB / 435.6 MB, free: 4.082 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002069/0.01327, allocations: 230.3 kB / 435.8 MB, free: 3.855 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002825/0.0161, allocations: 0.8492 MB / 436.6 MB, free: 3.004 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001932/0.01803, allocations: 1.088 MB / 437.7 MB, free: 1.914 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007127/0.01874, allocations: 258.6 kB / 438 MB, free: 1.645 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000843/0.01959, allocations: 386.9 kB / 438.4 MB, free: 1.266 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005843/0.02017, allocations: 314.9 kB / 438.7 MB, free: 0.957 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001931/0.02036, allocations: 108 kB / 438.8 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005474/0.02091, allocations: 219.8 kB / 439 MB, free: 0.6367 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001989/0.02111, allocations: 235.2 kB / 439.2 MB, free: 416 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003626/0.02147, allocations: 295.1 kB / 439.5 MB, free: 120 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001545/0.02302, allocations: 0.7901 MB / 440.3 MB, free: 15.32 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.076e-06/0.02303, allocations: 0 / 440.3 MB, free: 15.32 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.216e-06/0.02303, allocations: 4 kB / 440.3 MB, free: 15.32 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.866e-05/0.02305, allocations: 0 / 440.3 MB, free: 15.32 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.003358/0.02641, allocations: 1.45 MB / 441.7 MB, free: 13.83 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.698e-05/0.02646, allocations: 8.031 kB / 441.8 MB, free: 13.82 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009616/0.02743, allocations: 364.1 kB / 442.1 MB, free: 13.46 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007421/0.02817, allocations: 0.5625 MB / 442.7 MB, free: 12.88 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002431/0.02841, allocations: 415.9 kB / 443.1 MB, free: 12.39 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.205e-05/0.0285, allocations: 64.38 kB / 443.1 MB, free: 12.33 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008775/0.02938, allocations: 0.6329 MB / 443.8 MB, free: 11.64 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.02939, allocations: 0 / 443.8 MB, free: 11.64 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.971e-05/0.02944, allocations: 31.98 kB / 443.8 MB, free: 11.61 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.661e-05/0.02946, allocations: 16 kB / 443.8 MB, free: 11.59 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004839/0.02995, allocations: 283.5 kB / 444.1 MB, free: 11.31 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002815/0.03276, allocations: 2.801 MB / 446.9 MB, free: 8.426 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006757/0.03344, allocations: 349 kB / 447.2 MB, free: 8.074 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002084/0.03364, allocations: 129.1 kB / 447.4 MB, free: 7.945 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.862e-05/0.03369, allocations: 8.5 kB / 447.4 MB, free: 7.938 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005379/0.03423, allocations: 448.8 kB / 447.8 MB, free: 7.473 MB / 426.7 MB Notification: Performance of pre-optimization done (n=65): time 2.966e-06/0.03423, allocations: 0 / 447.8 MB, free: 7.473 MB / 426.7 MB Notification: Performance of matching and sorting (n=65): time 0.001605/0.03584, allocations: 0.9006 MB / 448.7 MB, free: 6.562 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.352e-05/0.0359, allocations: 93.77 kB / 448.8 MB, free: 6.449 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005488/0.03645, allocations: 0.6126 MB / 449.4 MB, free: 5.82 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.699e-05/0.0365, allocations: 41.7 kB / 449.5 MB, free: 5.773 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002414/0.03674, allocations: 415.6 kB / 449.9 MB, free: 5.359 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/0.03687, allocations: 206.4 kB / 450.1 MB, free: 5.156 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/0.03703, allocations: 132.3 kB / 450.2 MB, free: 5.02 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.03722, allocations: 0.5547 MB / 450.7 MB, free: 4.453 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002156/0.03744, allocations: 121.9 kB / 450.9 MB, free: 4.332 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002998/0.03774, allocations: 335.2 kB / 451.2 MB, free: 3.934 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006914/0.03843, allocations: 0.5553 MB / 451.8 MB, free: 3.316 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.03843, allocations: 0 / 451.8 MB, free: 3.316 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001319/0.03975, allocations: 0.7654 MB / 452.5 MB, free: 2.539 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/0.03978, allocations: 8 kB / 452.5 MB, free: 2.531 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.03979, allocations: 4 kB / 452.5 MB, free: 2.527 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007622/0.04055, allocations: 310.8 kB / 452.8 MB, free: 2.223 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002239/0.04078, allocations: 87.83 kB / 452.9 MB, free: 2.137 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002982/0.04376, allocations: 2.621 MB / 455.5 MB, free: 15.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000482/0.04424, allocations: 67.69 kB / 455.6 MB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.43e-05/0.04428, allocations: 31.98 kB / 455.6 MB, free: 15.31 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.0004038/0.04469, allocations: 276.5 kB / 455.9 MB, free: 15.03 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.04481, allocations: 103.5 kB / 456 MB, free: 14.93 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001314/0.04613, allocations: 0.7652 MB / 456.8 MB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.04613, allocations: 3.984 kB / 456.8 MB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.04614, allocations: 0 / 456.8 MB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/0.04627, allocations: 83.39 kB / 456.9 MB, free: 14.06 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.563e-05/0.04633, allocations: 23.98 kB / 456.9 MB, free: 14.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001883/0.04652, allocations: 35.97 kB / 456.9 MB, free: 14 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/0.04668, allocations: 76.5 kB / 457 MB, free: 13.92 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001273/0.04795, allocations: 0.7619 MB / 457.8 MB, free: 13.15 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001217/0.04917, allocations: 0.8931 MB / 458.6 MB, free: 12.24 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002559/0.04942, allocations: 154.1 kB / 458.8 MB, free: 12.09 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000337/0.04976, allocations: 399 kB / 459.2 MB, free: 11.7 MB / 442.7 MB Notification: Performance of Backend: time 7.41e-07/0.04976, allocations: 0 / 459.2 MB, free: 11.7 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001542/0.0513, allocations: 0.7171 MB / 459.9 MB, free: 10.95 MB / 442.7 MB Notification: Performance of SimCode: time 0.001952/0.05325, allocations: 2.013 MB / 461.9 MB, free: 8.879 MB / 442.7 MB Notification: Performance of Templates: time 0.1959/0.2491, allocations: 15 MB / 476.9 MB, free: 74.89 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.7320348797366023]