Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.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.001375/0.001375, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.001584/0.001584, allocations: 161 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.012/1.012, allocations: 177.1 MB / 205 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2403/0.2403, allocations: 29.41 MB / 290.9 MB, free: 2.504 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(PowerSystems.Examples.Generic.Test.FixedLoadTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|line.i.[0-9,]+.|line.p.[0-9,]+.|line.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest") translateModel(PowerSystems.Examples.Generic.Test.FixedLoadTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|line.i.[0-9,]+.|line.p.[0-9,]+.|line.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 369.6 MB, free: 11.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.601e-05/2.763e-05, allocations: 6.312 kB / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.004296/0.004324, allocations: 3.51 MB / 373.1 MB, free: 7.492 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001769/0.006093, allocations: 1.235 MB / 374.4 MB, free: 6.25 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001418/0.006235, allocations: 15.88 kB / 374.4 MB, free: 6.234 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006186/0.006854, allocations: 203.2 kB / 374.6 MB, free: 6.035 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006122/0.007466, allocations: 274.7 kB / 374.9 MB, free: 5.766 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003002/0.007766, allocations: 139.3 kB / 375 MB, free: 5.629 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004033/0.008169, allocations: 346.9 kB / 375.3 MB, free: 5.289 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002635/0.008433, allocations: 110.1 kB / 375.4 MB, free: 5.184 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003443/0.008777, allocations: 203.4 kB / 375.6 MB, free: 4.984 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002498/0.009027, allocations: 147.5 kB / 375.8 MB, free: 4.84 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.754e-05/0.009054, allocations: 20 kB / 375.8 MB, free: 4.82 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004207/0.009475, allocations: 279.1 kB / 376.1 MB, free: 4.547 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001317/0.009607, allocations: 115.7 kB / 376.2 MB, free: 4.434 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.346e-05/0.0097, allocations: 71.84 kB / 376.3 MB, free: 4.363 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004914/0.01019, allocations: 319 kB / 376.6 MB, free: 4.051 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.01019, allocations: 0 / 376.6 MB, free: 4.051 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.0102, allocations: 0 / 376.6 MB, free: 4.051 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.77e-06/0.0102, allocations: 0 / 376.6 MB, free: 4.051 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006498/0.01085, allocations: 0.5461 MB / 377.1 MB, free: 3.469 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.01089, allocations: 11.98 kB / 377.1 MB, free: 3.457 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005888/0.01148, allocations: 152.6 kB / 377.3 MB, free: 3.309 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002873/0.01176, allocations: 212.1 kB / 377.5 MB, free: 3.074 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.01178, allocations: 16.36 kB / 377.5 MB, free: 3.059 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.381e-05/0.01183, allocations: 20.38 kB / 377.5 MB, free: 3.039 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003045/0.01213, allocations: 227.7 kB / 377.7 MB, free: 2.789 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.383e-05/0.01215, allocations: 12.11 kB / 377.7 MB, free: 2.777 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.304e-05/0.01218, allocations: 4.375 kB / 377.8 MB, free: 2.773 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.9e-05/0.01222, allocations: 27.92 kB / 377.8 MB, free: 2.746 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002176/0.01243, allocations: 131.8 kB / 377.9 MB, free: 2.617 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001135/0.01357, allocations: 1.265 MB / 379.2 MB, free: 1.273 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/0.01375, allocations: 114 kB / 379.3 MB, free: 1.137 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.177e-05/0.01383, allocations: 55.42 kB / 379.3 MB, free: 1.074 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.01385, allocations: 8 kB / 379.3 MB, free: 1.066 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.01387, allocations: 37.67 kB / 379.4 MB, free: 1.02 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 1.653e-06/0.01387, allocations: 0 / 379.4 MB, free: 1.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.0008717/0.01475, allocations: 432 kB / 379.8 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.01479, allocations: 81.11 kB / 379.9 MB, free: 500 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.01492, allocations: 233.8 kB / 380.1 MB, free: 248 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.01493, allocations: 25.7 kB / 380.1 MB, free: 216 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.852e-05/0.01502, allocations: 203 kB / 380.3 MB, free: 8 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.378e-05/0.01509, allocations: 63.59 kB / 380.4 MB, free: 15.94 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.872e-05/0.01515, allocations: 51.36 kB / 380.4 MB, free: 15.88 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.01529, allocations: 0.508 MB / 381 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.685e-05/0.01535, allocations: 31.98 kB / 381 MB, free: 15.33 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.753e-05/0.01545, allocations: 136.7 kB / 381.1 MB, free: 15.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/0.01562, allocations: 188.7 kB / 381.3 MB, free: 14.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.01562, allocations: 4 kB / 381.3 MB, free: 14.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003191/0.01594, allocations: 247.1 kB / 381.5 MB, free: 14.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.01596, allocations: 8 kB / 381.6 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.01597, allocations: 7.984 kB / 381.6 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003049/0.01627, allocations: 91.88 kB / 381.7 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.624e-05/0.01637, allocations: 39.91 kB / 381.7 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001646/0.01801, allocations: 2.274 MB / 384 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.134e-05/0.0181, allocations: 11.98 kB / 384 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.68e-05/0.01812, allocations: 8 kB / 384 MB, free: 12.12 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 20 * 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 {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001058/0.01823, allocations: 168.5 kB / 384.2 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.723e-05/0.01826, allocations: 31.8 kB / 384.2 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003335/0.0186, allocations: 222 kB / 384.4 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.0186, allocations: 7.938 kB / 384.4 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.0186, allocations: 3.938 kB / 384.4 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.01861, allocations: 0 / 384.4 MB, free: 11.67 MB / 362.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006403/0.01925, allocations: 0.5885 MB / 385 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.01925, allocations: 4 kB / 385 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.169e-05/0.01931, allocations: 27.97 kB / 385 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001736/0.01949, allocations: 71.67 kB / 385.1 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.0195, allocations: 16 kB / 385.1 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001189/0.02069, allocations: 2.168 MB / 387.3 MB, free: 8.621 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.02069, allocations: 0 / 387.3 MB, free: 8.621 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000337/0.02103, allocations: 378.3 kB / 387.7 MB, free: 8.215 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.301e-05/0.02105, allocations: 23.84 kB / 387.7 MB, free: 8.191 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.02107, allocations: 12.03 kB / 387.7 MB, free: 8.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.282e-05/0.02113, allocations: 4 kB / 387.7 MB, free: 8.176 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.02e-05/0.02117, allocations: 15.97 kB / 387.7 MB, free: 8.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.02119, allocations: 8 kB / 387.7 MB, free: 8.152 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.773e-05/0.02126, allocations: 171 kB / 387.9 MB, free: 7.984 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02126, allocations: 0 / 387.9 MB, free: 7.984 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002996/0.02156, allocations: 64 kB / 387.9 MB, free: 7.922 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 9.338e-05/0.02166, allocations: 99.19 kB / 388 MB, free: 7.816 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004417/0.0221, allocations: 357.1 kB / 388.4 MB, free: 7.445 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.0221, allocations: 0 / 388.4 MB, free: 7.445 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002187/0.02232, allocations: 278 kB / 388.7 MB, free: 7.152 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.02257, allocations: 37.06 kB / 388.7 MB, free: 7.117 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009658/0.02354, allocations: 453 kB / 389.1 MB, free: 6.637 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.969e-05/0.02361, allocations: 100.3 kB / 389.2 MB, free: 6.52 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.06e-05/0.02369, allocations: 33.73 kB / 389.3 MB, free: 6.484 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.946e-05/0.02372, allocations: 20.5 kB / 389.3 MB, free: 6.465 MB / 362.7 MB Notification: Performance of SimCode: time 8.41e-07/0.02373, allocations: 4 kB / 389.3 MB, free: 6.461 MB / 362.7 MB Notification: Performance of Templates: time 0.004773/0.0285, allocations: 2.908 MB / 392.2 MB, free: 3.582 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.FixedLoadTest.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:Time,line.i[1],line.i[2],line.p[1],line.p[2],line.v[1],line.v[2] Variables in the result:line.L,line.R,line.i[1],line.i[2],line.i_start[1],line.i_start[2],line.p[1],line.p[2],line.v[1],line.v[2],line.v_start[1],line.v_start[2],load.P,load.phi,load.v_start[1],load.v_start[2],source.V,source.definiteReference,source.potentialReference,system.alpha0,system.dynType,system.f,system.fType,system.f_lim[1],system.f_lim[2],system.f_nom,system.omega_nom,system.refType,system.synRef,system.w_nom,time filterSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.diff.mat", vars={"line.v[1]", "line.p[2]", "line.p[1]"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.FixedLoadTest.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.diff.ref.mat", vars={"line.v[1]", "line.p[2]", "line.p[1]"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.2089152270928025]