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.001181/0.001181, allocations: 80.88 kB / 20.74 MB, free: 3.59 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.001386/0.001386, allocations: 173 kB / 24.16 MB, free: 180 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.871/0.871, allocations: 158.6 MB / 186 MB, free: 2.77 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.4529/0.4529, allocations: 90.86 MB / 329.2 MB, free: 14.27 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 1.463e-06/1.463e-06, allocations: 0 / 380 MB, free: 11.99 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.038e-05/2.184e-05, allocations: 2.312 kB / 380 MB, free: 11.98 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SVarC.SVarCStepURef): time 0.004585/0.004607, allocations: 4.434 MB / 384.4 MB, free: 7.516 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003265/0.007871, allocations: 2.801 MB / 387.2 MB, free: 4.711 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002279/0.008099, allocations: 11.94 kB / 387.2 MB, free: 4.699 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003236/0.008423, allocations: 178.4 kB / 387.4 MB, free: 4.523 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005717/0.008995, allocations: 226.3 kB / 387.6 MB, free: 4.301 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009856/0.00998, allocations: 0.8569 MB / 388.5 MB, free: 3.441 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006923/0.01067, allocations: 1.077 MB / 389.5 MB, free: 2.359 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002812/0.01095, allocations: 267.5 kB / 389.8 MB, free: 2.078 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002465/0.0112, allocations: 390.8 kB / 390.2 MB, free: 1.695 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002417/0.01144, allocations: 318.8 kB / 390.5 MB, free: 1.383 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.739e-05/0.01153, allocations: 112 kB / 390.6 MB, free: 1.273 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002054/0.01173, allocations: 215.8 kB / 390.8 MB, free: 1.062 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.01185, allocations: 231.2 kB / 391 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001722/0.01202, allocations: 303 kB / 391.3 MB, free: 0.5391 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006179/0.01264, allocations: 0.7823 MB / 392.1 MB, free: 15.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.01264, allocations: 0 / 392.1 MB, free: 15.75 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.01264, allocations: 0 / 392.1 MB, free: 15.75 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.01265, allocations: 0 / 392.1 MB, free: 15.75 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.001572/0.01422, allocations: 1.334 MB / 393.4 MB, free: 14.39 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.01426, allocations: 8.031 kB / 393.4 MB, free: 14.39 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007791/0.01504, allocations: 356.6 kB / 393.8 MB, free: 14.04 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004214/0.01546, allocations: 381.4 kB / 394.2 MB, free: 13.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001676/0.01563, allocations: 412 kB / 394.6 MB, free: 13.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.385e-05/0.01569, allocations: 60.38 kB / 394.6 MB, free: 13.1 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005384/0.01623, allocations: 0.566 MB / 395.2 MB, free: 12.49 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.01624, allocations: 0 / 395.2 MB, free: 12.49 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.742e-05/0.01628, allocations: 32 kB / 395.2 MB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.645e-05/0.0163, allocations: 19.98 kB / 395.2 MB, free: 12.44 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002887/0.01659, allocations: 185 kB / 395.4 MB, free: 12.26 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001676/0.01827, allocations: 1.869 MB / 397.3 MB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003708/0.01864, allocations: 280.6 kB / 397.6 MB, free: 10.05 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.01875, allocations: 90.33 kB / 397.7 MB, free: 9.961 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.179e-05/0.01878, allocations: 16.48 kB / 397.7 MB, free: 9.945 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003388/0.01912, allocations: 417.4 kB / 398.1 MB, free: 9.512 MB / 378.7 MB Notification: Performance of pre-optimization done (n=65): time 1.773e-06/0.01912, allocations: 0 / 398.1 MB, free: 9.512 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.0009586/0.02008, allocations: 0.6582 MB / 398.7 MB, free: 8.848 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/0.02011, allocations: 89.7 kB / 398.8 MB, free: 8.742 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003161/0.02043, allocations: 0.5194 MB / 399.3 MB, free: 8.207 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.662e-05/0.02047, allocations: 41.7 kB / 399.4 MB, free: 8.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.02059, allocations: 298 kB / 399.7 MB, free: 7.867 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/0.0207, allocations: 202.3 kB / 399.9 MB, free: 7.668 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.02082, allocations: 134.5 kB / 400 MB, free: 7.531 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.02092, allocations: 386.6 kB / 400.4 MB, free: 7.145 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.02103, allocations: 77.97 kB / 400.5 MB, free: 7.066 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000173/0.02121, allocations: 242 kB / 400.7 MB, free: 6.777 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004019/0.02161, allocations: 462 kB / 401.1 MB, free: 6.277 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.02161, allocations: 0 / 401.1 MB, free: 6.277 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0007956/0.02241, allocations: 0.5756 MB / 401.7 MB, free: 5.691 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.02242, allocations: 4 kB / 401.7 MB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.02243, allocations: 4 kB / 401.7 MB, free: 5.684 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005122/0.02294, allocations: 282.7 kB / 402 MB, free: 5.406 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.02312, allocations: 95.81 kB / 402.1 MB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001682/0.0248, allocations: 1.89 MB / 404 MB, free: 3.344 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/0.02501, allocations: 79.64 kB / 404.1 MB, free: 3.266 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.797e-05/0.02503, allocations: 23.98 kB / 404.1 MB, free: 3.242 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.0002127/0.02525, allocations: 227.6 kB / 404.3 MB, free: 3.012 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.266e-05/0.02532, allocations: 71.86 kB / 404.4 MB, free: 2.941 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007898/0.02611, allocations: 0.5829 MB / 405 MB, free: 2.348 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.02612, allocations: 7.922 kB / 405 MB, free: 2.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.02612, allocations: 0 / 405 MB, free: 2.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.456e-05/0.02619, allocations: 71.34 kB / 405 MB, free: 2.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.372e-05/0.02625, allocations: 16 kB / 405.1 MB, free: 2.254 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.0264, allocations: 51.95 kB / 405.1 MB, free: 2.203 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.0265, allocations: 68.52 kB / 405.2 MB, free: 2.137 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007906/0.02729, allocations: 0.5641 MB / 405.7 MB, free: 1.562 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000541/0.02783, allocations: 0.6353 MB / 406.4 MB, free: 0.9102 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001496/0.02798, allocations: 127.3 kB / 406.5 MB, free: 0.7812 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001681/0.02815, allocations: 248.5 kB / 406.7 MB, free: 0.543 MB / 378.7 MB Notification: Performance of Backend: time 8.12e-07/0.02815, allocations: 0 / 406.7 MB, free: 0.543 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008448/0.02899, allocations: 0.6074 MB / 407.4 MB, free: 15.92 MB / 394.7 MB Notification: Performance of SimCode: time 0.001423/0.03042, allocations: 1.875 MB / 409.2 MB, free: 13.99 MB / 394.7 MB Notification: Performance of Templates: time 0.0172/0.04762, allocations: 15.81 MB / 425 MB, free: 14.25 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 -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.2572499057278037]