Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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.0009466/0.0009466, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001442/0.002389, allocations: 449.8 kB / 10.44 MB, free: 252 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.0006834/0.0006834, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008854/0.001569, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9636/0.9636, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09226/1.056, allocations: 53.65 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1131/0.1131, allocations: 29.44 MB / 273.6 MB, free: 1.398 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1379/0.251, allocations: 9.545 MB / 283.2 MB, free: 12.8 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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.AC3ph.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="sensor.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") translateModel(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="sensor.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 284.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.831e-05/1.965e-05, allocations: 4.172 kB / 284.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.004539/0.004559, allocations: 4.459 MB / 288.9 MB, free: 8.332 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001797/0.006356, allocations: 1.271 MB / 290.2 MB, free: 7.34 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001719/0.006528, allocations: 25.38 kB / 290.2 MB, free: 7.324 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006813/0.007209, allocations: 368 kB / 290.6 MB, free: 7.055 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000395/0.007604, allocations: 259.6 kB / 290.8 MB, free: 6.844 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003614/0.007965, allocations: 185.4 kB / 291 MB, free: 6.703 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004739/0.008439, allocations: 0.5776 MB / 291.6 MB, free: 6.387 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003401/0.008779, allocations: 271.2 kB / 291.8 MB, free: 6.234 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005036/0.009283, allocations: 431.9 kB / 292.3 MB, free: 5.992 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002732/0.009556, allocations: 228.9 kB / 292.5 MB, free: 5.867 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.663e-05/0.009603, allocations: 30.03 kB / 292.5 MB, free: 5.867 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002586/0.009861, allocations: 135.2 kB / 292.6 MB, free: 5.809 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001552/0.01002, allocations: 183.9 kB / 292.8 MB, free: 5.727 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001227/0.01014, allocations: 132.8 kB / 293 MB, free: 5.707 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004199/0.01056, allocations: 364.1 kB / 293.3 MB, free: 5.539 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.18e-05/0.01057, allocations: 0 / 293.3 MB, free: 5.539 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.01057, allocations: 2.812 kB / 293.3 MB, free: 5.539 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.238e-05/0.01058, allocations: 0 / 293.3 MB, free: 5.539 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0007814/0.01137, allocations: 0.7283 MB / 294 MB, free: 5.016 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.0114, allocations: 8.531 kB / 294.1 MB, free: 5.016 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004385/0.01184, allocations: 189.3 kB / 294.2 MB, free: 4.848 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003459/0.01218, allocations: 316.3 kB / 294.5 MB, free: 4.516 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.0122, allocations: 29.38 kB / 294.6 MB, free: 4.488 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.652e-05/0.01229, allocations: 48.62 kB / 294.6 MB, free: 4.441 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003084/0.0126, allocations: 311.8 kB / 294.9 MB, free: 4.113 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.01261, allocations: 3.938 kB / 294.9 MB, free: 4.109 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.241e-05/0.01263, allocations: 15.98 kB / 294.9 MB, free: 4.094 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.065e-05/0.01269, allocations: 32.92 kB / 295 MB, free: 4.062 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.01283, allocations: 110.9 kB / 295.1 MB, free: 3.953 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001095/0.01393, allocations: 1.16 MB / 296.2 MB, free: 2.738 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.01408, allocations: 96 kB / 296.3 MB, free: 2.625 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.982e-05/0.01413, allocations: 45.95 kB / 296.4 MB, free: 2.574 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.01414, allocations: 7.906 kB / 296.4 MB, free: 2.566 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.01416, allocations: 34.56 kB / 296.4 MB, free: 2.523 MB / 282.7 MB Notification: Performance of pre-optimization done (n=19): time 2.124e-06/0.01417, allocations: 0 / 296.4 MB, free: 2.523 MB / 282.7 MB Notification: Performance of matching and sorting (n=20): time 0.0005853/0.01475, allocations: 389.1 kB / 296.8 MB, free: 2.113 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.01479, allocations: 85.05 kB / 296.9 MB, free: 2.012 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.01493, allocations: 278.8 kB / 297.2 MB, free: 1.727 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.01495, allocations: 25.7 kB / 297.2 MB, free: 1.695 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.929e-05/0.01504, allocations: 232.5 kB / 297.4 MB, free: 1.465 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.722e-05/0.01508, allocations: 71.38 kB / 297.5 MB, free: 1.395 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.148e-05/0.01514, allocations: 69.36 kB / 297.6 MB, free: 1.32 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.965e-05/0.01522, allocations: 342.8 kB / 297.9 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.464e-05/0.01525, allocations: 23.98 kB / 297.9 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.465e-05/0.01534, allocations: 145.4 kB / 298.1 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001937/0.01553, allocations: 212.2 kB / 298.3 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.01553, allocations: 0 / 298.3 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002833/0.01582, allocations: 235.8 kB / 298.5 MB, free: 272 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.01583, allocations: 4.438 kB / 298.5 MB, free: 268 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.01583, allocations: 8 kB / 298.5 MB, free: 260 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002192/0.01605, allocations: 63.62 kB / 298.6 MB, free: 192 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.01623, allocations: 77.66 kB / 298.6 MB, free: 116 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008032/0.01703, allocations: 1.288 MB / 299.9 MB, free: 14.72 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.936e-05/0.01712, allocations: 15.94 kB / 299.9 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.01713, allocations: 12 kB / 300 MB, free: 14.69 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (34): * Single equations (assignments): 33 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.58e-05/0.01723, allocations: 136.5 kB / 300.1 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.234e-05/0.01726, allocations: 23.98 kB / 300.1 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001638/0.01742, allocations: 156.5 kB / 300.3 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.01743, allocations: 4 kB / 300.3 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.01743, allocations: 0 / 300.3 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.01743, allocations: 0 / 300.3 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004806/0.01791, allocations: 416.1 kB / 300.7 MB, free: 13.92 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.01792, allocations: 3.938 kB / 300.7 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001791/0.0181, allocations: 71.95 kB / 300.7 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.488e-05/0.01812, allocations: 27.81 kB / 300.8 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.01812, allocations: 0 / 300.8 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.01814, allocations: 8 kB / 300.8 MB, free: 13.81 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.01814, allocations: 3.984 kB / 300.8 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.01814, allocations: 4 kB / 300.8 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001965/0.01834, allocations: 275.1 kB / 301.1 MB, free: 13.51 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.484e-05/0.01836, allocations: 11.94 kB / 301.1 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.248e-05/0.01843, allocations: 11.94 kB / 301.1 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.285e-05/0.01846, allocations: 15.91 kB / 301.1 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.01847, allocations: 12 kB / 301.1 MB, free: 13.46 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.431e-05/0.01853, allocations: 96.62 kB / 301.2 MB, free: 13.36 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01853, allocations: 0 / 301.2 MB, free: 13.36 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002205/0.01875, allocations: 88 kB / 301.3 MB, free: 13.28 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.499e-05/0.01885, allocations: 93.47 kB / 301.4 MB, free: 13.18 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002792/0.01913, allocations: 265.5 kB / 301.6 MB, free: 12.91 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.086e-05/0.01914, allocations: 4 kB / 301.6 MB, free: 12.91 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.552e-05/0.01921, allocations: 72.7 kB / 301.7 MB, free: 12.83 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004999/0.01971, allocations: 0.6252 MB / 302.3 MB, free: 12.09 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006111/0.02582, allocations: 0.7866 MB / 303.1 MB, free: 11.27 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.068e-05/0.02591, allocations: 132.6 kB / 303.3 MB, free: 11.12 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000125/0.02604, allocations: 43.08 kB / 303.3 MB, free: 11.08 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001407/0.02618, allocations: 103.3 kB / 303.4 MB, free: 10.98 MB / 298.7 MB Notification: Performance of SimCode: time 1.423e-06/0.02618, allocations: 7.938 kB / 303.4 MB, free: 10.97 MB / 298.7 MB Notification: Performance of Templates: time 0.006407/0.03259, allocations: 3.898 MB / 307.3 MB, free: 7.168 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.mat","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7780514089390635]