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.001081/0.001081, allocations: 73.11 kB / 20.67 MB, free: 3.828 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.0009704/0.0009704, allocations: 177 kB / 24.08 MB, free: 428 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.8389/0.8389, allocations: 158.6 MB / 186 MB, free: 2.781 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.431/0.431, allocations: 91.28 MB / 329.6 MB, free: 13.9 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.114e-06/2.114e-06, allocations: 0 / 429.6 MB, free: 10.3 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.92e-05/3.131e-05, allocations: 5.969 kB / 429.6 MB, free: 10.29 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SVarC.SVarCStepURef): time 0.006968/0.006999, allocations: 4.406 MB / 434 MB, free: 5.855 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005034/0.01203, allocations: 2.717 MB / 436.7 MB, free: 3.125 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008418/0.01287, allocations: 11.94 kB / 436.7 MB, free: 3.113 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006146/0.01349, allocations: 174.5 kB / 436.9 MB, free: 2.941 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008715/0.01436, allocations: 218.3 kB / 437.1 MB, free: 2.727 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001965/0.01633, allocations: 0.8569 MB / 438 MB, free: 1.867 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001599/0.01793, allocations: 1.084 MB / 439.1 MB, free: 0.7852 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005485/0.01847, allocations: 254.6 kB / 439.3 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006851/0.01916, allocations: 394.8 kB / 439.7 MB, free: 136 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005938/0.01975, allocations: 318.8 kB / 440 MB, free: 15.82 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002249/0.01998, allocations: 108 kB / 440.1 MB, free: 15.71 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005068/0.02048, allocations: 215.8 kB / 440.3 MB, free: 15.5 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001863/0.02067, allocations: 231.1 kB / 440.6 MB, free: 15.28 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004404/0.02111, allocations: 299.1 kB / 440.9 MB, free: 14.98 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001326/0.02244, allocations: 0.7901 MB / 441.6 MB, free: 14.19 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.02244, allocations: 0 / 441.6 MB, free: 14.19 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.667e-06/0.02245, allocations: 4 kB / 441.6 MB, free: 14.19 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.236e-05/0.02247, allocations: 0 / 441.6 MB, free: 14.19 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.002963/0.02543, allocations: 1.462 MB / 443.1 MB, free: 12.68 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.02548, allocations: 8.031 kB / 443.1 MB, free: 12.68 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001279/0.02676, allocations: 356.1 kB / 443.5 MB, free: 12.33 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008433/0.0276, allocations: 0.5547 MB / 444 MB, free: 11.75 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004711/0.02807, allocations: 408 kB / 444.4 MB, free: 11.27 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/0.02819, allocations: 64.36 kB / 444.5 MB, free: 11.21 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.0292, allocations: 0.5898 MB / 445.1 MB, free: 10.56 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.02922, allocations: 3.938 kB / 445.1 MB, free: 10.55 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.245e-05/0.02928, allocations: 28 kB / 445.1 MB, free: 10.53 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.844e-05/0.0293, allocations: 16 kB / 445.1 MB, free: 10.51 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004951/0.02979, allocations: 224.9 kB / 445.3 MB, free: 10.29 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003266/0.03306, allocations: 2.715 MB / 448.1 MB, free: 7.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006325/0.03369, allocations: 309.1 kB / 448.4 MB, free: 7.188 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001912/0.03388, allocations: 109.1 kB / 448.5 MB, free: 7.078 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.814e-05/0.03393, allocations: 16.47 kB / 448.5 MB, free: 7.062 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005546/0.03449, allocations: 416.8 kB / 448.9 MB, free: 6.629 MB / 426.7 MB Notification: Performance of pre-optimization done (n=65): time 2.845e-06/0.03449, allocations: 4 kB / 448.9 MB, free: 6.625 MB / 426.7 MB Notification: Performance of matching and sorting (n=65): time 0.001809/0.0363, allocations: 0.8069 MB / 449.7 MB, free: 5.809 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.03635, allocations: 89.77 kB / 449.8 MB, free: 5.699 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006135/0.03696, allocations: 0.5889 MB / 450.4 MB, free: 5.094 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.031e-05/0.03702, allocations: 49.69 kB / 450.4 MB, free: 5.039 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003045/0.03733, allocations: 423.5 kB / 450.8 MB, free: 4.617 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001899/0.03752, allocations: 206.3 kB / 451 MB, free: 4.414 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001979/0.03772, allocations: 136.2 kB / 451.2 MB, free: 4.273 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004156/0.03813, allocations: 0.5663 MB / 451.7 MB, free: 3.695 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.03834, allocations: 97.86 kB / 451.8 MB, free: 3.598 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003037/0.03865, allocations: 299.2 kB / 452.1 MB, free: 3.234 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006902/0.03934, allocations: 0.4927 MB / 452.6 MB, free: 2.68 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.03935, allocations: 7.938 kB / 452.6 MB, free: 2.672 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001553/0.0409, allocations: 0.699 MB / 453.3 MB, free: 1.961 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.04092, allocations: 4 kB / 453.3 MB, free: 1.957 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.04093, allocations: 4 kB / 453.3 MB, free: 1.953 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000844/0.04178, allocations: 306.8 kB / 453.6 MB, free: 1.652 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002872/0.04206, allocations: 91.77 kB / 453.7 MB, free: 1.562 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003128/0.04519, allocations: 2.54 MB / 456.3 MB, free: 14.92 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005308/0.04572, allocations: 67.7 kB / 456.3 MB, free: 14.86 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-05/0.04578, allocations: 16 kB / 456.3 MB, free: 14.84 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.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.0004409/0.04622, allocations: 285.1 kB / 456.6 MB, free: 14.55 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001674/0.04638, allocations: 103.5 kB / 456.7 MB, free: 14.45 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001489/0.04787, allocations: 0.6949 MB / 457.4 MB, free: 13.73 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.338e-05/0.04789, allocations: 7.922 kB / 457.4 MB, free: 13.72 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.04789, allocations: 8 kB / 457.4 MB, free: 13.71 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001533/0.04804, allocations: 87.38 kB / 457.5 MB, free: 13.63 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.088e-05/0.04813, allocations: 16 kB / 457.5 MB, free: 13.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002595/0.04838, allocations: 39.95 kB / 457.6 MB, free: 13.57 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000171/0.04856, allocations: 72.52 kB / 457.6 MB, free: 13.5 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001529/0.05009, allocations: 0.7189 MB / 458.4 MB, free: 12.77 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001336/0.05142, allocations: 0.854 MB / 459.2 MB, free: 11.9 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002491/0.05167, allocations: 134.1 kB / 459.3 MB, free: 11.77 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003781/0.05205, allocations: 366.9 kB / 459.7 MB, free: 11.41 MB / 442.7 MB Notification: Performance of Backend: time 5.51e-07/0.05205, allocations: 4 kB / 459.7 MB, free: 11.41 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001731/0.05378, allocations: 0.7011 MB / 460.4 MB, free: 10.67 MB / 442.7 MB Notification: Performance of SimCode: time 0.002635/0.05642, allocations: 2.102 MB / 462.5 MB, free: 8.5 MB / 442.7 MB Notification: Performance of Templates: time 0.1702/0.2267, allocations: 15.84 MB / 478.3 MB, free: 74 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.3667875407263637]