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.001043/0.001043, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001239/0.001239, allocations: 174.3 kB / 24.92 MB, free: 8.777 MB / 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.03/1.03, allocations: 177.1 MB / 205.3 MB, free: 5.109 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.263/0.263, allocations: 29.42 MB / 291.2 MB, free: 2.438 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.272e-06/1.272e-06, allocations: 0 / 316.8 MB, free: 44 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.977e-05/2.104e-05, allocations: 3.016 kB / 316.8 MB, free: 40 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.003527/0.003548, allocations: 3.496 MB / 320.3 MB, free: 12.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001355/0.004902, allocations: 1.251 MB / 321.6 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.005017, allocations: 11.88 kB / 321.6 MB, free: 11.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005281/0.005545, allocations: 203.1 kB / 321.8 MB, free: 11.05 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003765/0.005921, allocations: 286.6 kB / 322.1 MB, free: 10.77 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001812/0.006102, allocations: 127.5 kB / 322.2 MB, free: 10.65 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000289/0.006392, allocations: 347.2 kB / 322.5 MB, free: 10.31 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002132/0.006605, allocations: 134.7 kB / 322.7 MB, free: 10.18 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002512/0.006856, allocations: 203.4 kB / 322.9 MB, free: 9.977 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001903/0.007046, allocations: 139.6 kB / 323 MB, free: 9.84 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.007066, allocations: 15.94 kB / 323 MB, free: 9.824 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002488/0.007315, allocations: 267.2 kB / 323.3 MB, free: 9.562 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.007418, allocations: 111.7 kB / 323.4 MB, free: 9.453 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.013e-05/0.007488, allocations: 71.84 kB / 323.5 MB, free: 9.383 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003347/0.007822, allocations: 326.9 kB / 323.8 MB, free: 9.062 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.007825, allocations: 0 / 323.8 MB, free: 9.062 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.007826, allocations: 0 / 323.8 MB, free: 9.062 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.007831, allocations: 0 / 323.8 MB, free: 9.062 MB / 298.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.0004495/0.00828, allocations: 427.2 kB / 324.2 MB, free: 8.621 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.008315, allocations: 11.98 kB / 324.2 MB, free: 8.609 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005195/0.008834, allocations: 144.7 kB / 324.3 MB, free: 8.469 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002269/0.009061, allocations: 223.6 kB / 324.6 MB, free: 8.227 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.009073, allocations: 8.375 kB / 324.6 MB, free: 8.219 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.943e-05/0.009103, allocations: 16.38 kB / 324.6 MB, free: 8.203 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002282/0.009331, allocations: 214 kB / 324.8 MB, free: 7.973 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.009342, allocations: 4.125 kB / 324.8 MB, free: 7.969 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.86e-05/0.009361, allocations: 8.375 kB / 324.8 MB, free: 7.961 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.866e-05/0.009389, allocations: 15.94 kB / 324.8 MB, free: 7.945 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001423/0.009531, allocations: 102.7 kB / 324.9 MB, free: 7.844 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008502/0.01038, allocations: 0.9103 MB / 325.8 MB, free: 6.879 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.01052, allocations: 132.9 kB / 326 MB, free: 6.73 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.544e-05/0.01057, allocations: 37.78 kB / 326 MB, free: 6.688 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.01059, allocations: 4 kB / 326 MB, free: 6.684 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.01061, allocations: 34.55 kB / 326 MB, free: 6.641 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.162e-06/0.01061, allocations: 0 / 326 MB, free: 6.641 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.0006237/0.01124, allocations: 303.9 kB / 326.3 MB, free: 6.336 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/0.01129, allocations: 85.11 kB / 326.4 MB, free: 6.234 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.0114, allocations: 174.5 kB / 326.6 MB, free: 6.051 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.01142, allocations: 33.7 kB / 326.6 MB, free: 6.012 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.99e-05/0.01149, allocations: 152.3 kB / 326.8 MB, free: 5.859 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.733e-05/0.01153, allocations: 59.47 kB / 326.8 MB, free: 5.801 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.271e-05/0.01158, allocations: 41.69 kB / 326.9 MB, free: 5.754 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.939e-05/0.01168, allocations: 326.8 kB / 327.2 MB, free: 5.426 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.299e-05/0.01171, allocations: 26.81 kB / 327.2 MB, free: 5.398 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.728e-05/0.01179, allocations: 93.16 kB / 327.3 MB, free: 5.277 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.01193, allocations: 164.1 kB / 327.5 MB, free: 5.086 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.01193, allocations: 7.938 kB / 327.5 MB, free: 5.078 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002493/0.01218, allocations: 199.8 kB / 327.7 MB, free: 4.871 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.01219, allocations: 10.03 kB / 327.7 MB, free: 4.863 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.0122, allocations: 0 / 327.7 MB, free: 4.863 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002582/0.01246, allocations: 83.59 kB / 327.8 MB, free: 4.777 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.367e-05/0.01254, allocations: 36.14 kB / 327.8 MB, free: 4.742 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001273/0.01382, allocations: 1.677 MB / 329.5 MB, free: 2.969 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.91e-05/0.01387, allocations: 8 kB / 329.5 MB, free: 2.961 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.01389, allocations: 8.031 kB / 329.5 MB, free: 2.953 MB / 298.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 8.268e-05/0.01397, allocations: 128.6 kB / 329.6 MB, free: 2.816 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.556e-05/0.01399, allocations: 19.92 kB / 329.6 MB, free: 2.797 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002377/0.01423, allocations: 181.6 kB / 329.8 MB, free: 2.605 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.01423, allocations: 0 / 329.8 MB, free: 2.605 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.01424, allocations: 4 kB / 329.8 MB, free: 2.602 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.01424, allocations: 0 / 329.8 MB, free: 2.602 MB / 298.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.0004966/0.01474, allocations: 0.5023 MB / 330.3 MB, free: 2.062 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.01474, allocations: 4 kB / 330.3 MB, free: 2.059 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.992e-05/0.01479, allocations: 19.98 kB / 330.3 MB, free: 2.039 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001621/0.01495, allocations: 74.52 kB / 330.4 MB, free: 1.961 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.01496, allocations: 7.984 kB / 330.4 MB, free: 1.953 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009747/0.01594, allocations: 1.596 MB / 332 MB, free: 268 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.01594, allocations: 0 / 332 MB, free: 268 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00028/0.01622, allocations: 324.1 kB / 332.3 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.953e-05/0.01624, allocations: 23.78 kB / 332.4 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.01626, allocations: 11.92 kB / 332.4 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.702e-05/0.01632, allocations: 4 kB / 332.4 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.917e-05/0.01635, allocations: 23.91 kB / 332.4 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.01636, allocations: 4 kB / 332.4 MB, free: 15.85 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.351e-05/0.0164, allocations: 40.84 kB / 332.4 MB, free: 15.8 MB / 314.7 MB Notification: Performance of sort global known variables: time 2e-08/0.0164, allocations: 0 / 332.4 MB, free: 15.8 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002377/0.01664, allocations: 68 kB / 332.5 MB, free: 15.74 MB / 314.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.171e-05/0.01673, allocations: 80.45 kB / 332.6 MB, free: 15.65 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003217/0.01705, allocations: 263.8 kB / 332.8 MB, free: 15.38 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.01705, allocations: 0 / 332.8 MB, free: 15.38 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001621/0.01721, allocations: 207.2 kB / 333 MB, free: 15.16 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001969/0.01741, allocations: 42.88 kB / 333.1 MB, free: 15.12 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007756/0.01819, allocations: 452.6 kB / 333.5 MB, free: 14.64 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.147e-05/0.01825, allocations: 100.3 kB / 333.6 MB, free: 14.52 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.825e-05/0.0183, allocations: 17.64 kB / 333.6 MB, free: 14.5 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.266e-05/0.01837, allocations: 75.36 kB / 333.7 MB, free: 14.43 MB / 314.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01837, allocations: 0 / 333.7 MB, free: 14.43 MB / 314.7 MB Notification: Performance of Templates: time 0.004731/0.0231, allocations: 3.033 MB / 336.7 MB, free: 11.43 MB / 314.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.1418651496060193]