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.001897/0.001897, allocations: 87.61 kB / 20.23 MB, free: 4.188 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.00254/0.00254, allocations: 161.3 kB / 23.55 MB, free: 0.875 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 1.414/1.414, allocations: 158.6 MB / 185.3 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 178] 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.7351/0.7351, allocations: 90.6 MB / 328.2 MB, free: 14.61 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.723e-06/1.723e-06, allocations: 0 / 427.4 MB, free: 11.87 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.919e-05/3.092e-05, allocations: 10.25 kB / 427.4 MB, free: 11.86 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SVarC.SVarCStepURef): time 0.00828/0.008311, allocations: 4.453 MB / 431.9 MB, free: 7.375 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006012/0.01432, allocations: 2.74 MB / 434.6 MB, free: 4.621 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000635/0.01496, allocations: 11.94 kB / 434.6 MB, free: 4.609 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006018/0.01556, allocations: 178.5 kB / 434.8 MB, free: 4.434 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006562/0.01622, allocations: 226.3 kB / 435 MB, free: 4.211 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002049/0.01827, allocations: 0.8492 MB / 435.9 MB, free: 3.359 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001485/0.01975, allocations: 1.088 MB / 436.9 MB, free: 2.27 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004976/0.02025, allocations: 254.6 kB / 437.2 MB, free: 2.004 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005636/0.02081, allocations: 386.9 kB / 437.6 MB, free: 1.625 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000445/0.02126, allocations: 310.9 kB / 437.9 MB, free: 1.32 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000181/0.02144, allocations: 112 kB / 438 MB, free: 1.211 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004716/0.02191, allocations: 219.8 kB / 438.2 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000247/0.02216, allocations: 235.2 kB / 438.4 MB, free: 0.7656 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003671/0.02252, allocations: 295.1 kB / 438.7 MB, free: 488 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002187/0.02471, allocations: 1.336 MB / 440.1 MB, free: 15.14 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.02472, allocations: 4 kB / 440.1 MB, free: 15.13 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.02472, allocations: 0 / 440.1 MB, free: 15.13 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.504e-05/0.02474, allocations: 0 / 440.1 MB, free: 15.13 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.003735/0.02847, allocations: 1.528 MB / 441.6 MB, free: 13.56 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.02852, allocations: 8.031 kB / 441.6 MB, free: 13.55 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001598/0.03012, allocations: 364.1 kB / 441.9 MB, free: 13.2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/0.03118, allocations: 0.5976 MB / 442.5 MB, free: 12.57 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003869/0.03157, allocations: 404 kB / 442.9 MB, free: 12.1 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/0.03169, allocations: 64.36 kB / 443 MB, free: 12.04 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001648/0.03334, allocations: 0.8549 MB / 443.9 MB, free: 11.13 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.03336, allocations: 3.984 kB / 443.9 MB, free: 11.12 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.029e-05/0.03344, allocations: 31.98 kB / 443.9 MB, free: 11.09 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.699e-05/0.03346, allocations: 16 kB / 443.9 MB, free: 11.08 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001273/0.03473, allocations: 0.5673 MB / 444.5 MB, free: 10.51 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005517/0.04025, allocations: 3.389 MB / 447.9 MB, free: 7.039 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001417/0.04166, allocations: 0.5948 MB / 448.5 MB, free: 6.43 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006258/0.04229, allocations: 281.1 kB / 448.7 MB, free: 6.152 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.705e-05/0.04236, allocations: 8.5 kB / 448.7 MB, free: 6.145 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001168/0.04352, allocations: 0.6063 MB / 449.4 MB, free: 5.504 MB / 426.7 MB Notification: Performance of pre-optimization done (n=65): time 2.244e-06/0.04353, allocations: 0 / 449.4 MB, free: 5.504 MB / 426.7 MB Notification: Performance of matching and sorting (n=65): time 0.003816/0.04734, allocations: 1.408 MB / 450.8 MB, free: 4.086 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.501e-05/0.04743, allocations: 85.77 kB / 450.8 MB, free: 3.984 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001227/0.04865, allocations: 0.8353 MB / 451.7 MB, free: 3.129 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.462e-05/0.04873, allocations: 49.69 kB / 451.7 MB, free: 3.074 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005025/0.04923, allocations: 467.5 kB / 452.2 MB, free: 2.613 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002711/0.0495, allocations: 218.4 kB / 452.4 MB, free: 2.398 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003144/0.04982, allocations: 172.3 kB / 452.6 MB, free: 2.223 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004508/0.05027, allocations: 0.6172 MB / 453.2 MB, free: 1.594 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006427/0.05091, allocations: 281.9 kB / 453.5 MB, free: 1.316 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001151/0.05206, allocations: 0.5031 MB / 454 MB, free: 0.7422 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002006/0.05407, allocations: 0.9889 MB / 454.9 MB, free: 15.68 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.948e-06/0.05408, allocations: 4 kB / 455 MB, free: 15.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003/0.05708, allocations: 1.125 MB / 456.1 MB, free: 14.54 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.0571, allocations: 4 kB / 456.1 MB, free: 14.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.05711, allocations: 8.219 kB / 456.1 MB, free: 14.53 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00135/0.05846, allocations: 410.7 kB / 456.5 MB, free: 14.13 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003695/0.05883, allocations: 83.83 kB / 456.6 MB, free: 14.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00599/0.06482, allocations: 3.606 MB / 460.2 MB, free: 10.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006275/0.06545, allocations: 71.7 kB / 460.2 MB, free: 10.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-05/0.06551, allocations: 28 kB / 460.3 MB, free: 10.22 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.0008163/0.06633, allocations: 360.3 kB / 460.6 MB, free: 9.863 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001925/0.06652, allocations: 107.5 kB / 460.7 MB, free: 9.758 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002999/0.06952, allocations: 1.121 MB / 461.9 MB, free: 8.617 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.185e-05/0.06953, allocations: 3.984 kB / 461.9 MB, free: 8.613 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.06953, allocations: 0 / 461.9 MB, free: 8.613 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001668/0.0697, allocations: 83.39 kB / 461.9 MB, free: 8.531 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.0698, allocations: 23.98 kB / 462 MB, free: 8.508 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003901/0.07019, allocations: 35.97 kB / 462 MB, free: 8.473 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002271/0.07042, allocations: 88.5 kB / 462.1 MB, free: 8.387 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003095/0.07352, allocations: 1.168 MB / 463.3 MB, free: 7.211 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002511/0.07603, allocations: 1.405 MB / 464.7 MB, free: 5.785 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007041/0.07673, allocations: 350.1 kB / 465 MB, free: 5.441 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007262/0.07746, allocations: 0.5146 MB / 465.5 MB, free: 4.934 MB / 442.7 MB Notification: Performance of Backend: time 6.52e-07/0.07746, allocations: 7.938 kB / 465.5 MB, free: 4.926 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002432/0.07989, allocations: 0.9123 MB / 466.4 MB, free: 3.988 MB / 442.7 MB Notification: Performance of SimCode: time 0.003031/0.08292, allocations: 2.087 MB / 468.5 MB, free: 1.844 MB / 442.7 MB Notification: Performance of Templates: time 0.2362/0.3191, allocations: 15 MB / 483.5 MB, free: 81.59 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.SVarC.SVarCStepURef.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.882230577990413]