Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.LoadFrequencyDependent.LoadZIPFrequencyDependent.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.0008028/0.0008028, allocations: 84.39 kB / 20.99 MB, free: 3.43 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.0008002/0.0008002, allocations: 165.3 kB / 24.3 MB, free: 116 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.805/0.805, allocations: 158.6 MB / 186.1 MB, free: 2.898 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.4153/0.4153, allocations: 90.63 MB / 329 MB, free: 14.62 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.LoadFrequencyDependent.LoadZIPFrequencyDependent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|loadZIPFrequencyDependent.PPu|loadZIPFrequencyDependent.QPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.LoadFrequencyDependent.LoadZIPFrequencyDependent") translateModel(Dynawo.Examples.LoadFrequencyDependent.LoadZIPFrequencyDependent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|loadZIPFrequencyDependent.PPu|loadZIPFrequencyDependent.QPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.LoadFrequencyDependent.LoadZIPFrequencyDependent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 429 MB, free: 11.07 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.499e-05/2.642e-05, allocations: 6.25 kB / 429 MB, free: 11.07 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.LoadFrequencyDependent.LoadZIPFrequencyDependent): time 0.00271/0.002736, allocations: 2.574 MB / 431.5 MB, free: 8.477 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002863/0.0056, allocations: 3.177 MB / 434.7 MB, free: 5.281 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001655/0.005765, allocations: 11.94 kB / 434.7 MB, free: 5.27 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003203/0.006085, allocations: 131 kB / 434.9 MB, free: 5.141 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003664/0.006452, allocations: 178.7 kB / 435 MB, free: 4.965 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Buses/Bus.mo:29:3-33:9:writable] Warning: In relation bus.terminal.V.re == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Buses/Bus.mo:29:3-33:9:writable] Warning: In relation bus.terminal.V.im == 0.0, == on Real operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeClassSections: time 0.0008706/0.007322, allocations: 0.7007 MB / 435.7 MB, free: 4.262 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004252/0.007748, allocations: 0.5804 MB / 436.3 MB, free: 3.68 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001684/0.007916, allocations: 110.1 kB / 436.4 MB, free: 3.566 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002197/0.008136, allocations: 235.3 kB / 436.7 MB, free: 3.336 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00017/0.008306, allocations: 199.4 kB / 436.8 MB, free: 3.141 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.942e-05/0.008355, allocations: 52 kB / 436.9 MB, free: 3.09 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002298/0.008585, allocations: 199.7 kB / 437.1 MB, free: 2.895 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.988e-05/0.008655, allocations: 123.5 kB / 437.2 MB, free: 2.773 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.008764, allocations: 163.5 kB / 437.4 MB, free: 2.613 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005822/0.009347, allocations: 0.7593 MB / 438.1 MB, free: 1.852 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.009349, allocations: 0 / 438.1 MB, free: 1.852 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.009349, allocations: 4 kB / 438.1 MB, free: 1.848 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.009355, allocations: 0 / 438.1 MB, free: 1.848 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.00166/0.01102, allocations: 1.043 MB / 439.2 MB, free: 0.7578 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.01105, allocations: 8.031 kB / 439.2 MB, free: 0.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001087/0.01214, allocations: 380.3 kB / 439.6 MB, free: 388 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003839/0.01252, allocations: 355.8 kB / 439.9 MB, free: 8 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000193/0.01271, allocations: 391.7 kB / 440.3 MB, free: 15.54 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.812e-05/0.01277, allocations: 40.38 kB / 440.3 MB, free: 15.5 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006071/0.01338, allocations: 0.5165 MB / 440.8 MB, free: 14.97 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.01339, allocations: 0 / 440.8 MB, free: 14.97 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.465e-05/0.01342, allocations: 12 kB / 440.9 MB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.561e-05/0.01344, allocations: 11.98 kB / 440.9 MB, free: 14.95 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005786/0.01402, allocations: 434.3 kB / 441.3 MB, free: 14.52 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001784/0.0158, allocations: 1.742 MB / 443 MB, free: 12.73 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008352/0.01664, allocations: 0.4968 MB / 443.5 MB, free: 12.21 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003045/0.01694, allocations: 245.5 kB / 443.8 MB, free: 11.97 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.705e-05/0.01701, allocations: 12 kB / 443.8 MB, free: 11.96 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004552/0.01746, allocations: 395.3 kB / 444.2 MB, free: 11.55 MB / 426.7 MB Notification: Performance of pre-optimization done (n=45): time 1.473e-06/0.01746, allocations: 0 / 444.2 MB, free: 11.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=45): time 0.003566/0.02103, allocations: 1.393 MB / 445.6 MB, free: 10.14 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.02106, allocations: 85.05 kB / 445.6 MB, free: 10.04 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002648/0.02133, allocations: 369.5 kB / 446 MB, free: 9.672 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.008e-05/0.02137, allocations: 41.69 kB / 446 MB, free: 9.625 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.02148, allocations: 224.8 kB / 446.3 MB, free: 9.402 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.15e-05/0.02158, allocations: 158.7 kB / 446.4 MB, free: 9.246 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.0217, allocations: 106.3 kB / 446.5 MB, free: 9.137 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.429e-05/0.0218, allocations: 362.8 kB / 446.9 MB, free: 8.773 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003712/0.02217, allocations: 306.9 kB / 447.2 MB, free: 8.469 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004048/0.02257, allocations: 419.7 kB / 447.6 MB, free: 8.012 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002245/0.02482, allocations: 1.532 MB / 449.1 MB, free: 6.422 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.02482, allocations: 0 / 449.1 MB, free: 6.422 MB / 426.7 MB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002432/0.02725, allocations: 1.246 MB / 450.4 MB, free: 5.145 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.101e-05/0.02729, allocations: 45.69 kB / 450.4 MB, free: 5.094 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.02729, allocations: 0 / 450.4 MB, free: 5.094 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004517/0.02774, allocations: 313.7 kB / 450.7 MB, free: 4.781 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002008/0.02794, allocations: 95.81 kB / 450.8 MB, free: 4.688 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004343/0.03229, allocations: 4.538 MB / 455.4 MB, free: 15.94 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002209/0.03251, allocations: 67.7 kB / 455.4 MB, free: 15.87 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.315e-05/0.03254, allocations: 27.98 kB / 455.4 MB, free: 15.84 MB / 442.7 MB Warning: Assuming fixed start value for the following 4 variables: loadZIPFrequencyDependent.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = loadZIPFrequencyDependent.State0 fixed = true ) \"Load 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) loadZIPFrequencyDependent.running:DISCRETE(flow=false start = loadZIPFrequencyDependent.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean line.running:DISCRETE(flow=false start = line.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.loadZIPFrequencyDependent.state,loadZIPFrequencyDependent.state,$PRE.line.state,line.state,loadZIPFrequencyDependent.switchOffSignal2,loadZIPFrequencyDependent.switchOffSignal1,line.switchOffSignal2,line.switchOffSignal1,$PRE.loadZIPFrequencyDependent.running,$PRE.line.running,line.running,loadZIPFrequencyDependent.running,$whenCondition1,$whenCondition3,$whenCondition2,$whenCondition4,$whenCondition6,$whenCondition5,loadZIPFrequencyDependent.PLL.limIntegrator.local_reset,loadZIPFrequencyDependent.PLL.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001874/0.03273, allocations: 205 kB / 455.6 MB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.322e-05/0.0328, allocations: 71.61 kB / 455.7 MB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00221/0.03501, allocations: 0.9827 MB / 456.7 MB, free: 14.58 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.03502, allocations: 0 / 456.7 MB, free: 14.58 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.03502, allocations: 3.984 kB / 456.7 MB, free: 14.57 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.518e-05/0.03506, allocations: 43.66 kB / 456.7 MB, free: 14.53 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.525e-05/0.03511, allocations: 15.98 kB / 456.8 MB, free: 14.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001555/0.03526, allocations: 28.09 kB / 456.8 MB, free: 14.49 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.03538, allocations: 79.73 kB / 456.9 MB, free: 14.41 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001326/0.03671, allocations: 0.9814 MB / 457.8 MB, free: 13.41 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001221/0.03793, allocations: 1.142 MB / 459 MB, free: 12.25 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003476/0.03828, allocations: 255.6 kB / 459.2 MB, free: 12 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001844/0.03846, allocations: 251.2 kB / 459.5 MB, free: 11.76 MB / 442.7 MB Notification: Performance of Backend: time 2.4e-07/0.03846, allocations: 0 / 459.5 MB, free: 11.76 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001694/0.04016, allocations: 0.9812 MB / 460.5 MB, free: 10.73 MB / 442.7 MB Notification: Performance of SimCode: time 0.001238/0.0414, allocations: 1.313 MB / 461.8 MB, free: 9.379 MB / 442.7 MB Notification: Performance of Templates: time 0.1309/0.1723, allocations: 12.4 MB / 474.2 MB, free: 83.27 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f Dynawo_dev_Dynawo.Examples.LoadFrequencyDependent.LoadZIPFrequencyDependent.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.LoadFrequencyDependent.LoadZIPFrequencyDependent.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.LoadFrequencyDependent.LoadZIPFrequencyDependent.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.LoadFrequencyDependent.LoadZIPFrequencyDependent.pipe >> ../files/Dynawo_dev_Dynawo.Examples.LoadFrequencyDependent.LoadZIPFrequencyDependent.sim & ./Dynawo_dev_Dynawo.Examples.LoadFrequencyDependent.LoadZIPFrequencyDependent -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -variableFilter=.* -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.LoadFrequencyDependent.LoadZIPFrequencyDependent.pipe 2>&1) [Timeout 480] diffSimulationResults("Dynawo_dev_Dynawo.Examples.LoadFrequencyDependent.LoadZIPFrequencyDependent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.LoadFrequencyDependent.LoadZIPFrequencyDependent_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.LoadFrequencyDependent.LoadZIPFrequencyDependent.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: 3.3126159515231848]