Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.SVarC.SVarCFaultImp.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.0008452/0.0008452, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009761/0.001821, 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.0007047/0.0007047, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008346/0.001539, 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.8457/0.8457, allocations: 158.6 MB / 171 MB, free: 2.59 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1635/1.009, allocations: 49.5 MB / 220.5 MB, free: 1.445 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.456/0.456, allocations: 100.5 MB / 321.8 MB, free: 4.715 MB / 314.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05768/0.5137, allocations: 35.7 MB / 357.5 MB, free: 1.305 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.SVarCFaultImp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|loadPQ.QPu|sVarCStandard.injector.QInjPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.SVarC.SVarCFaultImp") translateModel(Dynawo.Examples.SVarC.SVarCFaultImp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|loadPQ.QPu|sVarCStandard.injector.QInjPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.SVarC.SVarCFaultImp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 359 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.766e-05/1.914e-05, allocations: 2.312 kB / 359 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SVarC.SVarCFaultImp): time 0.004374/0.004393, allocations: 4.715 MB / 363.7 MB, free: 11.1 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00327/0.007663, allocations: 2.887 MB / 366.6 MB, free: 8.207 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00031/0.007973, allocations: 19.88 kB / 366.6 MB, free: 8.188 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003146/0.008288, allocations: 190.4 kB / 366.8 MB, free: 8 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003659/0.008654, allocations: 242.1 kB / 367 MB, free: 7.762 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001099/0.009753, allocations: 0.888 MB / 367.9 MB, free: 6.871 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008262/0.01058, allocations: 1.131 MB / 369 MB, free: 5.734 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003319/0.01091, allocations: 287.1 kB / 369.3 MB, free: 5.422 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005989/0.01151, allocations: 0.7947 MB / 370.1 MB, free: 4.605 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002671/0.01178, allocations: 338.8 kB / 370.4 MB, free: 4.273 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.812e-05/0.01188, allocations: 120 kB / 370.6 MB, free: 4.156 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000276/0.01215, allocations: 231.8 kB / 370.8 MB, free: 3.93 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.01226, allocations: 187.4 kB / 371 MB, free: 3.746 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00018/0.01244, allocations: 251.4 kB / 371.2 MB, free: 3.5 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007938/0.01323, allocations: 0.7861 MB / 372 MB, free: 2.711 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.892e-05/0.01325, allocations: 4 kB / 372 MB, free: 2.707 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.01325, allocations: 0 / 372 MB, free: 2.707 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.825e-05/0.01327, allocations: 0 / 372 MB, free: 2.707 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: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.001882/0.01515, allocations: 1.664 MB / 373.7 MB, free: 1 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.01519, allocations: 12.03 kB / 373.7 MB, free: 0.9883 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000766/0.01596, allocations: 364.6 kB / 374 MB, free: 0.6328 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004507/0.01641, allocations: 414 kB / 374.4 MB, free: 204 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002032/0.01661, allocations: 463.3 kB / 374.9 MB, free: 15.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.634e-05/0.01669, allocations: 76.31 kB / 375 MB, free: 15.58 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006266/0.01732, allocations: 0.6098 MB / 375.6 MB, free: 14.92 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.01733, allocations: 3.938 kB / 375.6 MB, free: 14.92 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.16e-05/0.01737, allocations: 35.98 kB / 375.6 MB, free: 14.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.01739, allocations: 16 kB / 375.6 MB, free: 14.87 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000272/0.01766, allocations: 209 kB / 375.8 MB, free: 14.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001871/0.01953, allocations: 1.929 MB / 377.8 MB, free: 12.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004277/0.01996, allocations: 318.2 kB / 378.1 MB, free: 12.37 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001296/0.02009, allocations: 114.2 kB / 378.2 MB, free: 12.26 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.008e-05/0.02013, allocations: 12.5 kB / 378.2 MB, free: 12.24 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000398/0.02052, allocations: 468.3 kB / 378.7 MB, free: 11.76 MB / 378.7 MB Notification: Performance of pre-optimization done (n=77): time 1.874e-06/0.02053, allocations: 0 / 378.7 MB, free: 11.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=77): time 0.001433/0.02196, allocations: 0.8216 MB / 379.5 MB, free: 10.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.02199, allocations: 71.98 kB / 379.6 MB, free: 10.85 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003457/0.02234, allocations: 0.5545 MB / 380.1 MB, free: 10.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.676e-05/0.02239, allocations: 49.69 kB / 380.2 MB, free: 10.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/0.02253, allocations: 302.8 kB / 380.5 MB, free: 9.926 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/0.02267, allocations: 238 kB / 380.7 MB, free: 9.691 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001353/0.0228, allocations: 146.5 kB / 380.8 MB, free: 9.543 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.02292, allocations: 402.6 kB / 381.2 MB, free: 9.141 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.02304, allocations: 97.89 kB / 381.3 MB, free: 9.043 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002011/0.02324, allocations: 290.2 kB / 381.6 MB, free: 8.691 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004692/0.02371, allocations: 0.5432 MB / 382.1 MB, free: 8.086 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.02371, allocations: 0 / 382.1 MB, free: 8.086 MB / 378.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.0009156/0.02463, allocations: 0.6637 MB / 382.8 MB, free: 7.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.02465, allocations: 8 kB / 382.8 MB, free: 7.402 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.02466, allocations: 8 kB / 382.8 MB, free: 7.395 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006277/0.02529, allocations: 336 kB / 383.2 MB, free: 7.066 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002066/0.02549, allocations: 107.8 kB / 383.3 MB, free: 6.961 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001974/0.02747, allocations: 2.062 MB / 385.3 MB, free: 4.816 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002328/0.0277, allocations: 75.64 kB / 385.4 MB, free: 4.742 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.912e-05/0.02773, allocations: 24 kB / 385.4 MB, free: 4.719 MB / 378.7 MB Warning: Assuming fixed start value for the following 12 variables: nodeFault.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = nodeFault.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) 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 nodeFault.running:DISCRETE(flow=false start = nodeFault.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean nodeFault.nodeFault:DISCRETE(flow=false start = false fixed = true ) \"True when the fault is ongoing, false otherwise\" type: Boolean 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: 20 * Number of states: 0 () * Number of discrete variables: 56 ($PRE.nodeFault.state,nodeFault.state,$PRE.sVarCStandard.injector.state,sVarCStandard.injector.state,$PRE.line.state,line.state,$whenCondition16,$whenCondition17,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.nodeFault.running,$PRE.nodeFault.nodeFault,$PRE.sVarCStandard.blockingFunction.blocked,$PRE.sVarCStandard.modeHandling.modeAuto,sVarCStandard.modeHandling.modeManual,nodeFault.nodeFault,nodeFault.running,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,$whenCondition19,$whenCondition18,$whenCondition20,nodeFault.switchOffSignal1,nodeFault.switchOffSignal2,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 (89): * Single equations (assignments): 88 * 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 {(7,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002465/0.02798, allocations: 259.3 kB / 385.7 MB, free: 4.469 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.172e-05/0.02806, allocations: 91.84 kB / 385.8 MB, free: 4.379 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007228/0.02878, allocations: 0.5386 MB / 386.3 MB, free: 3.824 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.02879, allocations: 0 / 386.3 MB, free: 3.824 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.02879, allocations: 3.984 kB / 386.3 MB, free: 3.82 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.473e-05/0.02887, allocations: 71.42 kB / 386.4 MB, free: 3.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.977e-05/0.0289, allocations: 15.98 kB / 386.4 MB, free: 3.734 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.368e-05/0.02895, allocations: 20 kB / 386.4 MB, free: 3.715 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001614/0.02911, allocations: 47.95 kB / 386.5 MB, free: 3.668 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.02924, allocations: 84.48 kB / 386.5 MB, free: 3.586 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008466/0.03008, allocations: 0.6173 MB / 387.2 MB, free: 2.961 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005985/0.03068, allocations: 0.7223 MB / 387.9 MB, free: 2.223 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001614/0.03084, allocations: 151.2 kB / 388 MB, free: 2.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000178/0.03102, allocations: 260.6 kB / 388.3 MB, free: 1.816 MB / 378.7 MB Notification: Performance of Backend: time 1.31e-07/0.03102, allocations: 0 / 388.3 MB, free: 1.816 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001006/0.03203, allocations: 0.7373 MB / 389 MB, free: 1.066 MB / 378.7 MB Notification: Performance of SimCode: time 0.001972/0.034, allocations: 2.031 MB / 391 MB, free: 14.98 MB / 394.7 MB Notification: Performance of Templates: time 0.01838/0.05238, allocations: 17.54 MB / 408.6 MB, free: 13.52 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Dynawo_dev_Dynawo.Examples.SVarC.SVarCFaultImp.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.SVarC.SVarCFaultImp.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.SVarC.SVarCFaultImp.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.SVarC.SVarCFaultImp.pipe >> ../files/Dynawo_dev_Dynawo.Examples.SVarC.SVarCFaultImp.sim & ./Dynawo_dev_Dynawo.Examples.SVarC.SVarCFaultImp -lv=LOG_STATS -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -s=ida > Dynawo_dev_Dynawo.Examples.SVarC.SVarCFaultImp.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.SVarC.SVarCFaultImp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.SVarC.SVarCFaultImp_res.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable loadPQ.QPu in file Dynawo_dev_Dynawo.Examples.SVarC.SVarCFaultImp_res.mat. Warning: Get data of variable loadPQ.QPu from file Dynawo_dev_Dynawo.Examples.SVarC.SVarCFaultImp_res.mat failed! " [Timeout remaining time 660] Not compared, constant in the reference and not in the result: loadPQ.QPu Reference file matches [Calling sys.exit(0), Time elapsed: 3.1328458879143]